aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/GoodDefinition.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-09-20 22:44:48 +0200
committer hop311 <hop3114@gmail.com>2024-09-20 22:44:48 +0200
commit118570dc7cf9ae9daf324c2aaba5a5d86fb2c330 (patch)
tree71bf13dad720ad8adb90a9824e7cf0fe08d4e3af /src/openvic-simulation/economy/GoodDefinition.cpp
parentb68a21c773af4d53343ad8c2b732943a7d13608f (diff)
Store national focus encouragement in specific variables rather than modifier effects
Diffstat (limited to 'src/openvic-simulation/economy/GoodDefinition.cpp')
-rw-r--r--src/openvic-simulation/economy/GoodDefinition.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/openvic-simulation/economy/GoodDefinition.cpp b/src/openvic-simulation/economy/GoodDefinition.cpp
index 82d3719..ed24549 100644
--- a/src/openvic-simulation/economy/GoodDefinition.cpp
+++ b/src/openvic-simulation/economy/GoodDefinition.cpp
@@ -123,12 +123,5 @@ bool GoodDefinitionManager::generate_modifiers(ModifierManager& modifier_manager
return StringUtils::append_string_views(good_identifier, "_RGO_SIZE");
});
- for (GoodDefinition const& good : get_good_definitions()) {
- ret &= modifier_manager.add_modifier_effect(
- good.get_identifier(), true, PERCENTAGE_DECIMAL,
- StringUtils::append_string_views("$ENCOURAGEMENT_FOR$$", good.get_identifier(), "$")
- );
- }
-
return ret;
}