Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Remove STATE scope and start implementing special condition parsing cases | hop311 | 6 days | -95/+383 |
| | ||||
* | Add more condition parsing callbacks | hop311 | 6 days | -65/+357 |
| | ||||
* | more condition parsing work, skipped some which need a multi type helper ↵ | hop311 | 6 days | -27/+154 |
| | | | | function | |||
* | tmp | Hop311 | 6 days | -17/+115 |
| | ||||
* | tmp | hop311 | 6 days | -210/+573 |
| | ||||
* | (WIP) Register conditions with parse and execute callbacks | hop311 | 6 days | -10/+1416 |
| | ||||
* | Create basic condition script parsing and execution framework | hop311 | 6 days | -873/+314 |
| | ||||
* | Merge pull request #229 from OpenVicProject/artisan_modifiers_no_effectHEADmaster | wvpm | 6 days | -5/+6 |
|\ | | | | | artisan_goods_ modifiers have no effect | |||
| * | artisan_goods_ modifiers have no effectartisan_modifiers_no_effect | wvpm | 11 days | -5/+6 |
| | | ||||
* | | Remove unused (and inaccurate) fixed point memberscleanup_fixedpoint | wvpm | 6 days | -94/+6 |
|/ | ||||
* | Add IndexedMap::mapping_type alias for easier interchangeability with ↵ | hop311 | 2024-11-01 | -0/+1 |
| | | | | ordered_maps | |||
* | Merge pull request #222 from OpenVicProject/defines-variables | Hop311 | 2024-10-31 | -375/+2559 |
|\ | | | | | Load defines directly into named and typed variables rather than using an IdentifierRegistry | |||
| * | Load defines directly into named and typed variables rather than using an ↵defines-variables | hop311 | 2024-10-31 | -375/+2559 |
| | | | | | | | | IdentifierRegistry | |||
* | | Merge pull request #218 from OpenVicProject/condition-scripts-prep-work | Hop311 | 2024-10-31 | -127/+251 |
|\ \ | | | | | | | Condition scripts prep work | |||
| * | | Finish ConditionalWeight base key parsing (including days/months/years) | hop311 | 2024-10-31 | -19/+98 |
| | | | ||||
| * | | Rename `scope_t` enum to `scope_type_t` | hop311 | 2024-10-29 | -108/+153 |
| | | | ||||
* | | | Correct rgo size calcuation | wvpm | 2024-10-31 | -4/+24 |
| |/ |/| | ||||
* | | Use normal const for fixed_point_tcleanup_const& | wvpm | 2024-10-30 | -6/+6 |
| | | ||||
* | | Implement rgo for new gameprepare_for_rgo | wvpm | 2024-10-30 | -143/+712 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Map province history rgo to production type for province instance output_goods back to ZERO_OR_ONE Link trade_goods in history to RGO instance for province. Other producer types as structs instead of classes Convert pops to equivalents & calculate rgo size Also convert pops when changing rgo Clean up Refactored RGO into part of ProvinceInstance ProductionType const& output_good Remove unused imports Clean up unused imports Restore constructor for ResourceGatheringOperation to initialise from savegame Move rgo size calculation to rgo Use terrain modifiers to calculate rgo size (placeholder code) Clean up Basic production & sales for rgo when initialising new game Use mutable pops Paychecks for owners, workers and slaves Clean up Simplify rgo instantiation Co-authored-by: Hop311 <Hop3114@gmail.com> Simplify good_to_rgo_production_type assignment Co-authored-by: Hop311 <Hop3114@gmail.com> Fix import Co-authored-by: Hop311 <Hop3114@gmail.com> min(3, great_powers.size()) Co-authored-by: Hop311 <Hop3114@gmail.com> Fix import Co-authored-by: Hop311 <Hop3114@gmail.com> Apply comments Log errors and return result when applying history Cleanup | |||
* | | Always apply pop historyalways_apply_pop_history | wvpm | 2024-10-30 | -6/+9 |
|/ | ||||
* | Merge pull request #215 from OpenVicProject/movement_cost | wvpm | 2024-10-29 | -17/+3 |
|\ | | | | | movement_cost is a province modifier | |||
| * | movement_cost is a province modifiermovement_cost | wvpm | 2024-10-29 | -17/+3 |
| | | ||||
* | | Merge pull request #216 from OpenVicProject/attrition_local_modifier | wvpm | 2024-10-29 | -3/+6 |
|\ \ | | | | | | | Support attrition modifier from terrain | |||
| * | | Support attrition modifier from terrainattrition_local_modifier | wvpm | 2024-10-29 | -3/+6 |
| |/ | ||||
* / | Allow unit icon to be 0allow_unit_icon_0 | wvpm | 2024-10-29 | -2/+2 |
|/ | ||||
* | Provinces contribute modifiers to controller, not ownerprovinces_contribute_to_controller_not_owner | wvpm | 2024-10-28 | -3/+3 |
| | ||||
* | contextual modifier parsingcontextual_modifier_parsing | wvpm | 2024-10-26 | -930/+988 |
| | ||||
* | Change default `excluded_targets` argument for ↵modifier-excluded-targets-fix | hop311 | 2024-10-20 | -2/+2 |
| | | | | `ModifierSum::add_modifier[_nullcheck]` from `ALL_TARGETS` to `NO_TARGETS` | |||
* | Add modifier effect variants based on the type of modifier being parsedresultant-modifier | hop311 | 2024-10-19 | -25/+171 |
| | ||||
* | Require modifier type when parsing ModifierValues | hop311 | 2024-10-19 | -68/+222 |
| | ||||
* | Switch to excluding given modifier effect targets rather than using a ↵ | hop311 | 2024-10-19 | -38/+133 |
| | | | | positive filter | |||
* | Move ModifierManager to its own files | hop311 | 2024-10-19 | -835/+864 |
| | ||||
* | Add alternative modifier calculation (keeping country modifiers out of their ↵ | hop311 | 2024-10-06 | -24/+142 |
| | | | | owned provinces' modifier sums) | |||
* | Add supply_consumption and mobilization_impact modifier effect check examples | hop311 | 2024-10-05 | -12/+29 |
| | ||||
* | Cache modifier effects in dedicated variables | hop311 | 2024-10-05 | -228/+1015 |
| | ||||
* | Move ModifierEffect and ModifierValue into their own files | hop311 | 2024-10-05 | -265/+308 |
| | ||||
* | Calculate country and province resultant modifier sums | hop311 | 2024-10-05 | -60/+264 |
| | ||||
* | Add nullcheck fuction variants accepting pointer arguments to ModifierValue ↵ | hop311 | 2024-10-05 | -0/+30 |
| | | | | and ModifierSum | |||
* | Add ModifierEffect targets | hop311 | 2024-10-05 | -182/+273 |
| | ||||
* | Make ModifierEffect format argument mandatory | hop311 | 2024-10-05 | -56/+56 |
| | ||||
* | Cache static modifiers in dedicated variables | hop311 | 2024-10-05 | -1/+187 |
| | ||||
* | Store sources in ModifierSum | hop311 | 2024-10-05 | -29/+33 |
| | ||||
* | Added support for remove_culture custom instructionremove-culture | zaaarf | 2024-09-27 | -6/+38 |
| | ||||
* | Optimisationrivers | BrickPi | 2024-09-21 | -14/+31 |
| | ||||
* | Simulation Side Rivers | BrickPi | 2024-09-21 | -11/+223 |
| | ||||
* | Add modifier type enummodifier-types | hop311 | 2024-09-20 | -40/+146 |
| | ||||
* | Store national focus encouragement in specific variables rather than ↵ | hop311 | 2024-09-20 | -27/+57 |
| | | | | modifier effects | |||
* | Fix unit modifier localisation | hop311 | 2024-09-20 | -20/+20 |
| | ||||
* | Add ModifierSum and improve ModifierValue and RuleSet | hop311 | 2024-09-20 | -56/+170 |
| | ||||
* | Rearrange modifier files | hop311 | 2024-09-20 | -16/+14 |
| |