aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/misc/Modifier.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-01-03 10:39:50 +0100
committer GitHub <noreply@github.com>2024-01-03 10:39:50 +0100
commita649ccb74bd6ab0b62d26e870dfd509cc8f92b1d (patch)
tree5e73f0930d45d789e899601cfcecce094bbba42b /src/openvic-simulation/misc/Modifier.cpp
parent143a422bc1c27e6d1ebf7e3ead32fff32877797e (diff)
parente067471f55cd11c6cd86920f9486991d6b552726 (diff)
Merge pull request #116 from OpenVicProject/rule-rework
Mutually exclusive rule groups + modded building rules
Diffstat (limited to 'src/openvic-simulation/misc/Modifier.cpp')
-rw-r--r--src/openvic-simulation/misc/Modifier.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/openvic-simulation/misc/Modifier.cpp b/src/openvic-simulation/misc/Modifier.cpp
index bbc8f59..ca4c950 100644
--- a/src/openvic-simulation/misc/Modifier.cpp
+++ b/src/openvic-simulation/misc/Modifier.cpp
@@ -111,6 +111,9 @@ bool ModifierManager::setup_modifier_effects() {
/* Country Modifier Effects */
ret &= add_modifier_effect("administrative_efficiency", true);
ret &= add_modifier_effect("administrative_efficiency_modifier", true);
+ ret &= add_modifier_effect("artisan_input", false);
+ ret &= add_modifier_effect("artisan_output", true);
+ ret &= add_modifier_effect("artisan_throughput", true);
ret &= add_modifier_effect("badboy", false, RAW_DECIMAL);
ret &= add_modifier_effect("cb_creation_speed", true); //seemingly works the same way as cb_generation_speed_modifier
ret &= add_modifier_effect("cb_generation_speed_modifier", true);
@@ -127,6 +130,7 @@ bool ModifierManager::setup_modifier_effects() {
ret &= add_modifier_effect("education_efficiency_modifier", true);
ret &= add_modifier_effect("factory_cost", false);
ret &= add_modifier_effect("factory_input", false);
+ ret &= add_modifier_effect("factory_maintenance", false);
ret &= add_modifier_effect("factory_output", true);
ret &= add_modifier_effect("factory_owner_cost", false);
ret &= add_modifier_effect("factory_throughput", true);
@@ -226,10 +230,10 @@ bool ModifierManager::setup_modifier_effects() {
ret &= add_modifier_effect("immigrant_attract", true);
ret &= add_modifier_effect("immigrant_push", false);
ret &= add_modifier_effect("life_rating", true);
- ret &= add_modifier_effect("local_artisan_input", true);
+ ret &= add_modifier_effect("local_artisan_input", false);
ret &= add_modifier_effect("local_artisan_output", true);
ret &= add_modifier_effect("local_artisan_throughput", true);
- ret &= add_modifier_effect("local_factory_input", true);
+ ret &= add_modifier_effect("local_factory_input", false);
ret &= add_modifier_effect("local_factory_output", true);
ret &= add_modifier_effect("local_factory_throughput", true);
ret &= add_modifier_effect("local_repair", true);