cmp_inv_resolve_marked_effect = { clear_saved_scope = cmp_inv_marked random_country = { limit = { has_variable = sakuya_mark_country_target } save_scope_as = cmp_inv_marked } }
cmp_inv_select_home_effect = { remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset set_variable = { name = cmp_inv_origin_kind value = 1 } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_nile_basin } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_nile_basin } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 1 } set_variable = { name = cmp_inv_state_region value = s:STATE_EGYPTIAN_DESERT } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_north_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_north_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 2 } set_variable = { name = cmp_inv_state_region value = s:STATE_WEST_SAHARA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_west_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_west_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 3 } set_variable = { name = cmp_inv_state_region value = s:STATE_SENEGAL } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_equatorial_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_equatorial_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 4 } set_variable = { name = cmp_inv_state_region value = s:STATE_BAS_CONGO } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_southern_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_southern_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 5 } set_variable = { name = cmp_inv_state_region value = s:STATE_NAMAQUALAND } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_east_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_east_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 6 } set_variable = { name = cmp_inv_state_region value = s:STATE_ZANZIBAR } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_indochina } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_indochina } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 7 } set_variable = { name = cmp_inv_state_region value = s:STATE_CAMBODIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_indonesia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_indonesia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 8 } set_variable = { name = cmp_inv_state_region value = s:STATE_NORTH_SUMATRA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_south_china } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_south_china } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 9 } set_variable = { name = cmp_inv_state_region value = s:STATE_GUIZHOU } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_north_china } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_north_china } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 10 } set_variable = { name = cmp_inv_state_region value = s:STATE_SHANDONG } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_northeast_asia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_northeast_asia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 11 } set_variable = { name = cmp_inv_state_region value = s:STATE_SOUTHERN_MANCHURIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_siberia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_siberia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 12 } set_variable = { name = cmp_inv_state_region value = s:STATE_OB } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_oceania } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_oceania } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 13 } set_variable = { name = cmp_inv_state_region value = s:STATE_NEW_SOUTH_WALES } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_western_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_western_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 14 } set_variable = { name = cmp_inv_state_region value = s:STATE_WALES } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_southern_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_southern_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 15 } set_variable = { name = cmp_inv_state_region value = s:STATE_CATALONIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_balkans } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_balkans } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 16 } set_variable = { name = cmp_inv_state_region value = s:STATE_SLOVENIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_central_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_central_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 17 } set_variable = { name = cmp_inv_state_region value = s:STATE_HESSE } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_northern_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_northern_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 18 } set_variable = { name = cmp_inv_state_region value = s:STATE_NORRLAND } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_russia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_russia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 19 } set_variable = { name = cmp_inv_state_region value = s:STATE_DAGESTAN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_eastern_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_eastern_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 20 } set_variable = { name = cmp_inv_state_region value = s:STATE_VILNIUS } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_canada } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_canada } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 21 } set_variable = { name = cmp_inv_state_region value = s:STATE_NORTHWEST_TERRITORIES } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_pacific_coast } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_pacific_coast } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 22 } set_variable = { name = cmp_inv_state_region value = s:STATE_CALIFORNIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_great_plains } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_great_plains } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 23 } set_variable = { name = cmp_inv_state_region value = s:STATE_MONTANA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_atlantic_coast } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_atlantic_coast } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 24 } set_variable = { name = cmp_inv_state_region value = s:STATE_WISCONSIN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_central_america } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_central_america } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 25 } set_variable = { name = cmp_inv_state_region value = s:STATE_BAJA_CALIFORNIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_brazil } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_brazil } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 26 } set_variable = { name = cmp_inv_state_region value = s:STATE_PARANA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_andes } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_andes } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 27 } set_variable = { name = cmp_inv_state_region value = s:STATE_LIMA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_la_plata } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_la_plata } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 28 } set_variable = { name = cmp_inv_state_region value = s:STATE_RIO_NEGRO } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_gran_colombia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_gran_colombia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 29 } set_variable = { name = cmp_inv_state_region value = s:STATE_BOLIVAR } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_near_east } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_near_east } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 30 } set_variable = { name = cmp_inv_state_region value = s:STATE_HUDAVENDIGAR } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_arabia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_arabia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 31 } set_variable = { name = cmp_inv_state_region value = s:STATE_OMAN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_greater_persia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_greater_persia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 32 } set_variable = { name = cmp_inv_state_region value = s:STATE_BALUCHISTAN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_central_asia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_central_asia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 33 } set_variable = { name = cmp_inv_state_region value = s:STATE_UZBEKIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_south_india } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_south_india } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 34 } set_variable = { name = cmp_inv_state_region value = s:STATE_CEYLON } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_himalayas } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_himalayas } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 35 } set_variable = { name = cmp_inv_state_region value = s:STATE_HIMALAYAS } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_scope_state = { has_decree = decree_sakuya_mark_state region = { this = sr:region_north_india } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_scope_state = { limit = { has_decree = decree_sakuya_mark_state region = { this = sr:region_north_india } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 1 } set_variable = { name = cmp_inv_region_id value = 36 } set_variable = { name = cmp_inv_state_region value = s:STATE_GUJARAT } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } }
cmp_inv_select_foreign_effect = { remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset set_variable = { name = cmp_inv_origin_kind value = 2 } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_nile_basin } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_nile_basin } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 1 } set_variable = { name = cmp_inv_state_region value = s:STATE_EGYPTIAN_DESERT } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_north_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_north_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 2 } set_variable = { name = cmp_inv_state_region value = s:STATE_WEST_SAHARA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_west_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_west_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 3 } set_variable = { name = cmp_inv_state_region value = s:STATE_SENEGAL } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_equatorial_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_equatorial_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 4 } set_variable = { name = cmp_inv_state_region value = s:STATE_BAS_CONGO } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_southern_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_southern_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 5 } set_variable = { name = cmp_inv_state_region value = s:STATE_NAMAQUALAND } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_east_africa } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_east_africa } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 6 } set_variable = { name = cmp_inv_state_region value = s:STATE_ZANZIBAR } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_indochina } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_indochina } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 7 } set_variable = { name = cmp_inv_state_region value = s:STATE_CAMBODIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_indonesia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_indonesia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 8 } set_variable = { name = cmp_inv_state_region value = s:STATE_NORTH_SUMATRA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_south_china } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_south_china } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 9 } set_variable = { name = cmp_inv_state_region value = s:STATE_GUIZHOU } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_north_china } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_north_china } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 10 } set_variable = { name = cmp_inv_state_region value = s:STATE_SHANDONG } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_northeast_asia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_northeast_asia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 11 } set_variable = { name = cmp_inv_state_region value = s:STATE_SOUTHERN_MANCHURIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_siberia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_siberia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 12 } set_variable = { name = cmp_inv_state_region value = s:STATE_OB } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_oceania } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_oceania } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 13 } set_variable = { name = cmp_inv_state_region value = s:STATE_NEW_SOUTH_WALES } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_western_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_western_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 14 } set_variable = { name = cmp_inv_state_region value = s:STATE_WALES } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_southern_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_southern_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 15 } set_variable = { name = cmp_inv_state_region value = s:STATE_CATALONIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_balkans } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_balkans } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 16 } set_variable = { name = cmp_inv_state_region value = s:STATE_SLOVENIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_central_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_central_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 17 } set_variable = { name = cmp_inv_state_region value = s:STATE_HESSE } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_northern_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_northern_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 18 } set_variable = { name = cmp_inv_state_region value = s:STATE_NORRLAND } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_russia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_russia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 19 } set_variable = { name = cmp_inv_state_region value = s:STATE_DAGESTAN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_eastern_europe } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_eastern_europe } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 20 } set_variable = { name = cmp_inv_state_region value = s:STATE_VILNIUS } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_canada } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_canada } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 21 } set_variable = { name = cmp_inv_state_region value = s:STATE_NORTHWEST_TERRITORIES } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_pacific_coast } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_pacific_coast } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 22 } set_variable = { name = cmp_inv_state_region value = s:STATE_CALIFORNIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_great_plains } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_great_plains } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 23 } set_variable = { name = cmp_inv_state_region value = s:STATE_MONTANA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_atlantic_coast } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_atlantic_coast } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 24 } set_variable = { name = cmp_inv_state_region value = s:STATE_WISCONSIN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_central_america } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_central_america } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 25 } set_variable = { name = cmp_inv_state_region value = s:STATE_BAJA_CALIFORNIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_brazil } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_brazil } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 26 } set_variable = { name = cmp_inv_state_region value = s:STATE_PARANA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_andes } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_andes } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 27 } set_variable = { name = cmp_inv_state_region value = s:STATE_LIMA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_la_plata } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_la_plata } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 28 } set_variable = { name = cmp_inv_state_region value = s:STATE_RIO_NEGRO } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_gran_colombia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_gran_colombia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 29 } set_variable = { name = cmp_inv_state_region value = s:STATE_BOLIVAR } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_near_east } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_near_east } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 30 } set_variable = { name = cmp_inv_state_region value = s:STATE_HUDAVENDIGAR } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_arabia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_arabia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 31 } set_variable = { name = cmp_inv_state_region value = s:STATE_OMAN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_greater_persia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_greater_persia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 32 } set_variable = { name = cmp_inv_state_region value = s:STATE_BALUCHISTAN } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_central_asia } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_central_asia } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 33 } set_variable = { name = cmp_inv_state_region value = s:STATE_UZBEKIA } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_south_india } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_south_india } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 34 } set_variable = { name = cmp_inv_state_region value = s:STATE_CEYLON } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_himalayas } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_himalayas } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 35 } set_variable = { name = cmp_inv_state_region value = s:STATE_HIMALAYAS } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } if = { limit = { NOT = { has_variable = cmp_inv_region_id } any_state = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_north_india } } } remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset random_state = { limit = { has_variable = sakuya_mark_foreign_state_target owner = { has_variable = sakuya_mark_country_target } region = { this = sr:region_north_india } } save_scope_as = cmp_inv_origin } set_variable = { name = cmp_inv_origin value = scope:cmp_inv_origin } set_variable = { name = cmp_inv_origin_kind value = 2 } set_variable = { name = cmp_inv_region_id value = 36 } set_variable = { name = cmp_inv_state_region value = s:STATE_GUJARAT } remove_variable = cmp_inv_batch remove_variable = cmp_inv_preset } }
cmp_inv_refresh_effect = { cmp_inv_resolve_marked_effect = yes remove_variable = cmp_inv_preset if = { limit = { has_variable = cmp_inv_subject_marked } remove_variable = cmp_inv_subject if = { limit = { exists = scope:cmp_inv_marked } set_variable = { name = cmp_inv_subject value = scope:cmp_inv_marked } } } else = { set_variable = { name = cmp_inv_subject value = root } } if = { limit = { trigger_if = { limit = { has_variable = cmp_inv_mode } var:cmp_inv_mode = 1 } trigger_else = { always = no } } if = { limit = { exists = scope:cmp_inv_marked } if = { limit = { NOT = { trigger_if = { limit = { has_variable = cmp_inv_geography } trigger_if = { limit = { exists = var:cmp_inv_geography } var:cmp_inv_geography = scope:cmp_inv_marked } trigger_else = { always = no } } trigger_else = { always = no } } } set_variable = cmp_inv_batch remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset } set_variable = { name = cmp_inv_geography value = scope:cmp_inv_marked } if = { limit = { NOT = { has_variable = cmp_inv_batch } NOT = { cmp_inv_region_trigger = yes } } set_variable = cmp_inv_batch remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset } } else = { remove_variable = cmp_inv_geography remove_variable = cmp_inv_region_id remove_variable = cmp_inv_state_region remove_variable = cmp_inv_origin remove_variable = cmp_inv_preset } } else_if = { limit = { trigger_if = { limit = { has_variable = cmp_inv_mode } var:cmp_inv_mode = 2 } trigger_else = { always = no } } if = { limit = { trigger_if = { limit = { has_variable = cmp_inv_origin_kind } var:cmp_inv_origin_kind = 2 } trigger_else = { always = no } } cmp_inv_select_foreign_effect = yes } else = { cmp_inv_select_home_effect = yes } } }
cmp_inv_schedule_tick_effect = { if = { limit = { OR = { has_variable = cmp_inv_hold_region_nile_basin has_variable = cmp_inv_hold_region_north_africa has_variable = cmp_inv_hold_region_west_africa has_variable = cmp_inv_hold_region_equatorial_africa has_variable = cmp_inv_hold_region_southern_africa has_variable = cmp_inv_hold_region_east_africa has_variable = cmp_inv_hold_region_indochina has_variable = cmp_inv_hold_region_indonesia has_variable = cmp_inv_hold_region_south_china has_variable = cmp_inv_hold_region_north_china has_variable = cmp_inv_hold_region_northeast_asia has_variable = cmp_inv_hold_region_siberia has_variable = cmp_inv_hold_region_oceania has_variable = cmp_inv_hold_region_western_europe has_variable = cmp_inv_hold_region_southern_europe has_variable = cmp_inv_hold_region_balkans has_variable = cmp_inv_hold_region_central_europe has_variable = cmp_inv_hold_region_northern_europe has_variable = cmp_inv_hold_region_russia has_variable = cmp_inv_hold_region_eastern_europe has_variable = cmp_inv_hold_region_canada has_variable = cmp_inv_hold_region_pacific_coast has_variable = cmp_inv_hold_region_great_plains has_variable = cmp_inv_hold_region_atlantic_coast has_variable = cmp_inv_hold_region_central_america has_variable = cmp_inv_hold_region_brazil has_variable = cmp_inv_hold_region_andes has_variable = cmp_inv_hold_region_la_plata has_variable = cmp_inv_hold_region_gran_colombia has_variable = cmp_inv_hold_region_near_east has_variable = cmp_inv_hold_region_arabia has_variable = cmp_inv_hold_region_greater_persia has_variable = cmp_inv_hold_region_central_asia has_variable = cmp_inv_hold_region_south_india has_variable = cmp_inv_hold_region_himalayas has_variable = cmp_inv_hold_region_north_india } NOT = { has_variable = cmp_inv_tick_pending } } set_variable = cmp_inv_tick_pending trigger_event = { id = cmp_involvement.1 days = 1 popup = no } } }
cmp_inv_tick_effect = { remove_variable = cmp_inv_tick_pending if = { limit = { has_variable = cmp_inv_hold_region_nile_basin } add_involvement = { strategic_region = sr:region_nile_basin value = -10000 } add_involvement = { strategic_region = sr:region_nile_basin value = var:cmp_inv_hold_region_nile_basin } } if = { limit = { has_variable = cmp_inv_hold_region_north_africa } add_involvement = { strategic_region = sr:region_north_africa value = -10000 } add_involvement = { strategic_region = sr:region_north_africa value = var:cmp_inv_hold_region_north_africa } } if = { limit = { has_variable = cmp_inv_hold_region_west_africa } add_involvement = { strategic_region = sr:region_west_africa value = -10000 } add_involvement = { strategic_region = sr:region_west_africa value = var:cmp_inv_hold_region_west_africa } } if = { limit = { has_variable = cmp_inv_hold_region_equatorial_africa } add_involvement = { strategic_region = sr:region_equatorial_africa value = -10000 } add_involvement = { strategic_region = sr:region_equatorial_africa value = var:cmp_inv_hold_region_equatorial_africa } } if = { limit = { has_variable = cmp_inv_hold_region_southern_africa } add_involvement = { strategic_region = sr:region_southern_africa value = -10000 } add_involvement = { strategic_region = sr:region_southern_africa value = var:cmp_inv_hold_region_southern_africa } } if = { limit = { has_variable = cmp_inv_hold_region_east_africa } add_involvement = { strategic_region = sr:region_east_africa value = -10000 } add_involvement = { strategic_region = sr:region_east_africa value = var:cmp_inv_hold_region_east_africa } } if = { limit = { has_variable = cmp_inv_hold_region_indochina } add_involvement = { strategic_region = sr:region_indochina value = -10000 } add_involvement = { strategic_region = sr:region_indochina value = var:cmp_inv_hold_region_indochina } } if = { limit = { has_variable = cmp_inv_hold_region_indonesia } add_involvement = { strategic_region = sr:region_indonesia value = -10000 } add_involvement = { strategic_region = sr:region_indonesia value = var:cmp_inv_hold_region_indonesia } } if = { limit = { has_variable = cmp_inv_hold_region_south_china } add_involvement = { strategic_region = sr:region_south_china value = -10000 } add_involvement = { strategic_region = sr:region_south_china value = var:cmp_inv_hold_region_south_china } } if = { limit = { has_variable = cmp_inv_hold_region_north_china } add_involvement = { strategic_region = sr:region_north_china value = -10000 } add_involvement = { strategic_region = sr:region_north_china value = var:cmp_inv_hold_region_north_china } } if = { limit = { has_variable = cmp_inv_hold_region_northeast_asia } add_involvement = { strategic_region = sr:region_northeast_asia value = -10000 } add_involvement = { strategic_region = sr:region_northeast_asia value = var:cmp_inv_hold_region_northeast_asia } } if = { limit = { has_variable = cmp_inv_hold_region_siberia } add_involvement = { strategic_region = sr:region_siberia value = -10000 } add_involvement = { strategic_region = sr:region_siberia value = var:cmp_inv_hold_region_siberia } } if = { limit = { has_variable = cmp_inv_hold_region_oceania } add_involvement = { strategic_region = sr:region_oceania value = -10000 } add_involvement = { strategic_region = sr:region_oceania value = var:cmp_inv_hold_region_oceania } } if = { limit = { has_variable = cmp_inv_hold_region_western_europe } add_involvement = { strategic_region = sr:region_western_europe value = -10000 } add_involvement = { strategic_region = sr:region_western_europe value = var:cmp_inv_hold_region_western_europe } } if = { limit = { has_variable = cmp_inv_hold_region_southern_europe } add_involvement = { strategic_region = sr:region_southern_europe value = -10000 } add_involvement = { strategic_region = sr:region_southern_europe value = var:cmp_inv_hold_region_southern_europe } } if = { limit = { has_variable = cmp_inv_hold_region_balkans } add_involvement = { strategic_region = sr:region_balkans value = -10000 } add_involvement = { strategic_region = sr:region_balkans value = var:cmp_inv_hold_region_balkans } } if = { limit = { has_variable = cmp_inv_hold_region_central_europe } add_involvement = { strategic_region = sr:region_central_europe value = -10000 } add_involvement = { strategic_region = sr:region_central_europe value = var:cmp_inv_hold_region_central_europe } } if = { limit = { has_variable = cmp_inv_hold_region_northern_europe } add_involvement = { strategic_region = sr:region_northern_europe value = -10000 } add_involvement = { strategic_region = sr:region_northern_europe value = var:cmp_inv_hold_region_northern_europe } } if = { limit = { has_variable = cmp_inv_hold_region_russia } add_involvement = { strategic_region = sr:region_russia value = -10000 } add_involvement = { strategic_region = sr:region_russia value = var:cmp_inv_hold_region_russia } } if = { limit = { has_variable = cmp_inv_hold_region_eastern_europe } add_involvement = { strategic_region = sr:region_eastern_europe value = -10000 } add_involvement = { strategic_region = sr:region_eastern_europe value = var:cmp_inv_hold_region_eastern_europe } } if = { limit = { has_variable = cmp_inv_hold_region_canada } add_involvement = { strategic_region = sr:region_canada value = -10000 } add_involvement = { strategic_region = sr:region_canada value = var:cmp_inv_hold_region_canada } } if = { limit = { has_variable = cmp_inv_hold_region_pacific_coast } add_involvement = { strategic_region = sr:region_pacific_coast value = -10000 } add_involvement = { strategic_region = sr:region_pacific_coast value = var:cmp_inv_hold_region_pacific_coast } } if = { limit = { has_variable = cmp_inv_hold_region_great_plains } add_involvement = { strategic_region = sr:region_great_plains value = -10000 } add_involvement = { strategic_region = sr:region_great_plains value = var:cmp_inv_hold_region_great_plains } } if = { limit = { has_variable = cmp_inv_hold_region_atlantic_coast } add_involvement = { strategic_region = sr:region_atlantic_coast value = -10000 } add_involvement = { strategic_region = sr:region_atlantic_coast value = var:cmp_inv_hold_region_atlantic_coast } } if = { limit = { has_variable = cmp_inv_hold_region_central_america } add_involvement = { strategic_region = sr:region_central_america value = -10000 } add_involvement = { strategic_region = sr:region_central_america value = var:cmp_inv_hold_region_central_america } } if = { limit = { has_variable = cmp_inv_hold_region_brazil } add_involvement = { strategic_region = sr:region_brazil value = -10000 } add_involvement = { strategic_region = sr:region_brazil value = var:cmp_inv_hold_region_brazil } } if = { limit = { has_variable = cmp_inv_hold_region_andes } add_involvement = { strategic_region = sr:region_andes value = -10000 } add_involvement = { strategic_region = sr:region_andes value = var:cmp_inv_hold_region_andes } } if = { limit = { has_variable = cmp_inv_hold_region_la_plata } add_involvement = { strategic_region = sr:region_la_plata value = -10000 } add_involvement = { strategic_region = sr:region_la_plata value = var:cmp_inv_hold_region_la_plata } } if = { limit = { has_variable = cmp_inv_hold_region_gran_colombia } add_involvement = { strategic_region = sr:region_gran_colombia value = -10000 } add_involvement = { strategic_region = sr:region_gran_colombia value = var:cmp_inv_hold_region_gran_colombia } } if = { limit = { has_variable = cmp_inv_hold_region_near_east } add_involvement = { strategic_region = sr:region_near_east value = -10000 } add_involvement = { strategic_region = sr:region_near_east value = var:cmp_inv_hold_region_near_east } } if = { limit = { has_variable = cmp_inv_hold_region_arabia } add_involvement = { strategic_region = sr:region_arabia value = -10000 } add_involvement = { strategic_region = sr:region_arabia value = var:cmp_inv_hold_region_arabia } } if = { limit = { has_variable = cmp_inv_hold_region_greater_persia } add_involvement = { strategic_region = sr:region_greater_persia value = -10000 } add_involvement = { strategic_region = sr:region_greater_persia value = var:cmp_inv_hold_region_greater_persia } } if = { limit = { has_variable = cmp_inv_hold_region_central_asia } add_involvement = { strategic_region = sr:region_central_asia value = -10000 } add_involvement = { strategic_region = sr:region_central_asia value = var:cmp_inv_hold_region_central_asia } } if = { limit = { has_variable = cmp_inv_hold_region_south_india } add_involvement = { strategic_region = sr:region_south_india value = -10000 } add_involvement = { strategic_region = sr:region_south_india value = var:cmp_inv_hold_region_south_india } } if = { limit = { has_variable = cmp_inv_hold_region_himalayas } add_involvement = { strategic_region = sr:region_himalayas value = -10000 } add_involvement = { strategic_region = sr:region_himalayas value = var:cmp_inv_hold_region_himalayas } } if = { limit = { has_variable = cmp_inv_hold_region_north_india } add_involvement = { strategic_region = sr:region_north_india value = -10000 } add_involvement = { strategic_region = sr:region_north_india value = var:cmp_inv_hold_region_north_india } } cmp_inv_schedule_tick_effect = yes }
