diff options
author | Hop311 <Hop3114@gmail.com> | 2024-01-07 22:43:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 22:43:14 +0100 |
commit | 400469f08f10ffd044d9948c3f0db340c8a60db0 (patch) | |
tree | a7cf192c714aa5553a244d7b16c04f833b626cb6 /src/openvic-simulation/politics | |
parent | 004abc9951d0a20d09027cde1d9b5b02bcc99fa0 (diff) | |
parent | 34d9e9318387f2b2a0ae924a512f352540b84e07 (diff) |
Merge pull request #122 from OpenVicProject/more-impassable-adjacencies
More impassable adjacencies + WVPM mod fixes
Diffstat (limited to 'src/openvic-simulation/politics')
-rw-r--r-- | src/openvic-simulation/politics/Rebel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/politics/Rebel.cpp b/src/openvic-simulation/politics/Rebel.cpp index ca8e945..9f8b6c4 100644 --- a/src/openvic-simulation/politics/Rebel.cpp +++ b/src/openvic-simulation/politics/Rebel.cpp @@ -96,8 +96,8 @@ bool RebelManager::load_rebels_file( RebelType::icon_t icon = 0; RebelType::area_t area = RebelType::area_t::ALL; RebelType::government_map_t desired_governments; - RebelType::defection_t defection = RebelType::defection_t::ANY; - RebelType::independence_t independence = RebelType::independence_t::ANY; + RebelType::defection_t defection = RebelType::defection_t::NONE; + RebelType::independence_t independence = RebelType::independence_t::NONE; uint16_t defect_delay = 0; Ideology const* ideology = nullptr; bool break_alliance_on_win = false, allow_all_cultures = true, allow_all_culture_groups = true, @@ -127,9 +127,9 @@ bool RebelManager::load_rebels_file( )(value); } ), - "defection", ONE_EXACTLY, + "defection", ZERO_OR_ONE, expect_identifier(expect_mapped_string(defection_map, assign_variable_callback(defection))), - "independence", ONE_EXACTLY, + "independence", ZERO_OR_ONE, expect_identifier(expect_mapped_string(independence_map, assign_variable_callback(independence))), "defect_delay", ONE_EXACTLY, expect_uint(assign_variable_callback(defect_delay)), "ideology", ZERO_OR_ONE, |