diff options
author | zaaarf <zaaarf@proton.me> | 2023-10-03 15:51:45 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-10-22 00:03:36 +0200 |
commit | 51583b66feb1d13b285bb2e9c05364659c854130 (patch) | |
tree | 150dc88dd897a1072902dd00f58f122382ec8e9f /src/openvic-simulation/misc | |
parent | 0de3d5849cfb9faad0e3c8ce10a8152a916bba21 (diff) |
feat: implemented basic technology and school loading (modifier processing is still missing)
Diffstat (limited to 'src/openvic-simulation/misc')
-rw-r--r-- | src/openvic-simulation/misc/Modifier.cpp | 1 | ||||
-rw-r--r-- | src/openvic-simulation/misc/Modifier.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/misc/Modifier.cpp b/src/openvic-simulation/misc/Modifier.cpp index 89a411c..f46718a 100644 --- a/src/openvic-simulation/misc/Modifier.cpp +++ b/src/openvic-simulation/misc/Modifier.cpp @@ -185,6 +185,7 @@ bool ModifierManager::setup_modifier_effects() { // TODO: make technology group modifiers dynamic ret &= add_modifier_effect("army_tech_research_bonus", true); + ret &= add_modifier_effect("navy_tech_research_bonus", true); ret &= add_modifier_effect("commerce_tech_research_bonus", true); ret &= add_modifier_effect("culture_tech_research_bonus", true); ret &= add_modifier_effect("industry_tech_research_bonus", true); diff --git a/src/openvic-simulation/misc/Modifier.hpp b/src/openvic-simulation/misc/Modifier.hpp index c1c532a..74f0336 100644 --- a/src/openvic-simulation/misc/Modifier.hpp +++ b/src/openvic-simulation/misc/Modifier.hpp @@ -72,6 +72,7 @@ namespace OpenVic { /* A modifier can have no icon (zero). */ const icon_t PROPERTY(icon); + protected: Modifier(std::string_view new_identifier, ModifierValue&& new_values, icon_t new_icon); public: |