diff options
author | hop311 <hop3114@gmail.com> | 2024-09-07 00:07:27 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-09-08 18:24:57 +0200 |
commit | 16349d6cad05497f983b1da123b6284ecfddd638 (patch) | |
tree | b22020c1221adc6633599a1ad53bf73bb62db0ad /src/openvic-simulation/misc/Define.cpp | |
parent | b5407c8794c4626d010bd0856a146095daa1042d (diff) |
Calculate country industrial power (states still need factory data)
Diffstat (limited to 'src/openvic-simulation/misc/Define.cpp')
-rw-r--r-- | src/openvic-simulation/misc/Define.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic-simulation/misc/Define.cpp b/src/openvic-simulation/misc/Define.cpp index 2437954..015ebaa 100644 --- a/src/openvic-simulation/misc/Define.cpp +++ b/src/openvic-simulation/misc/Define.cpp @@ -155,7 +155,8 @@ DefineManager::DefineManager() // Country great_power_rank { 8 }, lose_great_power_grace_days { Timespan::from_years(1) }, - secondary_power_rank { 16 } + secondary_power_rank { 16 }, + country_investment_industrial_score_factor { 1 } // Economy @@ -237,6 +238,7 @@ bool DefineManager::load_defines_file(ast::NodeCPtr root) { ret &= load_define(great_power_rank, Country, "GREAT_NATIONS_COUNT"); ret &= load_define_days(lose_great_power_grace_days, Country, "GREATNESS_DAYS"); ret &= load_define(secondary_power_rank, Country, "COLONIAL_RANK"); + ret &= load_define(country_investment_industrial_score_factor, Country, "INVESTMENT_SCORE_FACTOR"); // Economy |