aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-01-14 16:18:04 +0100
committer GitHub <noreply@github.com>2024-01-14 16:18:04 +0100
commitb5783116f67c9f7aa9d8d9653e6bda0227f67cd2 (patch)
tree87f2f994a53faac01185ba844f4af1c5a522f66a
parent2fcc7ccd409701f6bad343e57afe74bd05246b68 (diff)
parent4b088897512d8fa987f9a06c14495ba3ebc49398 (diff)
Merge pull request #130 from OpenVicProject/need_modifiers_do_something
<strata>_<need>_needs do have effect
-rw-r--r--src/openvic-simulation/misc/Modifier.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/openvic-simulation/misc/Modifier.cpp b/src/openvic-simulation/misc/Modifier.cpp
index b0dc1cf..6f6deda 100644
--- a/src/openvic-simulation/misc/Modifier.cpp
+++ b/src/openvic-simulation/misc/Modifier.cpp
@@ -371,11 +371,9 @@ key_value_callback_t ModifierManager::_modifier_effect_callback(
if (effect_validator(*effect)) {
static const case_insensitive_string_set_t no_effect_modifiers {
- "boost_strongest_party", "poor_savings_modifier", "poor_life_needs", "poor_everyday_needs",
- "poor_luxury_needs", "middle_life_needs", "middle_everyday_needs", "middle_luxury_needs",
- "rich_life_needs", "rich_everyday_needs", "rich_luxury_needs", "local_artisan_input",
- "local_artisan_throughput", "local_artisan_output", "artisan_input", "artisan_throughput",
- "artisan_output", "import_cost", "unciv_economic_modifier", "unciv_military_modifier"
+ "boost_strongest_party", "poor_savings_modifier", "local_artisan_input", "local_artisan_throughput",
+ "local_artisan_output", "artisan_input", "artisan_throughput", "artisan_output",
+ "import_cost", "unciv_economic_modifier", "unciv_military_modifier"
};
if (no_effect_modifiers.contains(effect->get_identifier())) {
Logger::warning("This modifier does nothing: ", effect->get_identifier());