aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/modifier/ModifierEffectCache.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-10-19 12:43:15 +0200
committer hop311 <hop3114@gmail.com>2024-10-19 12:44:53 +0200
commit5194a3d043db66b81470111a94f3b1cdf8d42176 (patch)
treeaca829171be7b1144cb3ca29510593fa8a84af24 /src/openvic-simulation/modifier/ModifierEffectCache.cpp
parent572ac597d8b43c4c97be4b68aa40de0e7ae6bfe0 (diff)
Add modifier effect variants based on the type of modifier being parsedresultant-modifier
Diffstat (limited to 'src/openvic-simulation/modifier/ModifierEffectCache.cpp')
-rw-r--r--src/openvic-simulation/modifier/ModifierEffectCache.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/openvic-simulation/modifier/ModifierEffectCache.cpp b/src/openvic-simulation/modifier/ModifierEffectCache.cpp
index b5d8a31..9653d23 100644
--- a/src/openvic-simulation/modifier/ModifierEffectCache.cpp
+++ b/src/openvic-simulation/modifier/ModifierEffectCache.cpp
@@ -58,9 +58,10 @@ ModifierEffectCache::strata_effects_t::strata_effects_t()
ModifierEffectCache::ModifierEffectCache()
: /* Tech/inventions only */
cb_creation_speed { nullptr },
- combat_width { nullptr },
+ combat_width_additive { nullptr },
plurality { nullptr },
pop_growth { nullptr },
+ prestige_gain_multiplier { nullptr },
regular_experience_level { nullptr },
reinforce_rate { nullptr },
separatism { nullptr },
@@ -141,7 +142,7 @@ ModifierEffectCache::ModifierEffectCache()
permanent_prestige { nullptr },
political_reform_desire { nullptr },
poor_savings_modifier { nullptr },
- prestige { nullptr },
+ prestige_monthly_gain { nullptr },
reinforce_speed { nullptr },
research_points { nullptr },
research_points_modifier { nullptr },
@@ -167,6 +168,8 @@ ModifierEffectCache::ModifierEffectCache()
/* Province Modifier Effects */
assimilation_rate { nullptr },
boost_strongest_party { nullptr },
+ combat_width_percentage_change { nullptr },
+ defence_terrain { nullptr },
farm_rgo_eff { nullptr },
farm_rgo_size { nullptr },
immigrant_attract { nullptr },
@@ -186,7 +189,8 @@ ModifierEffectCache::ModifierEffectCache()
max_attrition { nullptr },
mine_rgo_eff { nullptr },
mine_rgo_size { nullptr },
- movement_cost { nullptr },
+ movement_cost_base { nullptr },
+ movement_cost_percentage_change { nullptr },
number_of_voters { nullptr },
pop_consciousness_modifier { nullptr },
pop_militancy_modifier { nullptr },
@@ -196,7 +200,7 @@ ModifierEffectCache::ModifierEffectCache()
/* Military Modifier Effects */
attack { nullptr },
attrition { nullptr },
- defence { nullptr },
+ defence_leader { nullptr },
experience { nullptr },
morale { nullptr },
organisation { nullptr },