aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/Modifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/Modifier.cpp')
-rw-r--r--src/openvic-simulation/Modifier.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/openvic-simulation/Modifier.cpp b/src/openvic-simulation/Modifier.cpp
index fc5dcaf..97ddd8f 100644
--- a/src/openvic-simulation/Modifier.cpp
+++ b/src/openvic-simulation/Modifier.cpp
@@ -123,6 +123,17 @@ bool ModifierManager::setup_modifier_effects() {
using enum ModifierEffect::format_t;
+ /* LEADER TRAIT MODIFIERS */
+ ret &= add_modifier_effect("attack", true, INT);
+ ret &= add_modifier_effect("defence", true, INT);
+ ret &= add_modifier_effect("reliability", true, RAW_DECIMAL);
+ ret &= add_modifier_effect("morale", true);
+ ret &= add_modifier_effect("organisation", true);
+ ret &= add_modifier_effect("speed", true);
+ ret &= add_modifier_effect("reconnaissance", true);
+ ret &= add_modifier_effect("experience", true);
+ ret &= add_modifier_effect("attrition", false, RAW_DECIMAL);
+ /* MISCELLANEOUS MODIFIERS */
ret &= add_modifier_effect("movement_cost", false);
ret &= add_modifier_effect("farm_rgo_size", true);
ret &= add_modifier_effect("farm_rgo_eff", true);
@@ -130,11 +141,9 @@ bool ModifierManager::setup_modifier_effects() {
ret &= add_modifier_effect("mine_rgo_eff", true);
ret &= add_modifier_effect("supply_limit", true, RAW_DECIMAL);
ret &= add_modifier_effect("combat_width", false);
- ret &= add_modifier_effect("defence", true, RAW_DECIMAL);
ret &= add_modifier_effect("local_ship_build", false);
ret &= add_modifier_effect("research_points_modifier", true);
ret &= add_modifier_effect("local_rgo_output", true);
- ret &= add_modifier_effect("attrition", false, RAW_DECIMAL);
ret &= add_modifier_effect("immigrant_push", false);
ret &= add_modifier_effect("population_growth", true);
ret &= add_modifier_effect("local_RGO_throughput", true);