diff options
author | hop311 <hop3114@gmail.com> | 2024-11-08 23:58:14 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-11-08 23:58:14 +0100 |
commit | 5c8a37a7d1e48d0a746aa3b9a183f6008ccfa7b9 (patch) | |
tree | 58037742a97584fca121bd04bbba00f04424580d /src/openvic-simulation/military/Wargoal.cpp | |
parent | 1ec2f1c449920aceba64597ac15b618525732ba3 (diff) |
Remove STATE scope and start implementing special condition parsing cases
Diffstat (limited to 'src/openvic-simulation/military/Wargoal.cpp')
-rw-r--r-- | src/openvic-simulation/military/Wargoal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvic-simulation/military/Wargoal.cpp b/src/openvic-simulation/military/Wargoal.cpp index ce6b153..a465722 100644 --- a/src/openvic-simulation/military/Wargoal.cpp +++ b/src/openvic-simulation/military/Wargoal.cpp @@ -97,9 +97,9 @@ bool WargoalTypeManager::load_wargoal_file(ovdl::v2script::Parser const& parser) WargoalType::peace_modifiers_t modifiers; ConditionScript can_use { COUNTRY, COUNTRY, COUNTRY }; ConditionScript is_valid { COUNTRY, COUNTRY, COUNTRY }; - ConditionScript allowed_states { STATE, COUNTRY, COUNTRY }; - ConditionScript allowed_substate_regions { STATE, COUNTRY, COUNTRY }; - ConditionScript allowed_states_in_crisis { STATE, COUNTRY, COUNTRY }; + ConditionScript allowed_states { PROVINCE, COUNTRY, COUNTRY }; + ConditionScript allowed_substate_regions { PROVINCE, COUNTRY, COUNTRY }; + ConditionScript allowed_states_in_crisis { PROVINCE, COUNTRY, COUNTRY }; ConditionScript allowed_countries { COUNTRY, COUNTRY, COUNTRY }; EffectScript on_add, on_po_accepted; //country as default scope for both |