From 518ab7b436dcaa2e93eb06cdf9b1e0d17b2113ff Mon Sep 17 00:00:00 2001 From: hop311 Date: Fri, 12 Jan 2024 19:28:03 +0000 Subject: Added NationalFocus ModifierEffects + bool variables --- src/openvic-simulation/pop/Pop.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/openvic-simulation/pop') diff --git a/src/openvic-simulation/pop/Pop.cpp b/src/openvic-simulation/pop/Pop.cpp index 0c70842..d15bd2e 100644 --- a/src/openvic-simulation/pop/Pop.cpp +++ b/src/openvic-simulation/pop/Pop.cpp @@ -334,6 +334,11 @@ bool PopManager::generate_modifiers(ModifierManager& modifier_manager) const { strata_modifier("_everyday_needs", false); strata_modifier("_luxury_needs", false); } + + for (PopType const& pop_type : get_pop_types()) { + ret &= modifier_manager.add_modifier_effect(pop_type.get_identifier(), true); + } + return ret; } -- cgit v1.2.3-56-ga3b1