add_namespace = ksr

#Transfer Transnistria (Offerer Side)
country_event = {
	id = ksr.1
	title = ksr.1.t
	desc = ksr.1.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = { #to Romania
		name = ksr.1.a
		ai_chance = {
			base = 100
		}

		effect_tooltip = {
			every_state = {
				limit = {
					KSR_is_moldova_transnistria_state = yes
					OR = {
						is_controlled_by = ROOT
						controller = { is_subject_of = ROOT }
					}
				}
				ROM = { set_state_controller = PREV }
			}
		}
		ROM = {
			country_event = {
				id = ksr.4
				days = 2
			}
		}
	}
	
	option = { # Keep it
		name = ksr.1.b
	}	
}



#Transfer Vladivostok-Khabarovsk (Offerer Side)
country_event = {
	id = ksr.2
	title = ksr.2.t
	desc = ksr.2.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = { #to Japan
		name = ksr.2.a
		ai_chance = {
			base = 100
		}

		effect_tooltip = {
			every_state = {
				limit = {
					OR = {
						state = 408
						state = 1332
						state = 1333
						state = 1334
						state = 1335
						state = 1336
						state = 409
					}
					OR = {
						is_controlled_by = ROOT
						controller = { is_subject_of = ROOT }
					}
				}
				JAP = { set_state_controller = PREV }
			}
		}
		JAP = {
			country_event = {
				id = ksr.17
				days = 2
			}
		}
	}
	
	option = { # Keep it
		name = ksr.2.b
	}	
}


#Transfer Sakhalin (Offerer side)
country_event = {
	id = ksr.3
	title = ksr.3.t
	desc = ksr.3.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = { #to Japan
		name = ksr.3.a
		ai_chance = {
			base = 100
		}

		effect_tooltip = {
			every_state = {
				limit = {
					OR = {
						state = 537
						state = 655
					}
					OR = {
						is_controlled_by = ROOT
						controller = { is_subject_of = ROOT }
					}
				}
				JAP = { set_state_controller = PREV }
			}
		}
		JAP = {
			country_event = {
				id = ksr.19
				days = 2
			}
		}
	}
	
	option = { # Keep it
		name = ksr.3.b
	}	
}


# Transfer Transnistria (Receiver Side)
country_event = {

	id = ksr.4
	title = ksr.4.t
	desc = ksr.4.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.4.a
		ai_chance = {
			base = 100
		}

		every_state = {
			limit = {
				KSR_is_moldova_transnistria_state = yes
				OR = {
					is_owned_and_controlled_by = FROM
					AND = {
						OWNER = { is_subject_of = FROM NOT = { tag = ROOT } }
						CONTROLLER = { is_subject_of = FROM NOT = { tag = ROOT } }
					}
				}
			}
			ROOT = { transfer_state = PREV }
		}
		
		hidden_effect = {
			FROM = {
				country_event = {
					id = ksr.21
					hours = 2
				}
			}
		}
		
	}
	option = {
		name = ksr.4.b
		
		ai_chance = {
			base = 10
		}
		FROM = {
			country_event = {
				id = ksr.5
				days = 2
			}
		}
	}	
}


country_event = {

	id = ksr.5
	title = ksr.5.t
	desc = ksr.5.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.5.a
		ai_chance = {
			base = 100
		}
	}	
}


#Transfer Karelia (Offerer Side)
country_event = {
	id = ksr.6
	title = ksr.6.t
	desc = ksr.6.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = { #to Finland
		name = ksr.6.a
		ai_chance = {
			base = 100
		}

		effect_tooltip = {
			every_state = {
				limit = {
					KSR_is_karelia_kola_state = yes
					CONTROLLER = {
						NOT = { tag = FIN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				FIN = { set_state_controller = PREV }
			}
		}
		FIN = {
			country_event = {
				id = ksr.7
				days = 2
			}
		}
	}
	
	option = { # Keep it
		name = ksr.6.b
	}	
}

#Transfer Karelia (Receiver Side)
country_event = {

	id = ksr.7
	title = ksr.7.t
	desc = ksr.7.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.7.a
		ai_chance = {
			base = 100
		}

		every_state = {
			limit = {
				KSR_is_karelia_kola_state = yes
				CONTROLLER = {
					NOT = { tag = FIN }
					OR = {
						tag = FROM
						is_subject_of = FROM
					}
					owns_state = PREV
					has_full_control_of_state = PREV
				}
			}
			ROOT = { transfer_state = PREV }
		}
		
		hidden_effect = {
			FROM = {
				country_event = {
					id = ksr.21
					hours = 2
				}
			}
		}

	}
	option = {
		name = ksr.7.b
		
		ai_chance = {
			base = 10
		}
		FROM = {
			country_event = {
				id = ksr.8
				days = 2
			}
		}
	}	
}

# Transfer Karelia - Finland Rejects (Offerer Side)
country_event = {

	id = ksr.8
	title = ksr.8.t
	desc = ksr.8.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.8.a
		ai_chance = {
			base = 100
		}
	}	
}

country_event = {
	id = ksr.9
	title = ksr.9.t
	desc = ksr.9.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.9.a
		ai_chance = {
			base = 100
		}
	}	
}

# Flag of German Empire
country_event = {
	id = ksr.10
	title = ksr.10.t
	desc = ksr.10.desc
	picture = GFX_report_event_german_empire_flag

	is_triggered_only = yes

	option = {
		name = ksr.10.a
		ai_chance = {
			base = 100
		}
		hidden_effect = { set_cosmetic_tag = GER_german_empire }
	}	
	
	option = {
		name = ksr.10.b
		ai_chance = {
			base = 10
		}
		hidden_effect = { set_cosmetic_tag = GER_german_empire_flag2 }
	}
	
	option = {
		name = ksr.10.c
		ai_chance = {
			base = 10
		}
		hidden_effect = { set_cosmetic_tag = GER_german_empire_flag3 }
	}
	
	option = {
		name = ksr.10.d
		ai_chance = {
			base = 10
		}
		hidden_effect = { set_cosmetic_tag = GER_german_empire_flag4 }
	}
}

# Flag of Russian Empire
country_event = {
	id = ksr.11
	title = ksr.11.t
	desc = ksr.11.desc
	picture = GFX_report_event_russian_empire_flag

	is_triggered_only = yes

	option = {
		name = ksr.11.a
		ai_chance = {
			base = 20
		}
		hidden_effect = { set_cosmetic_tag = SOV_russia }	
	}	
	
	option = {
		name = ksr.11.b
		ai_chance = {
			base = 100
		}
		hidden_effect = { set_cosmetic_tag = SOV_russia_flag2 }
	}
	
	option = {
		name = ksr.11.c
		ai_chance = {
			base = 20
		}
		hidden_effect = { set_cosmetic_tag = SOV_russia_flag3 }
	}
	
	option = {
		name = ksr.11.d
		ai_chance = {
			base = 20
		}
		hidden_effect = { set_cosmetic_tag = SOV_russia_flag4 }
	}
}

# Capital of Austria-Hungary
country_event = {
	id = ksr.12
	title = ksr.12.t
	desc = ksr.12.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.12.a
		ai_chance = {
			base = 100
		}
		ROOT = { set_capital = { state = 4 remember_old_capital = no } }
	}	
	
	option = {
		name = ksr.12.b
		ai_chance = {
			base = 20
		}
		
	}
}


# Germany Claims Southern Jutland (Denmark)
country_event = {
	id = ksr.13
	title = ksr.13.t
	desc = ksr.13.desc
	picture = GFX_report_event_generic_read_write
	
	is_triggered_only = yes
	
	option = { # Accept demands
		name = ksr.13.a
		ai_chance = { 
			factor = 90
			modifier = {
				factor = 0
				NOT = {
					OR = {
						is_puppet_of = GER
						is_in_faction_with = GER
					}
				}
				GER = {
					surrender_progress > 0.09
				}
			}
			modifier = {
				factor = 0
				any_other_country = {
					is_in_faction_with = ROOT
					has_war_with = GER
				}
			}
			modifier = {
				factor = 0
				any_other_country = {
					NOT = {
						tag = GER
					}
					DEN = {
						is_puppet_of = PREV
					}
					NOT = {
						is_in_faction_with = GER
					}
				}
			}
		}
		GER = {
			country_event = { days = 1 id = ksr.14 }
		}
	}
	option = { # Refuse
		name = ksr.13.b		
		ai_chance = { 
			factor = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = {
					GER = {
						surrender_progress > 0.09
					}
				}
				NOT = {
					any_other_country = {
						is_in_faction_with = ROOT
						has_war_with = GER
					}
				}
				NOT = {
					any_other_country = {
						NOT = {
							tag = GER
						}
						DEN = {
							is_puppet_of = PREV
						}
						NOT = {
							is_in_faction_with = GER
						}
					}
				}
			}
			modifier = {
				factor = 0
				OR = {
					is_in_faction_with = GER
					DEN = {
						is_puppet_of = GER
					}
				}
			}
		}
		effect_tooltip = {
			GER = {
				create_wargoal = {
				type = take_state_focus
				target = DEN
				generator = { 934 }
				}
				country_event = { days = 1 id = ksr.15 }
			}
		}
		hidden_effect = {
			GER = {
				country_event = { days = 1 id = ksr.15 }
			}
		}		
	}
}


# Claim Southern Jutland - Denmark Folds
country_event = {
	id = ksr.14
	title = ksr.14.t
	desc = ksr.14.desc
	picture = GFX_report_event_vienna_award_hungary

	is_triggered_only = yes

	option = {
		name = ksr.14.a
		GER = {
			transfer_state = 934
			add_state_core = 934
		}
	}
}


# Claim Southern Jutland - Denmark Rejects Demand
country_event = {
	id = ksr.15
	title = ksr.15.t
	desc = ksr.15.desc
	picture = GFX_report_event_lithuania_army

	is_triggered_only = yes

	option = {
		name = ksr.15.a
		create_wargoal = {
			type = take_state_focus
			target = DEN
			generator = { 934 }
		}
	}
}

# Flag of Austria-Hungary
country_event = {
	id = ksr.16
	title = ksr.16.t
	desc = ksr.16.desc
	picture = GFX_report_event_austria_hungary_flag

	is_triggered_only = yes

	option = {
		name = ksr.16.a
		ai_chance = {
			base = 100
		}
		
		hidden_effect = { set_cosmetic_tag = HUN_EMPIRE }
	}	
	
	
	option = {
		name = ksr.16.b
		ai_chance = {
			base = 0
		}
		hidden_effect = { set_cosmetic_tag = HUN_EMPIRE_flag2 }
	}
	
	
	option = {
		name = ksr.16.c
		ai_chance = {
			base = 0
		}
		hidden_effect = { set_cosmetic_tag = HUN_EMPIRE_flag3 }
	}
	
	
	option = {
		name = ksr.16.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { set_cosmetic_tag = HUN_EMPIRE_flag4 }
	}
}


# Transfer Vladivostok-Khabarovsk (Receiver Side)
country_event = {

	id = ksr.17
	title = ksr.17.t
	desc = ksr.17.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.17.a
		ai_chance = {
			base = 100
		}

		every_state = {
			limit = {
				OR = {
					state = 408
					state = 1332
					state = 1333
					state = 1334
					state = 1335
					state = 1336
					state = 409
				}
				OR = {
					is_owned_and_controlled_by = FROM
					AND = {
						OWNER = { is_subject_of = FROM NOT = { tag = ROOT } }
						CONTROLLER = { is_subject_of = FROM NOT = { tag = ROOT } }
					}
				}
			}
			ROOT = { transfer_state = PREV }
		}
		hidden_effect = {
			FROM = {
				country_event = {
					id = ksr.21
					hours = 2
				}
			}
		}
	}
	option = {
		name = ksr.17.b
		
		ai_chance = {
			base = 10
		}
		FROM = {
			country_event = {
				id = ksr.18
				days = 2
			}
		}
	}	
}

# Transfer Vladivostok-Khabarovsk - Japan Rejects (Offerer Side)
country_event = {

	id = ksr.18
	title = ksr.18.t
	desc = ksr.18.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.18.a
		ai_chance = {
			base = 100
		}
	}	
}


# Transfer Sakhalin (Receiver Side)
country_event = {

	id = ksr.19
	title = ksr.19.t
	desc = ksr.19.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.19.a
		ai_chance = {
			base = 100
		}

		every_state = {
			limit = {
				OR = {
					state = 537
					state = 655
				}
				OR = {
					is_owned_and_controlled_by = FROM
					AND = {
						OWNER = { is_subject_of = FROM NOT = { tag = ROOT } }
						CONTROLLER = { is_subject_of = FROM NOT = { tag = ROOT } }
					}
				}
			}
			ROOT = { transfer_state = PREV }
		}
		
		hidden_effect = {
			FROM = {
				country_event = {
					id = ksr.21
					hours = 2
				}
			}
		}
	}
	option = {
		name = ksr.19.b
		
		ai_chance = {
			base = 10
		}
		FROM = {
			country_event = {
				id = ksr.20
				days = 2
			}
		}
	}	
}

# Transfer Sakhalin - Japan Rejects (Offerer Side)
country_event = {

	id = ksr.20
	title = ksr.20.t
	desc = ksr.20.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.20.a
		ai_chance = {
			base = 100
		}
	}	
}

# Transferring - Offerer is informed that the Receiver Accepted
country_event = {

	id = ksr.21
	title = ksr.21.t
	desc = ksr.21.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.21.a
		ai_chance = {
			base = 100
		}
	}	
}



# MAN IN THE HIGH CASTLE: Player gains event suggesting to send an offer to Germany/Japan to split-claim American territory
country_event = {
	id = ksr.22
	title = ksr.22.t
	desc = {
		text = ksr.22.GER.desc
		trigger = { tag = GER }
	}
	desc = {
		text = ksr.22.JAP.desc
		trigger = { tag = JAP }
	}
	picture = GFX_report_event_north_american_division_plan
	
	is_triggered_only = yes
	
	immediate = {
		set_global_flag = KSR_north_america_partition_initiated
	}
	

	option = {
		name = ksr.22.a
		ai_chance = {
			base = 100
		}
		
		every_country = {
			limit = {
				OR = {
					tag = GER
					tag = JAP
				}
				NOT = { tag = ROOT }
			}
			country_event = {
				id = ksr.23
				days = 2
			}
		}
	}	
	
	option = {
		name = ksr.22.b
		ai_chance = {
			base = 1
		}
	}
}


# MAN IN THE HIGH CASTLE: The other country receives the offer for the North American partition plan
country_event = {
	id = ksr.23
	title = ksr.23.t
	desc = ksr.23.desc
	picture = GFX_report_event_north_american_division_plan
	
	is_triggered_only = yes
	
	option = {
		name = ksr.23.a
		ai_chance = {
			base = 100
		}
		
		if = {
			limit = {
				ROOT = { tag = GER }
			}
			every_state = {
				limit = {
					KSR_is_high_castle_german_division_state = yes
				}
				add_claim_by = ROOT
			}
		}
		if = {
			limit = {
				ROOT = { tag = JAP }
			}
			every_state = {
				limit = {
					KSR_is_high_castle_japanese_division_state = yes
				}
				add_claim_by = ROOT
			}
		}
		
		hidden_effect = { set_global_flag = KSR_north_america_partition_signed }
		
		FROM = {
			country_event = {
				id = ksr.24
				hours = 6
			}
		}
	}
	
	
	option = {
		name = ksr.23.b
		
		ai_chance = {
			base = 0
		}
		
		FROM = {
			country_event = {
				id = ksr.25
				hours = 6
			}
		}
	}
	
}



# MAN IN THE HIGH CASTLE: Offerer is informed that the other country has agreed.
country_event = {
	id = ksr.24
	title = ksr.24.t
	desc = ksr.24.desc
	picture = GFX_report_event_north_american_division_plan
	
	is_triggered_only = yes

	option = {
		name = ksr.24.a
		ai_chance = {
			base = 100
		}
		
		
		if = {
			limit = {
				ROOT = { tag = GER }
			}
			every_state = {
				limit = {
					KSR_is_high_castle_german_division_state = yes
				}
				add_claim_by = ROOT
			}
		}
		if = {
			limit = {
				ROOT = { tag = JAP }
			}
			every_state = {
				limit = {
					KSR_is_high_castle_japanese_division_state = yes
				}
				add_claim_by = ROOT
			}
		}
	}
	
}


# MAN IN THE HIGH CASTLE: Offerer is informed that the other country has declined.
country_event = {
	id = ksr.25
	title = ksr.25.t
	desc = ksr.25.desc
	picture = GFX_report_event_north_american_division_plan
	
	is_triggered_only = yes

	option = {
		name = ksr.25.a
		ai_chance = {
			base = 100
		}
	}
}




#Transfer Sobrance: Offerer Side
country_event = {
	id = ksr.26
	title = ksr.26.t
	desc = ksr.26.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = { #to Hungary
		name = ksr.26.a
		ai_chance = {
			base = 100
		}

		effect_tooltip = {
			if = {
				limit = {
					1148 = {
						OR = {
							is_controlled_by = ROOT
							controller = { is_subject_of = ROOT }
						}
					}
				}
				HUN = { set_state_controller = 1148 }
			}
		}
		HUN = {
			country_event = {
				id = ksr.27
				days = 2
			}
		}
	}
	
	option = { # Keep it
		name = ksr.26.b
	}	
}


# Transfer Sobrance: Receiver Side
country_event = {

	id = ksr.27
	title = ksr.27.t
	desc = ksr.27.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.27.a
		ai_chance = {
			base = 100
		}

		if = {
			limit = {
				1148 = {
					OR = {
						is_owned_and_controlled_by = FROM
						AND = {
							OWNER = { is_subject_of = FROM NOT = { tag = ROOT } }
							CONTROLLER = { is_subject_of = FROM NOT = { tag = ROOT } }
						}
					}
				}
			}
			ROOT = { transfer_state = 1148 }
		}
		
		
		hidden_effect = {
			FROM = {
				country_event = {
					id = ksr.21
					hours = 2
				}
			}
		}
		
	}
	option = {
		name = ksr.27.b
		
		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = ksr.28
				days = 2
			}
		}
	}	
}


# Transferring - Offerer is informed that the Receiver Declined
country_event = {

	id = ksr.28
	title = ksr.28.t
	desc = ksr.28.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.28.a
		ai_chance = {
			base = 100
		}
	}	
}




# Flag of the Polish-Lithuanian Commonwealth
country_event = {
	id = ksr.29
	title = ksr.29.t
	desc = ksr.29.desc
	picture = GFX_report_event_commonwealth_flag

	is_triggered_only = yes

	option = {
		name = ksr.29.a
		ai_chance = {
			base = 100
		}
		hidden_effect = { 
			if = { limit = { ROOT = { tag = LIT } } set_cosmetic_tag = LPC_UNIFIED }	
			else = { set_cosmetic_tag = PLC_UNIFIED }
		}
	}	
	
	option = {
		name = ksr.29.b
		ai_chance = {
			base = 10
		}
		hidden_effect = { 
			if = { limit = { ROOT = { tag = LIT } } set_cosmetic_tag = LPC_UNIFIED_flag2 }	
			else = { set_cosmetic_tag = PLC_UNIFIED_flag2 }
		}
	}
	
	option = {
		name = ksr.29.c
		ai_chance = {
			base = 10
		}
		hidden_effect = { 
			if = { limit = { ROOT = { tag = LIT } } set_cosmetic_tag = LPC_UNIFIED_flag3 }	
			else = { set_cosmetic_tag = PLC_UNIFIED_flag3 }
		}
	}
	
	option = {
		name = ksr.29.d
		ai_chance = {
			base = 10
		}
		hidden_effect = { 
			if = { limit = { ROOT = { tag = LIT } } set_cosmetic_tag = LPC_UNIFIED_flag4 }	
			else = { set_cosmetic_tag = PLC_UNIFIED_flag4 }
		}
	}
}









# Korean Division Plan - Initial Offerer Event (USA POV)
country_event = {
	id = ksr.30
	title = ksr.30.t
	desc = ksr.30.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	option = {
		name = ksr.30.a
		
		ai_chance = {
			base = 100
		}
		
		random_country = {
			limit = {
				OR = {
				
					# Korean Peninsula + Jeju Island
					controls_state = 525
					controls_state = 527
					controls_state = 1311
					controls_state = 1312
					controls_state = 1313
					controls_state = 1314
					controls_state = 1315
					controls_state = 1316
					controls_state = 1317
					controls_state = 1318
					controls_state = 1319
					controls_state = 1320
					controls_state = 1321
					controls_state = 1322
					controls_state = 1323
					controls_state = 1324
					controls_state = 1325
					controls_state = 1326
					controls_state = 1327
					controls_state = 1328
					controls_state = 1329
				}
				
				has_war_with = JAP 
				has_capitulated = no
				
				OR = {
					AND = {
						OR = {
							tag = SOV
							is_subject_of = SOV
						}
						has_government = communism
					}
					AND = {
						OR = {
							tag = PRC
							is_subject_of = PRC
						}
						has_government = communism
					}
					AND = {
						OR = {
							tag = CHI
							is_subject_of = CHI
						}
						is_ally_with = PRC
						PRC = {
							has_government = communism
						}
					}
				}
				OR = {
					AND = {
						is_subject = no
						NOT = { has_country_flag = KSR_accepted_korean_division_plan }
					}
					AND = {
						is_subject = yes
						OVERLORD = { NOT = { has_country_flag = KSR_accepted_korean_division_plan } }
					}
				}
			}
			if = {
				limit = { is_subject = yes }
				OVERLORD = { country_event = { id = ksr.31 days = 1 } }
			}
			else = {
				country_event = { id = ksr.31 days = 1 }
			}
		}
	}
	
	option = {
		name = ksr.30.b
	}

}


# Korean Division Plan - Initial Receiver Event (Soviet Union/Communist China/China POV)
country_event = {
	id = ksr.31
	title = ksr.31.t
	desc = ksr.31.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	option = {
		name = ksr.31.a
		
		ai_chance = {
			base = 100
		}
		
		hidden_effect = {
			set_country_flag = KSR_accepted_korean_division_plan
			if = { limit = { original_tag = CHI } PRC = { set_country_flag = KSR_accepted_korean_division_plan } }
		}
		
		if = {
			limit = {
				any_other_country = {
					OR = {
						# Korean Peninsula + Jeju Island
						controls_state = 525
						controls_state = 527
						controls_state = 1311
						controls_state = 1312
						controls_state = 1313
						controls_state = 1314
						controls_state = 1315
						controls_state = 1316
						controls_state = 1317
						controls_state = 1318
						controls_state = 1319
						controls_state = 1320
						controls_state = 1321
						controls_state = 1322
						controls_state = 1323
						controls_state = 1324
						controls_state = 1325
						controls_state = 1326
						controls_state = 1327
						controls_state = 1328
						controls_state = 1329
					}
					
					has_war_with = JAP
					has_capitulated = no
					
					OR = {
						AND = {
							OR = {
								tag = SOV
								is_subject_of = SOV
							}
							has_government = communism
						}
						AND = {
							OR = {
								tag = PRC
								is_subject_of = PRC
							}
							has_government = communism
						}
						AND = {
							OR = {
								tag = CHI
								is_subject_of = CHI
							}
							is_ally_with = PRC
							PRC = {
								has_government = communism
							}
						}
					}
					OR = {
						AND = {
							is_subject = no
							NOT = { has_country_flag = KSR_accepted_korean_division_plan }
						}
						AND = {
							is_subject = yes
							OVERLORD = { NOT = { has_country_flag = KSR_accepted_korean_division_plan } }
						}
					}
				}
			}
			hidden_effect = {
				random_country = {
					limit = {
						OR = {
						
							# Korean Peninsula + Jeju Island
							controls_state = 525
							controls_state = 527
							controls_state = 1311
							controls_state = 1312
							controls_state = 1313
							controls_state = 1314
							controls_state = 1315
							controls_state = 1316
							controls_state = 1317
							controls_state = 1318
							controls_state = 1319
							controls_state = 1320
							controls_state = 1321
							controls_state = 1322
							controls_state = 1323
							controls_state = 1324
							controls_state = 1325
							controls_state = 1326
							controls_state = 1327
							controls_state = 1328
							controls_state = 1329
						}
						
						has_war_with = JAP 
						has_capitulated = no
						
						OR = {
							AND = {
								OR = {
									tag = SOV
									is_subject_of = SOV
								}
								has_government = communism
							}
							AND = {
								OR = {
									tag = PRC
									is_subject_of = PRC
								}
								has_government = communism
							}
							AND = {
								OR = {
									tag = CHI
									is_subject_of = CHI
								}
								is_ally_with = PRC
								PRC = {
									has_government = communism
								}
							}
						}
						OR = {
							AND = {
								is_subject = no
								NOT = { has_country_flag = KSR_accepted_korean_division_plan }
							}
							AND = {
								is_subject = yes
								OVERLORD = { NOT = { has_country_flag = KSR_accepted_korean_division_plan } }
							}
						}
					}
					if = {
						limit = { is_subject = yes }
						OVERLORD = { 
							country_event = { id = ksr.31 days = 1 }
						}
					}
					else = {
						country_event = { id = ksr.31 days = 1 }
					}
				}
			}
		}
		else = {
			USA = { country_event = { id = ksr.32 days = 1 } }
		}
	}
	
	option = {
		name = ksr.31.b
		
		every_country = {
			limit = {
				OR = {
					tag = USA
					has_country_flag = KSR_accepted_korean_division_plan
				}
			}
			country_event = { id = ksr.33 days = 1 }
		}
	}

}



# Korean Division Plan - Offerer Event - Other Parties ACCEPT (USA POV)
country_event = {
	id = ksr.32
	title = ksr.32.t
	desc = ksr.32.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = {
		name = ksr.32.a
		
		if = {
			limit = { SOV = { has_country_flag = KSR_accepted_korean_division_plan } }
			every_state = {
				limit = {
					OR = {
						state = 527
						state = 1320
						state = 1321
						state = 1322
						state = 1323
						state = 1324
						state = 1325
						state = 1326
						state = 1327
						state = 1328
						state = 1329
					}
				}
				add_claim_by = SOV
			}
		}
		else = {
			every_state = {
				limit = {
					OR = {
						state = 527
						state = 1320
						state = 1321
						state = 1322
						state = 1323
						state = 1324
						state = 1325
						state = 1326
						state = 1327
						state = 1328
						state = 1329
					}
				}
				add_claim_by = PRC
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 525
					state = 1311
					state = 1312
					state = 1313
					state = 1314
					state = 1315
					state = 1316
					state = 1317
					state = 1318
					state = 1319
				}
			}
			add_claim_by = USA
		}
		
		hidden_effect = { set_global_flag = KSR_korea_divided set_country_flag = KSR_accepted_korean_division_plan }
	}
}



# Korean Division Plan - Offerer/Willing Participant POV - Plan Declined (All Parties Who Agreed + USA who Initiated)
country_event = {
	id = ksr.33
	title = ksr.33.t
	desc = ksr.33.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	fire_only_once = yes
	
	option = {
		name = ksr.33.a
		
		
	}
}



# Korean Division Plan - USA POV - Prompt to Transfer Territory North of the 38th Parallel
country_event = {
	id = ksr.34
	title = ksr.34.t
	desc = ksr.34.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	
	option = {
		name = ksr.34.a
		
		ai_chance = {
			base = 10
		}
		
		if = {
			limit = { SOV = { has_country_flag = KSR_accepted_korean_division_plan } }
			SOV = {
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ROOT
				}
				hidden_effect = {
					country_event = { id = ksr.36 hours = 2 }
				}
			}
		}
		else_if = {
			limit = { PRC = { has_country_flag = KSR_accepted_korean_division_plan } }
			PRC = {
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ROOT
				}
				hidden_effect = {
					country_event = { id = ksr.36 hours = 2 }
				}
			}
		}
		hidden_effect = { clr_country_flag = KSR_accepted_korean_division_plan }
	}
	
	option = {
		name = ksr.34.b
		
		ai_chance = {
			base = 100
		}
		
		every_state = {
			limit = {
				OR = {
					state = 527
					state = 1320
					state = 1321
					state = 1322
					state = 1323
					state = 1324
					state = 1325
					state = 1326
					state = 1327
					state = 1328
					state = 1329
				}
				any_country = {
					owns_state = PREV
					controls_state = PREV
					OR = {
						tag = USA
						is_subject_of = USA
					}
				}
			}
			if = {
				limit = { SOV = { has_country_flag = KSR_accepted_korean_division_plan } }
				transfer_state_to = SOV
				hidden_effect = {
					SOV = { country_event = { id = ksr.35 hours = 2 } }
				}
			}
			else_if = {
				limit = { PRC = { has_country_flag = KSR_accepted_korean_division_plan } }
				transfer_state_to = PRC
				hidden_effect = {
					PRC = { country_event = { id = ksr.35 hours = 2 } }
				}
			}
		}
	}
}



# Korean Division Plan - Commie POV - Notification that USA transferred territory
country_event = {
	id = ksr.35
	title = ksr.35.t
	desc = ksr.35.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	
	option = {
		name = ksr.35.a
	}
}



# Korean Division Plan - Commie POV - Notification that USA transferred territory
country_event = {
	id = ksr.36
	title = ksr.36.t
	desc = ksr.36.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	
	option = {
		name = ksr.36.a
		effect_tooltip = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = FROM
			}
		}
	}
}






# Korean Division Plan - Commie POV - Prompt to Transfer Territory South of the 38th Parallel
country_event = {
	id = ksr.37
	title = ksr.37.t
	desc = ksr.37.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	
	option = {
		name = ksr.37.a
		
		ai_chance = {
			base = 10
		}
		
		if = {
			limit = { USA = { has_country_flag = KSR_accepted_korean_division_plan } }
			USA = {
				create_wargoal = {
					type = puppet_wargoal_focus
					target = ROOT
				}
				hidden_effect = {
					country_event = { id = ksr.39 hours = 2 }
				}
			}
		}
		hidden_effect = { clr_country_flag = KSR_accepted_korean_division_plan }
	}
	
	option = {
		name = ksr.37.b
		
		ai_chance = {
			base = 100
		}
		
		every_state = {
			limit = {
				OR = {
					state = 525
					state = 1311
					state = 1312
					state = 1313
					state = 1314
					state = 1315
					state = 1316
					state = 1317
					state = 1318
					state = 1319
				}
				any_country = {
					owns_state = PREV
					controls_state = PREV
					OR = {
						tag = ROOT
						is_subject_of = ROOT
					}
				}
			}
			if = {
				limit = { USA = { has_country_flag = KSR_accepted_korean_division_plan } }
				transfer_state_to = USA
				hidden_effect = {
					USA = { country_event = { id = ksr.38 hours = 2 } }
				}
			}
		}
	}
}




# Korean Division Plan - USA POV - Notification that Commies transferred territory
country_event = {
	id = ksr.38
	title = ksr.38.t
	desc = ksr.38.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	
	option = {
		name = ksr.38.a
	}
}



# Korean Division Plan - USA POV - Notification that Commies transferred territory
country_event = {
	id = ksr.39
	title = ksr.39.t
	desc = ksr.39.desc
	picture = GFX_report_event_korean_division_plan

	is_triggered_only = yes
	
	
	option = {
		name = ksr.39.a
		effect_tooltip = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = FROM
			}
		}
	}
}






# Rename Siam to Thailand
country_event = {
	id = ksr.40
	title = ksr.40.t
	desc = ksr.40.desc
	picture = GFX_report_event_generic_rally

	is_triggered_only = yes
	
	
	option = {
		name = ksr.40.a
		set_cosmetic_tag = SIA_THAILAND
	}
}




#Transfer Jablonka and Nowa Biala: Offerer Side
country_event = {
	id = ksr.41
	title = ksr.41.t
	desc = ksr.41.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.41.a
		ai_chance = {
			base = 100
		}

		custom_effect_tooltip = if_they_accept_newline_tt
		effect_tooltip = {
			every_state = {
				limit = {
					OR = {
						state = 1385
						state = 1386
					}
					CONTROLLER = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				71 = { OWNER = { transfer_state = PREV.PREV } }
			}
		}
		hidden_effect = {
			71 = {
				OWNER = {
					country_event = {
						id = ksr.42
						days = 2
					}
				}
			}
		}
	}
	
	option = { # Keep it
		name = ksr.41.b
	}	
}


# Transfer Jablonka and Nowa Biala: Receiver Side
country_event = {

	id = ksr.42
	title = ksr.42.t
	desc = ksr.42.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.42.a
		ai_chance = {
			base = 100
		}
		
		every_state = {
			limit = {
				OR = {
					state = 1385
					state = 1386
				}
				CONTROLLER = {
					OR = {
						tag = FROM
						is_subject_of = FROM
					}
				}
			}
			ROOT = { transfer_state = PREV }
		}
		
		
		hidden_effect = {
			FROM = {
				country_event = {
					id = ksr.21
					hours = 2
				}
			}
		}
		
	}
	option = {
		name = ksr.42.b
		
		ai_chance = {
			base = 1
		}
		FROM = {
			country_event = {
				id = ksr.43
				hours = 2
			}
		}
	}	
}


# Transferring - Offerer is informed that the Receiver Declined
country_event = {

	id = ksr.43
	title = ksr.43.t
	desc = ksr.43.desc
	picture = GFX_report_event_german_reichstag_gathering

	is_triggered_only = yes

	option = {
		name = ksr.43.a
		ai_chance = {
			base = 100
		}
	}	
}



#Uncensored NSDAP Symbols
country_event = {
	id = ksr.44
	title = ksr.44.t
	desc = ksr.44.desc
	picture = GFX_report_event_german_reichstag_gathering
	
	is_triggered_only = yes
	
	option = {
		name = ksr.44.a
		
		hidden_effect = {
			set_country_flag = uncensored_nsdap_symbols_acknowledged
			if = {
				limit = {
					any_other_country = {
						is_ai = no
						NOT = { has_country_flag = uncensored_nsdap_symbols_acknowledged }
					}
				}
				
			}
			else = { ksr_apply_uncensored_nsdap_symbols = yes }
		}
	}
}




# Japanese Military Requests Self-Governance in Inner Mongolia
country_event = {

	id = ksr.45
	title = ksr.45.t
	desc = ksr.45.desc
	picture = GFX_report_event_mengkukuo_self_governance
	
	fire_only_once = yes
	
	is_triggered_only = yes
	
	trigger = {
		original_tag = JAP
	
		JAP = {
			OR = {
				AND = {
					owns_state = 611
					has_full_control_of_state = 611
				}
				AND = {
					owns_state = 1476
					has_full_control_of_state = 1476
				}
				AND = {
					owns_state = 612
					has_full_control_of_state = 612
				}
				AND = {
					owns_state = 1441
					has_full_control_of_state = 1441
				}
				AND = {
					owns_state = 1455
					has_full_control_of_state = 1455
				}
				AND = {
					owns_state = 1456
					has_full_control_of_state = 1456
				}
				AND = {
					owns_state = 1458
					has_full_control_of_state = 1458
				}
				AND = {
					owns_state = 1459
					has_full_control_of_state = 1459
				}
				AND = {
					owns_state = 1474
					has_full_control_of_state = 1474
				}
				AND = {
					owns_state = 1475
					has_full_control_of_state = 1475
				}
			}
		}
	}

	option = {
		name = ksr.45.a
		ai_chance = {
			base = 100
		}
		
		every_state = {
			limit = {
				OR = {
					state = 611
					state = 1476
					state = 612
					state = 1441
					state = 1455
					state = 1456
					state = 1458
					state = 1459
					state = 1474
					state = 1475
				}
				is_owned_by = JAP
				is_fully_controlled_by = JAP
			}
			MEN = { transfer_state = PREV }
			add_core_of = MEN
		}
		
		hidden_effect = {
			MEN = { set_cosmetic_tag = MEN_mongol_military_government }
			JAP = {
				if = {
					limit = {
						has_dlc = "Together for Victory"
						not = { has_dlc = "Waking the Tiger" }
					}
					set_autonomy = {
						target = MEN
						autonomous_state = autonomy_integrated_puppet
					}
				}
				if = {
					limit = { 
						not = {
							has_dlc = "Waking the Tiger"
							has_dlc = "Together for Victory"
						}
					}
					set_autonomy = {
						target = MEN
						autonomous_state = autonomy_puppet
					}
				}
				if = {
					limit = { 
						has_dlc = "Waking the Tiger"
					}
					set_autonomy = {
						target = MEN
						autonomous_state = autonomy_wtt_imperial_protectorate
					}
				}
			}
		}
	}
	
	option = {
		name = ksr.45.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			MAN = {
				is_subject_of = JAP
				has_capitulated = no
				
				any_state = {
					OR = {
						state = 611
						state = 1476
						state = 612
						state = 1441
						state = 1455
						state = 1456
						state = 1458
						state = 1459
						state = 1474
						state = 1475
					}
					any_neighbor_state = {
						is_owned_by = MAN
						is_fully_controlled_by = MAN
					}
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 611
					state = 1476
					state = 612
					state = 1441
					state = 1455
					state = 1456
					state = 1458
					state = 1459
					state = 1474
					state = 1475
				}
				is_owned_by = JAP
				is_fully_controlled_by = JAP
			}
			MAN = { transfer_state = PREV }
			add_core_of = MAN
		}
		
		MAN = {
			country_event = {
				id = ksr.46
				hours = 1
			}
		}
	}
	
	option = {
		name = ksr.45.c
		ai_chance = {
			base = 0
		}
		
		add_stability = -0.1
		add_war_support = -0.1
	}
}


# Manchuria is informed that Japan transferred Chahar to them
country_event = {

	id = ksr.46
	title = ksr.46.t
	desc = ksr.46.desc
	picture = GFX_report_event_mengkukuo_self_governance

	is_triggered_only = yes
	
	option = {
		name = ksr.46.a
		ai_chance = {
			base = 100
		}
	}	
}



# Protectorate of Bohemia-Moravia
country_event = {
	id = ksr.47
	title = ksr.47.t
	desc = ksr.47.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.47.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKH = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rp_bohmen_mahren_state = yes
					CONTROLLER = {
						NOT = { tag = RKH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKH = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rp_bohmen_mahren_state = yes
					CONTROLLER = {
						NOT = { tag = RKH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKH = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKH = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 9
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 2 }
				load_oob = "RK_OOB"
			}
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.13
			hours = 2
		}
		
		FROM = {
			hidden_effect = { puppet = RKH }
			set_autonomy = { target = RKH autonomy_state = autonomy_reichsprotectorate }
		}
	}
	
	option = {
		name = ksr.47.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKH = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.48 }
	}
	
	option = {
		name = ksr.47.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKH = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.49 }
	}
	
	option = {
		name = ksr.47.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKH = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKH
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.47.e
		ai_chance = {
			base = 0
		}
	}
}


# Protectorate of Bohemia-Moravia - Manage Territories
country_event = {
	id = ksr.48
	title = ksr.48.t
	desc = ksr.48.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.48.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rp_bohmen_mahren_state = yes
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKH }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKH }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rp_bohmen_mahren_state = yes
					CONTROLLER = {
						NOT = { tag = RKH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKH = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rp_bohmen_mahren_state = yes
					CONTROLLER = {
						NOT = { tag = RKH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKH = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	option = {
		name = ksr.48.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.47 }
	}
}


# Protectorate of Bohemia-Moravia - Move Capital
country_event = {
	id = ksr.49
	title = ksr.49.t
	desc = ksr.49.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.49.a
		ai_chance = {
			base = 0
		}
		trigger = {
			9 = {
				is_owned_by = RKH
				is_fully_controlled_by = RKH
				is_capital = no
			}
		}
		RKH = {
			set_capital = {
				state = 9
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.49.b
		ai_chance = {
			base = 0
		}
		trigger = {
			75 = {
				is_owned_by = RKH
				is_fully_controlled_by = RKH
				is_capital = no
			}
		}
		RKH = {
			set_capital = {
				state = 75
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.49.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1555 = {
				is_owned_by = RKH
				is_fully_controlled_by = RKH
				is_capital = no
			}
		}
		RKH = {
			set_capital = {
				state = 1555
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.49.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.47 }
	}
}



# Generalgouvernment
country_event = {
	id = ksr.50
	title = ksr.50.t
	desc = ksr.50.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.50.a
		ai_chance = {
			base = 100
		}
		trigger = {
			GEN = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_generalgouvernment_state = yes
					CONTROLLER = {
						NOT = { tag = GEN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				GEN = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_generalgouvernment_state = yes
					CONTROLLER = {
						NOT = { tag = GEN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				GEN = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			GEN = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 88
					remember_old_capital = no
				}
				
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 2 }
				load_oob = "RK_OOB"
			}
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.12
			hours = 2
		}
		
		FROM = {
			hidden_effect = { puppet = GEN }
			set_autonomy = { target = GEN autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.50.b
		ai_chance = {
			base = 0
		}
		trigger = {
			GEN = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.51 }
	}
	
	option = {
		name = ksr.50.c
		ai_chance = {
			base = 0
		}
		trigger = {
			GEN = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.52 }
	}
	
	option = {
		name = ksr.50.d
		ai_chance = {
			base = 0
		}
		trigger = {
			GEN = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = GEN
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.50.e
		ai_chance = {
			base = 0
		}
	}
}



# Generalgouvernment - Manage Territories
country_event = {
	id = ksr.51
	title = ksr.51.t
	desc = ksr.51.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.51.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_generalgouvernment_extended_state = yes
				NOT = { is_owned_by = GEN }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = GEN }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = GEN }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_generalgouvernment_extended_state = yes
					CONTROLLER = {
						NOT = { tag = GEN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				GEN = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_generalgouvernment_extended_state = yes
					CONTROLLER = {
						NOT = { tag = GEN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				GEN = { transfer_state = PREV }
			}
		}
	}
	
	
	option = {
		name = ksr.51.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.50 }
	}
}


# Generalgouvernment - Move Capital
country_event = {
	id = ksr.52
	title = ksr.52.t
	desc = ksr.52.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.52.a
		ai_chance = {
			base = 0
		}
		trigger = {
			88 = {
				is_owned_by = GEN
				is_fully_controlled_by = GEN
				is_capital = no
			}
		}
		GEN = {
			set_capital = {
				state = 88
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.52.b
		ai_chance = {
			base = 0
		}
		trigger = {
			10 = {
				is_owned_by = GEN
				is_fully_controlled_by = GEN
				is_capital = no
			}
		}
		GEN = {
			set_capital = {
				state = 10
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.52.c
		ai_chance = {
			base = 0
		}
		trigger = {
			91 = {
				is_owned_by = GEN
				is_fully_controlled_by = GEN
				is_capital = no
			}
		}
		GEN = {
			set_capital = {
				state = 91
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.52.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.50 }
	}
}


# Reichskommissariat Niederlande
country_event = {
	id = ksr.53
	title = ksr.53.t
	desc = ksr.53.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.53.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKN = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_niederlande_state = yes
					CONTROLLER = {
						NOT = { tag = RKN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKN = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_niederlande_state = yes
					CONTROLLER = {
						NOT = { tag = RKN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKN = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKN = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 7
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKN }
			set_autonomy = { target = RKN autonomy_state = autonomy_reichskommissariat }
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.2
			hours = 2
		}	
	}
	
	option = {
		name = ksr.53.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKN = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.54 }
	}
	
	option = {
		name = ksr.53.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKN = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.55 }
	}
	
	option = {
		name = ksr.53.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKN = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKN
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.53.e
		ai_chance = {
			base = 0
		}
	}
}


# Reichskommissariat Niederlande - Manage Territories
country_event = {
	id = ksr.54
	title = ksr.54.t
	desc = ksr.54.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.54.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_niederlande_state = yes
				NOT = { is_owned_by = RKN }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKN }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKN }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_niederlande_state = yes
					CONTROLLER = {
						NOT = { tag = RKN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKN = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_niederlande_state = yes
					CONTROLLER = {
						NOT = { tag = RKN }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKN = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.54.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.53 }
	}
}


# Reichskommissariat Niederlande - Move Capital
country_event = {
	id = ksr.55
	title = ksr.55.t
	desc = ksr.55.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.55.a
		ai_chance = {
			base = 0
		}
		trigger = {
			7 = {
				is_owned_by = RKN
				is_fully_controlled_by = RKN
				is_capital = no
			}
		}
		RKN = {
			set_capital = {
				state = 7
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.55.b
		ai_chance = {
			base = 0
		}
		trigger = {
			1292 = {
				is_owned_by = RKN
				is_fully_controlled_by = RKN
				is_capital = no
			}
		}
		RKN = {
			set_capital = {
				state = 1292
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.55.c
		ai_chance = {
			base = 0
		}
		trigger = {
			35 = {
				is_owned_by = RKN
				is_fully_controlled_by = RKN
				is_capital = no
			}
		}
		RKN = {
			set_capital = {
				state = 35
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.55.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.53 }
	}
}



# Reichskommissariat Belgien-Nordfrankreich
country_event = {
	id = ksr.56
	title = ksr.56.t
	desc = ksr.56.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.56.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKB = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_belgien_nordfrankreich_state = yes
					CONTROLLER = {
						NOT = { tag = RKB }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKB = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_belgien_nordfrankreich_state = yes
					CONTROLLER = {
						NOT = { tag = RKB }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKB = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKB = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 6
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKB }
			set_autonomy = { target = RKB autonomy_state = autonomy_reichskommissariat }
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.1
			hours = 2
		}	
	}
	
	option = {
		name = ksr.56.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKB = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.57 }
	}
	
	option = {
		name = ksr.56.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKB = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.58 }
	}
	
	option = {
		name = ksr.56.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKB = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKB
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.56.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Belgien-Nordfrankreich - Manage Territories
country_event = {
	id = ksr.57
	title = ksr.57.t
	desc = ksr.57.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.57.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_belgien_nordfrankreich_state = yes
				NOT = { is_owned_by = RKB }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKB }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKB }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_belgien_nordfrankreich_state = yes
					OR = {
						is_owned_and_controlled_by = ROOT
						CONTROLLER = {
							NOT = { tag = RKB }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
				}
				RKB = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_belgien_nordfrankreich_state = yes
					CONTROLLER = {
						NOT = { tag = RKB }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKB = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.57.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.56 }
	}
}




# Reichskommissariat Belgien-Nordfrankreich - Move Capital
country_event = {
	id = ksr.58
	title = ksr.58.t
	desc = ksr.58.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.58.a
		ai_chance = {
			base = 0
		}
		trigger = {
			6 = {
				is_owned_by = RKB
				is_fully_controlled_by = RKB
				is_capital = no
			}
		}
		RKB = {
			set_capital = {
				state = 6
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.58.b
		ai_chance = {
			base = 0
		}
		trigger = {
			34 = {
				is_owned_by = RKB
				is_fully_controlled_by = RKB
				is_capital = no
			}
		}
		RKB = {
			set_capital = {
				state = 34
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.58.c
		ai_chance = {
			base = 0
		}
		trigger = {
			29 = {
				is_owned_by = RKB
				is_fully_controlled_by = RKB
				is_capital = no
			}
		}
		RKB = {
			set_capital = {
				state = 29
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.58.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.56 }
	}
}



# Reichskommissariat Norwegen
country_event = {
	id = ksr.59
	title = ksr.59.t
	desc = ksr.59.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.59.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKG = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_norwegen_state = yes
					OR = {
						is_owned_and_controlled_by = ROOT
						CONTROLLER = {
							NOT = { tag = RKG }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
				}
				RKG = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_norwegen_state = yes
					CONTROLLER = {
						NOT = { tag = RKG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKG = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKG = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 110
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKG }
			set_autonomy = { target = RKG autonomy_state = autonomy_reichskommissariat }
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.3
			hours = 2
		}
	}
	
	option = {
		name = ksr.59.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKG = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.60 }
	}
	
	option = {
		name = ksr.59.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKG = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.61 }
	}
	
	option = {
		name = ksr.59.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKG = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKG
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.59.e
		ai_chance = {
			base = 0
		}
	}
}








# Reichskommissariat Norwegen - Manage Territories
country_event = {
	id = ksr.60
	title = ksr.60.t
	desc = ksr.60.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.60.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_norwegen_state = yes
				NOT = { is_owned_by = RKG }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKG }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKG }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_norwegen_state = yes
					CONTROLLER = {
						NOT = { tag = RKG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKG = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_norwegen_state = yes
					CONTROLLER = {
						NOT = { tag = RKG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKG = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.60.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.59 }
	}
}




# Reichskommissariat Norwegen - Move Capital
country_event = {
	id = ksr.61
	title = ksr.61.t
	desc = ksr.61.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.61.a
		ai_chance = {
			base = 0
		}
		trigger = {
			110 = {
				is_owned_by = RKG
				is_fully_controlled_by = RKG
				is_capital = no
			}
		}
		RKG = {
			set_capital = {
				state = 110
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.61.b
		ai_chance = {
			base = 0
		}
		trigger = {
			142 = {
				is_owned_by = RKG
				is_fully_controlled_by = RKG
				is_capital = no
			}
		}
		RKG = {
			set_capital = {
				state = 142
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.61.c
		ai_chance = {
			base = 0
		}
		trigger = {
			144 = {
				is_owned_by = RKG
				is_fully_controlled_by = RKG
				is_capital = no
			}
		}
		RKG = {
			set_capital = {
				state = 144
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.61.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.59 }
	}
}


# Militarverwaltung Frankreich
country_event = {
	id = ksr.62
	title = ksr.62.t
	desc = ksr.62.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.62.a
		ai_chance = {
			base = 100
		}
		trigger = {
			MWF = {
				exists = no
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_militarverwaltung_frankreich_state = yes
					CONTROLLER = {
						NOT = { tag = MWF }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				MWF = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_militarverwaltung_frankreich_state = yes
					CONTROLLER = {
						NOT = { tag = MWF }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				MWF = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			MWF = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 16
					remember_old_capital = no
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = MWF }
			set_autonomy = { target = MWF autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.62.b
		ai_chance = {
			base = 0
		}
		trigger = {
			MWF = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.63 }
	}
	
	option = {
		name = ksr.62.c
		ai_chance = {
			base = 0
		}
		trigger = {
			MWF = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.64 }
	}
	
	option = {
		name = ksr.62.d
		ai_chance = {
			base = 0
		}
		trigger = {
			MWF = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = MWF
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.62.e
		ai_chance = {
			base = 0
		}
	}
}








# Militarverwaltung Frankreich - Manage Territories
country_event = {
	id = ksr.63
	title = ksr.63.t
	desc = ksr.63.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.63.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_militarverwaltung_frankreich_state = yes
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = MWF }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = MWF }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_militarverwaltung_frankreich_state = yes
					CONTROLLER = {
						NOT = { tag = MWF }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				MWF = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_militarverwaltung_frankreich_state = yes
					CONTROLLER = {
						NOT = { tag = MWF }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				MWF = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.63.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						20 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1522 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						21 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						22 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						25 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						26 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						31 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						32 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						33 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						735 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						851 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1301 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1302 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1303 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1304 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1305 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1306 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1381 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						20 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1522 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						21 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						22 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						25 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						26 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						31 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						32 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						33 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						735 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						851 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1301 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1302 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1303 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1304 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1305 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1306 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1381 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 20 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 20 } }
			if = { limit = { 1522 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1522 } }
			if = { limit = { 21 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 21 } }
			if = { limit = { 22 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 22 } }
			if = { limit = { 25 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 25 } }
			if = { limit = { 26 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 26 } }
			if = { limit = { 31 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 31 } }
			if = { limit = { 32 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 32 } }
			if = { limit = { 33 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 33 } }
			if = { limit = { 735 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 735 } }
			if = { limit = { 851 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 851 } }
			if = { limit = { 1301 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1301 } }
			if = { limit = { 1302 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1302 } }
			if = { limit = { 1303 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1303 } }
			if = { limit = { 1304 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1304 } }
			if = { limit = { 1305 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1305 } }
			if = { limit = { 1306 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1306 } }
			if = { limit = { 1381 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1381 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 20 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 20 } }
			if = { limit = { 1522 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1522 } }
			if = { limit = { 21 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 21 } }
			if = { limit = { 22 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 22 } }
			if = { limit = { 25 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 25 } }
			if = { limit = { 26 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 26 } }
			if = { limit = { 31 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 31 } }
			if = { limit = { 32 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 32 } }
			if = { limit = { 33 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 33 } }
			if = { limit = { 735 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 735 } }
			if = { limit = { 851 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 851 } }
			if = { limit = { 1301 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1301 } }
			if = { limit = { 1302 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1302 } }
			if = { limit = { 1303 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1303 } }
			if = { limit = { 1304 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1304 } }
			if = { limit = { 1305 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1305 } }
			if = { limit = { 1306 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1306 } }
			if = { limit = { 1381 = { CONTROLLER = { NOT = { tag = MWF } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			MWF = { transfer_state = 1381 } }
		}
	}
	
	
	option = {
		name = ksr.63.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.62 }
	}
}




# Militarverwaltung Frankreich - Move Capital
country_event = {
	id = ksr.64
	title = ksr.64.t
	desc = ksr.64.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.64.a
		ai_chance = {
			base = 0
		}
		trigger = {
			16 = {
				is_owned_by = MWF
				is_fully_controlled_by = MWF
				is_capital = no
			}
		}
		MWF = {
			set_capital = {
				state = 16
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.64.b
		ai_chance = {
			base = 0
		}
		trigger = {
			19 = {
				is_owned_by = MWF
				is_fully_controlled_by = MWF
				is_capital = no
			}
		}
		MWF = {
			set_capital = {
				state = 19
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.64.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1402 = {
				is_owned_by = MWF
				is_fully_controlled_by = MWF
				is_capital = no
			}
		}
		MWF = {
			set_capital = {
				state = 1402
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.64.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.62 }
	}
}



# Reichskommissariat Ostland
country_event = {
	id = ksr.65
	title = ksr.65.t
	desc = ksr.65.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.65.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKO = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_ostland_state = yes
					CONTROLLER = {
						NOT = { tag = RKO }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKO = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_ostland_state = yes
					CONTROLLER = {
						NOT = { tag = RKO }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKO = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKO = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 808
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.5
			hours = 2
		}	
		
		FROM = {
			hidden_effect = { puppet = RKO }
			set_autonomy = { target = RKO autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.65.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKO = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.66 }
	}
	
	option = {
		name = ksr.65.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKO = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.67 }
	}
	
	option = {
		name = ksr.65.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKO = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKO
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.65.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Ostland - Manage Territories
country_event = {
	id = ksr.66
	title = ksr.66.t
	desc = ksr.66.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.66.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_ostland_extended_state = yes
				NOT = { is_owned_by = RKO }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKO }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKO }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_ostland_extended_state = yes
					CONTROLLER = {
						NOT = { tag = RKO }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKO = {
					transfer_state = PREV
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_ostland_extended_state = yes
					CONTROLLER = {
						NOT = { tag = RKO }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKO = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.66.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.65 }
	}
}


# Reichskommissariat Ostland - Move Capital
country_event = {
	id = ksr.67
	title = ksr.67.t
	desc = ksr.67.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.67.a
		ai_chance = {
			base = 0
		}
		trigger = {
			808 = {
				is_owned_by = RKO
				is_fully_controlled_by = RKO
				is_capital = no
			}
		}
		RKO = {
			set_capital = {
				state = 808
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.67.b
		ai_chance = {
			base = 0
		}
		trigger = {
			784 = {
				is_owned_by = RKO
				is_fully_controlled_by = RKO
				is_capital = no
			}
		}
		RKO = {
			set_capital = {
				state = 784
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.67.c
		ai_chance = {
			base = 0
		}
		trigger = {
			206 = {
				is_owned_by = RKO
				is_fully_controlled_by = RKO
				is_capital = no
			}
		}
		RKO = {
			set_capital = {
				state = 206
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.67.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.65 }
	}
}



# Reichskommissariat Ukraine
country_event = {
	id = ksr.68
	title = ksr.68.t
	desc = ksr.68.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.68.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKU = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_ukraine_state = yes
					CONTROLLER = {
						NOT = { tag = RKU }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKU = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_ukraine_state = yes
					CONTROLLER = {
						NOT = { tag = RKU }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKU = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKU = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 93
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKU }
			set_autonomy = { target = RKU autonomy_state = autonomy_reichskommissariat }
		}
		country_event = {
			id = wuw_GER_reichskommissariats.4
			hours = 2
		}	
	}
	
	option = {
		name = ksr.68.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKU = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.69 }
	}
	
	option = {
		name = ksr.68.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKU = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.70 }
	}
	
	option = {
		name = ksr.68.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKU = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKU
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.68.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Ukraine - Manage Territories
country_event = {
	id = ksr.69
	title = ksr.69.t
	desc = ksr.69.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.69.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				OR = {
					KSR_is_rk_ukraine_state = yes
					KSR_is_rk_ukraine_extended_state = yes
				}
				NOT = { is_owned_by = RKU }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKU }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKU }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					OR = {
						KSR_is_rk_ukraine_state = yes
						KSR_is_rk_ukraine_extended_state = yes
					}
					CONTROLLER = {
						NOT = { tag = RKU }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKU = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					OR = {
						KSR_is_rk_ukraine_state = yes
						KSR_is_rk_ukraine_extended_state = yes
					}
					CONTROLLER = {
						NOT = { tag = RKU }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKU = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.69.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_don_wolga_state = yes
				NOT = { is_owned_by = RKU }
				OR = {
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = DISABLED
						}
						CONTROLLER = {
							NOT = { tag = RKU }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						OR = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = WW2_HISTORICAL_ONLY
							}
						}
						CONTROLLER = {
							NOT = { tag = RKU }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = DISABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RKU }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKU = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = WW2_HISTORICAL_ONLY
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RKU }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKU = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.69.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.68 }
	}
}


# Reichskommissariat Ukraine - Move Capital
country_event = {
	id = ksr.70
	title = ksr.70.t
	desc = ksr.70.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.70.a
		ai_chance = {
			base = 0
		}
		trigger = {
			93 = {
				is_owned_by = RKU
				is_fully_controlled_by = RKU
				is_capital = no
			}
		}
		RKU = {
			set_capital = {
				state = 93
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.70.b
		ai_chance = {
			base = 0
		}
		trigger = {
			202 = {
				is_owned_by = RKU
				is_fully_controlled_by = RKU
				is_capital = no
			}
		}
		RKU = {
			set_capital = {
				state = 202
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.70.c
		ai_chance = {
			base = 0
		}
		trigger = {
			226 = {
				is_owned_by = RKU
				is_fully_controlled_by = RKU
				is_capital = no
			}
		}
		RKU = {
			set_capital = {
				state = 226
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.70.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.68 }
	}
}



# Reichskommissariat Kaukasien
country_event = {
	id = ksr.74
	title = ksr.74.t
	desc = ksr.74.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.74.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKK = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 231 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 231 } }
			if = { limit = { 230 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 230 } }
			if = { limit = { 229 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 229 } }
			if = { limit = { 1057 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1057 } }
			if = { limit = { 1118 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1118 } }
			if = { limit = { 1119 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1119 } }
			if = { limit = { 1120 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1120 } }
			if = { limit = { 1121 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1121 } }
			if = { limit = { 1122 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1122 } }
			if = { limit = { 1123 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1123 } }
			if = { limit = { 1124 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1124 } }
			if = { limit = { 1125 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1125 } }
			if = { limit = { 1126 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1126 } }
			if = { limit = { 1127 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1127 } }
			if = { limit = { 826 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 826 } }
			if = { limit = { 232 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 232 } }
			if = { limit = { 821 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 821 } }
			if = { limit = { 828 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 828 } }
			if = { limit = { 235 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 235 } }
			if = { limit = { 827 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 827 } }
			if = { limit = { 233 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 233 } }
			if = { limit = { 1077 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1077 } }
			if = { limit = { 234 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 234 } }
			if = { limit = { 1097 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1097 } }
			if = { limit = { 1098 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1098 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 231 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 231 } }
			if = { limit = { 230 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 230 } }
			if = { limit = { 229 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 229 } }
			if = { limit = { 1057 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1057 } }
			if = { limit = { 1118 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1118 } }
			if = { limit = { 1119 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1119 } }
			if = { limit = { 1120 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1120 } }
			if = { limit = { 1121 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1121 } }
			if = { limit = { 1122 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1122 } }
			if = { limit = { 1123 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1123 } }
			if = { limit = { 1124 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1124 } }
			if = { limit = { 1125 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1125 } }
			if = { limit = { 1126 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1126 } }
			if = { limit = { 1127 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1127 } }
			if = { limit = { 826 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 826 } }
			if = { limit = { 232 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 232 } }
			if = { limit = { 821 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 821 } }
			if = { limit = { 828 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 828 } }
			if = { limit = { 235 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 235 } }
			if = { limit = { 827 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 827 } }
			if = { limit = { 233 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 233 } }
			if = { limit = { 1077 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1077 } }
			if = { limit = { 234 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 234 } }
			if = { limit = { 1097 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1097 } }
			if = { limit = { 1098 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1098 } }
		}
		
		hidden_effect = {
			RKK = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 231
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKK }
			set_autonomy = { target = RKK autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.74.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.75 }
	}
	
	option = {
		name = ksr.74.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.94 }
	}
	
	option = {
		name = ksr.74.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKK = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKK
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.74.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Kaukasien - Manage Territories
country_event = {
	id = ksr.75
	title = ksr.75.t
	desc = ksr.75.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.75.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						231 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						230 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						229 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1057 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1118 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1119 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1120 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1121 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1122 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1123 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1124 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1125 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1126 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1127 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						826 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						232 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						821 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						828 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						235 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						827 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						233 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1077 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						234 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1097 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1098 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						231 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						230 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						229 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1057 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1118 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1119 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1120 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1121 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1122 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1123 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1124 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1125 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1126 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1127 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						826 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						232 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						821 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						828 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						235 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						827 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						233 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1077 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						234 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1097 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1098 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 231 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 231 } }
			if = { limit = { 230 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 230 } }
			if = { limit = { 229 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 229 } }
			if = { limit = { 1057 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1057 } }
			if = { limit = { 1118 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1118 } }
			if = { limit = { 1119 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1119 } }
			if = { limit = { 1120 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1120 } }
			if = { limit = { 1121 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1121 } }
			if = { limit = { 1122 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1122 } }
			if = { limit = { 1123 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1123 } }
			if = { limit = { 1124 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1124 } }
			if = { limit = { 1125 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1125 } }
			if = { limit = { 1126 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1126 } }
			if = { limit = { 1127 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1127 } }
			if = { limit = { 826 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 826 } }
			if = { limit = { 232 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 232 } }
			if = { limit = { 821 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 821 } }
			if = { limit = { 828 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 828 } }
			if = { limit = { 235 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 235 } }
			if = { limit = { 827 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 827 } }
			if = { limit = { 233 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 233 } }
			if = { limit = { 1077 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1077 } }
			if = { limit = { 234 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 234 } }
			if = { limit = { 1097 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1097 } }
			if = { limit = { 1098 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1098 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 231 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 231 } }
			if = { limit = { 230 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 230 } }
			if = { limit = { 229 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 229 } }
			if = { limit = { 1057 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1057 } }
			if = { limit = { 1118 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1118 } }
			if = { limit = { 1119 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1119 } }
			if = { limit = { 1120 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1120 } }
			if = { limit = { 1121 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1121 } }
			if = { limit = { 1122 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1122 } }
			if = { limit = { 1123 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1123 } }
			if = { limit = { 1124 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1124 } }
			if = { limit = { 1125 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1125 } }
			if = { limit = { 1126 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1126 } }
			if = { limit = { 1127 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1127 } }
			if = { limit = { 826 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 826 } }
			if = { limit = { 232 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 232 } }
			if = { limit = { 821 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 821 } }
			if = { limit = { 828 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 828 } }
			if = { limit = { 235 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 235 } }
			if = { limit = { 827 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 827 } }
			if = { limit = { 233 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 233 } }
			if = { limit = { 1077 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1077 } }
			if = { limit = { 234 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 234 } }
			if = { limit = { 1097 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1097 } }
			if = { limit = { 1098 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1098 } }
		}
	}
	
	
	option = {
		name = ksr.75.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						218 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						238 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1078 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						245 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						237 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						236 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						217 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						829 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						265 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						218 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						238 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1078 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						245 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						237 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						236 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						217 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						829 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						265 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 218 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 218 } }
			if = { limit = { 238 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 238 } }
			if = { limit = { 1078 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1078 } }
			if = { limit = { 245 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 245 } }
			if = { limit = { 237 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 237 } }
			if = { limit = { 236 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 236 } }
			if = { limit = { 217 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 217 } }
			if = { limit = { 829 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 829 } }
			if = { limit = { 265 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 265 } }
			
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 218 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 218 } }
			if = { limit = { 238 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 238 } }
			if = { limit = { 1078 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 1078 } }
			if = { limit = { 245 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 245 } }
			if = { limit = { 237 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 237 } }
			if = { limit = { 236 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 236 } }
			if = { limit = { 217 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 217 } }
			if = { limit = { 829 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 829 } }
			if = { limit = { 265 = { CONTROLLER = { NOT = { tag = RKK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKK = { transfer_state = 265 } }
		}
	}
	
	
	option = {
		name = ksr.75.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.74 }
	}
}


# Reichskommissariat Kaukasien - Move Capital
country_event = {
	id = ksr.76
	title = ksr.76.t
	desc = ksr.76.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.76.a
		ai_chance = {
			base = 0
		}
		trigger = {
			231 = {
				is_owned_by = RKK
				is_fully_controlled_by = RKK
				is_capital = no
			}
		}
		RKK = {
			set_capital = {
				state = 231
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.76.b
		ai_chance = {
			base = 0
		}
		trigger = {
			229 = {
				is_owned_by = RKK
				is_fully_controlled_by = RKK
				is_capital = no
			}
		}
		RKK = {
			set_capital = {
				state = 229
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.76.c
		ai_chance = {
			base = 0
		}
		trigger = {
			821 = {
				is_owned_by = RKK
				is_fully_controlled_by = RKK
				is_capital = no
			}
		}
		RKK = {
			set_capital = {
				state = 821
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.76.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.74 }
	}
}





# Reichskommissariat Don-Wolga
country_event = {
	id = ksr.77
	title = ksr.77.t
	desc = ksr.77.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.77.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RDW = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RDW }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RDW = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RDW }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RDW = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RDW = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 218
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RDW }
			set_autonomy = { target = RDW autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.77.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RDW = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.78 }
	}
	
	option = {
		name = ksr.77.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RDW = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.79 }
	}
	
	option = {
		name = ksr.77.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RDW = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RDW
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.77.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Don-Wolga - Manage Territories
country_event = {
	id = ksr.78
	title = ksr.78.t
	desc = ksr.78.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.78.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_don_wolga_state = yes
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RDW }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RDW }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RDW }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RDW = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RDW }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RDW = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.78.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						407 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1527 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						407 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1527 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 407 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RDW = { transfer_state = 407 } }
			if = { limit = { 1527 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RDW = { transfer_state = 1527 } }
			
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 407 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RDW = { transfer_state = 407 } }
			if = { limit = { 1527 = { CONTROLLER = { NOT = { tag = RDW } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RDW = { transfer_state = 1527 } }
		}
	}
	
	
	option = {
		name = ksr.78.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.77 }
	}
}


# Reichskommissariat Don-Wolga - Move Capital
country_event = {
	id = ksr.79
	title = ksr.79.t
	desc = ksr.79.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.79.a
		ai_chance = {
			base = 0
		}
		trigger = {
			218 = {
				is_owned_by = RDW
				is_fully_controlled_by = RDW
				is_capital = no
			}
		}
		RDW = {
			set_capital = {
				state = 218
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.79.b
		ai_chance = {
			base = 0
		}
		trigger = {
			217 = {
				is_owned_by = RDW
				is_fully_controlled_by = RDW
				is_capital = no
			}
		}
		RDW = {
			set_capital = {
				state = 217
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.79.c
		ai_chance = {
			base = 0
		}
		trigger = {
			236 = {
				is_owned_by = RDW
				is_fully_controlled_by = RDW
				is_capital = no
			}
		}
		RDW = {
			set_capital = {
				state = 236
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.79.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.77 }
	}
}




# Reichskommissariat Moskowien
country_event = {
	id = ksr.80
	title = ksr.80.t
	desc = ksr.80.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.80.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKM = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_moskowien_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKM = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_moskowien_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKM = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RKM = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 219
					remember_old_capital = no
				}
				add_manpower = 80000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 10000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 1000
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKM }
			set_autonomy = { target = RKM autonomy_state = autonomy_reichskommissariat }
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.8
			hours = 2
		}
	}
	
	option = {
		name = ksr.80.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKM = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.81 }
	}
	
	option = {
		name = ksr.80.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKM = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.82 }
	}
	
	option = {
		name = ksr.80.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKM = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKM
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.80.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Moskowien - Manage Territories
country_event = {
	id = ksr.81
	title = ksr.81.t
	desc = ksr.81.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.81.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_moskowien_state = yes
				NOT = { is_owned_by = RKM }
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RKM }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RKM }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_moskowien_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKM = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_moskowien_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKM = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.81.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_don_wolga_state = yes
				NOT = { is_owned_by = RKM }
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RKM }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RKM }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKM = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_don_wolga_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKM = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.81.e
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_moskowien_ural_state = yes
				NOT = { is_owned_by = RKM }
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RKM }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RKM }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_moskowien_ural_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RKM = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_moskowien_ural_state = yes
					CONTROLLER = {
						NOT = { tag = RKM }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RKM = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.81.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.80 }
	}
}


# Reichskommissariat Moskowien - Move Capital
country_event = {
	id = ksr.82
	title = ksr.82.t
	desc = ksr.82.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.82.a
		ai_chance = {
			base = 0
		}
		trigger = {
			219 = {
				is_owned_by = RKM
				is_fully_controlled_by = RKM
				is_capital = no
			}
		}
		RKM = {
			set_capital = {
				state = 219
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.82.b
		ai_chance = {
			base = 0
		}
		trigger = {
			195 = {
				is_owned_by = RKM
				is_fully_controlled_by = RKM
				is_capital = no
			}
		}
		RKM = {
			set_capital = {
				state = 195
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.82.c
		ai_chance = {
			base = 0
		}
		trigger = {
			252 = {
				is_owned_by = RKM
				is_fully_controlled_by = RKM
				is_capital = no
			}
		}
		RKM = {
			set_capital = {
				state = 252
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.82.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.80 }
	}
}




# Reichskommissariat Ural
country_event = {
	id = ksr.83
	title = ksr.83.t
	desc = ksr.83.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.83.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKL = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 653 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 653 } }
			if = { limit = { 572 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 572 } }
			if = { limit = { 582 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 582 } }
			if = { limit = { 1524 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1524 } }
			if = { limit = { 651 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 651 } }
			if = { limit = { 573 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 573 } }
			if = { limit = { 398 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 398 } }
			if = { limit = { 1523 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1523 } }
			if = { limit = { 397 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 397 } }
			if = { limit = { 262 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 262 } }
			if = { limit = { 825 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 825 } }
			if = { limit = { 581 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 581 } }
			if = { limit = { 579 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 579 } }
			if = { limit = { 580 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 580 } }
			if = { limit = { 403 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 403 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 653 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 653 } }
			if = { limit = { 572 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 572 } }
			if = { limit = { 582 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 582 } }
			if = { limit = { 1524 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1524 } }
			if = { limit = { 651 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 651 } }
			if = { limit = { 573 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 573 } }
			if = { limit = { 398 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 398 } }
			if = { limit = { 1523 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1523 } }
			if = { limit = { 397 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 397 } }
			if = { limit = { 262 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 262 } }
			if = { limit = { 825 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 825 } }
			if = { limit = { 581 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 581 } }
			if = { limit = { 579 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 579 } }
			if = { limit = { 580 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 580 } }
			if = { limit = { 403 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 403 } }
		}
		
		hidden_effect = {
			RKL = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 653
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKL }
			set_autonomy = { target = RKL autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.83.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKL = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.84 }
	}
	
	option = {
		name = ksr.83.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKL = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.85 }
	}
	
	option = {
		name = ksr.83.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKL = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKL
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.83.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Ural - Manage Territories
country_event = {
	id = ksr.84
	title = ksr.84.t
	desc = ksr.84.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.84.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						653 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						572 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						582 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1524 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						651 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						573 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						398 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1523 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						397 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						262 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						825 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						581 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						579 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						580 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						403 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						653 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						572 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						582 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1524 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						651 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						573 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						398 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1523 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						397 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						262 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						825 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						581 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						579 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						580 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						403 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 653 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 653 } }
			if = { limit = { 572 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 572 } }
			if = { limit = { 582 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 582 } }
			if = { limit = { 1524 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1524 } }
			if = { limit = { 651 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 651 } }
			if = { limit = { 573 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 573 } }
			if = { limit = { 398 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 398 } }
			if = { limit = { 1523 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1523 } }
			if = { limit = { 397 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 397 } }
			if = { limit = { 262 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 262 } }
			if = { limit = { 825 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 825 } }
			if = { limit = { 581 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 581 } }
			if = { limit = { 579 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 579 } }
			if = { limit = { 580 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 580 } }
			if = { limit = { 403 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 403 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 653 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 653 } }
			if = { limit = { 572 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 572 } }
			if = { limit = { 582 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 582 } }
			if = { limit = { 1524 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1524 } }
			if = { limit = { 651 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 651 } }
			if = { limit = { 573 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 573 } }
			if = { limit = { 398 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 398 } }
			if = { limit = { 1523 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 1523 } }
			if = { limit = { 397 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 397 } }
			if = { limit = { 262 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 262 } }
			if = { limit = { 825 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 825 } }
			if = { limit = { 581 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 581 } }
			if = { limit = { 579 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 579 } }
			if = { limit = { 580 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 580 } }
			if = { limit = { 403 = { CONTROLLER = { NOT = { tag = RKL } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKL = { transfer_state = 403 } }
		}
	}
	
	
	option = {
		name = ksr.84.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.83 }
	}
}


# Reichskommissariat Ural - Move Capital
country_event = {
	id = ksr.85
	title = ksr.85.t
	desc = ksr.85.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.85.a
		ai_chance = {
			base = 0
		}
		trigger = {
			653 = {
				is_owned_by = RKL
				is_fully_controlled_by = RKL
				is_capital = no
			}
		}
		RKL = {
			set_capital = {
				state = 653
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.85.b
		ai_chance = {
			base = 0
		}
		trigger = {
			572 = {
				is_owned_by = RKL
				is_fully_controlled_by = RKL
				is_capital = no
			}
		}
		RKL = {
			set_capital = {
				state = 572
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.85.c
		ai_chance = {
			base = 0
		}
		trigger = {
			651 = {
				is_owned_by = RKL
				is_fully_controlled_by = RKL
				is_capital = no
			}
		}
		RKL = {
			set_capital = {
				state = 651
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.85.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.83 }
	}
}




# Reichskommissariat Turkestan
country_event = {
	id = ksr.86
	title = ksr.86.t
	desc = ksr.86.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.86.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RKT = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 405 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 405 } }
			if = { limit = { 742 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 742 } }
			if = { limit = { 732 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 732 } }
			if = { limit = { 830 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 830 } }
			if = { limit = { 584 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 584 } }
			if = { limit = { 832 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 832 } }
			if = { limit = { 587 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 587 } }
			if = { limit = { 823 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 823 } }
			if = { limit = { 831 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 831 } }
			if = { limit = { 585 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 585 } }
			if = { limit = { 404 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 404 } }
			if = { limit = { 586 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 586 } }
			if = { limit = { 407 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 407 } }
			if = { limit = { 1526 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1526 } }
			if = { limit = { 406 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 406 } }
			if = { limit = { 1527 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1527 } }
			if = { limit = { 402 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 402 } }
			if = { limit = { 589 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 589 } }
			if = { limit = { 881 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 881 } }
			if = { limit = { 583 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 583 } }
			if = { limit = { 590 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 590 } }
			if = { limit = { 588 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 588 } }
			if = { limit = { 882 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 882 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 405 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 405 } }
			if = { limit = { 742 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 742 } }
			if = { limit = { 732 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 732 } }
			if = { limit = { 830 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 830 } }
			if = { limit = { 584 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 584 } }
			if = { limit = { 832 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 832 } }
			if = { limit = { 587 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 587 } }
			if = { limit = { 823 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 823 } }
			if = { limit = { 831 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 831 } }
			if = { limit = { 585 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 585 } }
			if = { limit = { 404 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 404 } }
			if = { limit = { 586 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 586 } }
			if = { limit = { 407 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 407 } }
			if = { limit = { 1526 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1526 } }
			if = { limit = { 406 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 406 } }
			if = { limit = { 1527 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1527 } }
			if = { limit = { 402 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 402 } }
			if = { limit = { 589 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 589 } }
			if = { limit = { 881 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 881 } }
			if = { limit = { 583 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 583 } }
			if = { limit = { 590 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 590 } }
			if = { limit = { 588 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 588 } }
			if = { limit = { 882 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 882 } }
		}
		
		hidden_effect = {
			RKT = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 405
					remember_old_capital = no
				}
				add_manpower = 80000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 10000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 1000
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RKT }
			set_autonomy = { target = RKT autonomy_state = autonomy_reichskommissariat }
		}
		
		country_event = {
			id = wuw_GER_reichskommissariats.7
			hours = 2
		}	
	}
	
	option = {
		name = ksr.86.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RKT = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.87 }
	}
	
	option = {
		name = ksr.86.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RKT = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.88 }
	}
	
	option = {
		name = ksr.86.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RKT = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RKT
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.86.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Turkestan - Manage Territories
country_event = {
	id = ksr.87
	title = ksr.87.t
	desc = ksr.87.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.87.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						405 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						742 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						732 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						830 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						584 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						832 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						587 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						823 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						831 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						585 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						404 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						586 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						407 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1526 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						406 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1527 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						402 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						589 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						881 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						583 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						590 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						588 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						882 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						405 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						742 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						732 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						830 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						584 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						832 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						587 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						823 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						831 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						585 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						404 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						586 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						407 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1526 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						406 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1527 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						402 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						589 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						881 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						583 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						590 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						588 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						882 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 405 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 405 } }
			if = { limit = { 742 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 742 } }
			if = { limit = { 732 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 732 } }
			if = { limit = { 830 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 830 } }
			if = { limit = { 584 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 584 } }
			if = { limit = { 832 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 832 } }
			if = { limit = { 587 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 587 } }
			if = { limit = { 823 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 823 } }
			if = { limit = { 831 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 831 } }
			if = { limit = { 585 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 585 } }
			if = { limit = { 404 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 404 } }
			if = { limit = { 586 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 586 } }
			if = { limit = { 407 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 407 } }
			if = { limit = { 1526 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1526 } }
			if = { limit = { 406 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 406 } }
			if = { limit = { 1527 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1527 } }
			if = { limit = { 402 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 402 } }
			if = { limit = { 589 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 589 } }
			if = { limit = { 881 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 881 } }
			if = { limit = { 583 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 583 } }
			if = { limit = { 590 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 590 } }
			if = { limit = { 588 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 588 } }
			if = { limit = { 882 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 882 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 405 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 405 } }
			if = { limit = { 742 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 742 } }
			if = { limit = { 732 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 732 } }
			if = { limit = { 830 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 830 } }
			if = { limit = { 584 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 584 } }
			if = { limit = { 832 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 832 } }
			if = { limit = { 587 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 587 } }
			if = { limit = { 823 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 823 } }
			if = { limit = { 831 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 831 } }
			if = { limit = { 585 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 585 } }
			if = { limit = { 404 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 404 } }
			if = { limit = { 586 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 586 } }
			if = { limit = { 407 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 407 } }
			if = { limit = { 1526 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1526 } }
			if = { limit = { 406 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 406 } }
			if = { limit = { 1527 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 1527 } }
			if = { limit = { 402 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 402 } }
			if = { limit = { 589 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 589 } }
			if = { limit = { 881 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 881 } }
			if = { limit = { 583 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 583 } }
			if = { limit = { 590 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 590 } }
			if = { limit = { 588 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 588 } }
			if = { limit = { 882 = { CONTROLLER = { NOT = { tag = RKT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RKT = { transfer_state = 882 } }
		}
	}
	
	
	option = {
		name = ksr.87.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.86 }
	}
}


# Reichskommissariat Turkestan - Move Capital
country_event = {
	id = ksr.88
	title = ksr.88.t
	desc = ksr.88.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.88.a
		ai_chance = {
			base = 0
		}
		trigger = {
			405 = {
				is_owned_by = RKT
				is_fully_controlled_by = RKT
				is_capital = no
			}
		}
		RKT = {
			set_capital = {
				state = 405
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.88.b
		ai_chance = {
			base = 0
		}
		trigger = {
			586 = {
				is_owned_by = RKT
				is_fully_controlled_by = RKT
				is_capital = no
			}
		}
		RKT = {
			set_capital = {
				state = 586
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.88.c
		ai_chance = {
			base = 0
		}
		trigger = {
			742 = {
				is_owned_by = RKT
				is_fully_controlled_by = RKT
				is_capital = no
			}
		}
		RKT = {
			set_capital = {
				state = 742
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.88.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.86 }
	}
}



# Reichskommissariat Sibirien
country_event = {
	id = ksr.89
	title = ksr.89.t
	desc = ksr.89.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.89.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RSB = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 570 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 570 } }
			if = { limit = { 571 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 571 } }
			if = { limit = { 40 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 40 } }
			if = { limit = { 1093 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1093 } }
			if = { limit = { 654 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 654 } }
			if = { limit = { 569 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 569 } }
			if = { limit = { 329 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 329 } }
			if = { limit = { 568 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 568 } }
			if = { limit = { 577 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 577 } }
			if = { limit = { 578 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 578 } }
			if = { limit = { 576 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 576 } }
			if = { limit = { 824 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 824 } }
			if = { limit = { 516 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 516 } }
			if = { limit = { 878 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 878 } }
			if = { limit = { 567 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 567 } }
			if = { limit = { 566 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 566 } }
			if = { limit = { 564 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 564 } }
			if = { limit = { 575 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 575 } }
			if = { limit = { 565 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 565 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 570 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 570 } }
			if = { limit = { 571 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 571 } }
			if = { limit = { 40 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 40 } }
			if = { limit = { 1093 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1093 } }
			if = { limit = { 654 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 654 } }
			if = { limit = { 569 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 569 } }
			if = { limit = { 329 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 329 } }
			if = { limit = { 568 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 568 } }
			if = { limit = { 577 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 577 } }
			if = { limit = { 578 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 578 } }
			if = { limit = { 576 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 576 } }
			if = { limit = { 824 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 824 } }
			if = { limit = { 516 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 516 } }
			if = { limit = { 878 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 878 } }
			if = { limit = { 567 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 567 } }
			if = { limit = { 566 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 566 } }
			if = { limit = { 564 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 564 } }
			if = { limit = { 575 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 575 } }
			if = { limit = { 565 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 565 } }
		}
		
		hidden_effect = {
			RSB = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 570
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RSB }
			set_autonomy = { target = RSB autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.89.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RSB = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.90 }
	}
	
	option = {
		name = ksr.89.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RSB = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.91 }
	}
	
	option = {
		name = ksr.89.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RSB = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RSB
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.89.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Sibirien - Manage Territories
country_event = {
	id = ksr.90
	title = ksr.90.t
	desc = ksr.90.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.90.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						570 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						571 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						40 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1093 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						654 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						569 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						329 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						568 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						577 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						578 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						576 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						824 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						516 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						878 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						567 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						566 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						564 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						575 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						565 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						570 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						571 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						40 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1093 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						654 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						569 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						329 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						568 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						577 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						578 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						576 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						824 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						516 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						878 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						567 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						566 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						564 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						575 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						565 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 570 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 570 } }
			if = { limit = { 571 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 571 } }
			if = { limit = { 40 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 40 } }
			if = { limit = { 1093 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1093 } }
			if = { limit = { 654 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 654 } }
			if = { limit = { 569 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 569 } }
			if = { limit = { 329 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 329 } }
			if = { limit = { 568 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 568 } }
			if = { limit = { 577 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 577 } }
			if = { limit = { 578 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 578 } }
			if = { limit = { 576 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 576 } }
			if = { limit = { 824 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 824 } }
			if = { limit = { 516 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 516 } }
			if = { limit = { 878 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 878 } }
			if = { limit = { 567 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 567 } }
			if = { limit = { 566 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 566 } }
			if = { limit = { 564 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 564 } }
			if = { limit = { 575 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 575 } }
			if = { limit = { 565 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 565 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 570 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 570 } }
			if = { limit = { 571 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 571 } }
			if = { limit = { 40 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 40 } }
			if = { limit = { 1093 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1093 } }
			if = { limit = { 654 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 654 } }
			if = { limit = { 569 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 569 } }
			if = { limit = { 329 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 329 } }
			if = { limit = { 568 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 568 } }
			if = { limit = { 577 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 577 } }
			if = { limit = { 578 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 578 } }
			if = { limit = { 576 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 576 } }
			if = { limit = { 824 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 824 } }
			if = { limit = { 516 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 516 } }
			if = { limit = { 878 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 878 } }
			if = { limit = { 567 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 567 } }
			if = { limit = { 566 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 566 } }
			if = { limit = { 564 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 564 } }
			if = { limit = { 575 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 575 } }
			if = { limit = { 565 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 565 } }
		}
	}
	
	
	option = {
		name = ksr.90.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						403 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						572 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						573 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						579 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						580 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						581 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						582 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1523 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1524 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						653 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						403 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						572 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						573 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						579 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						580 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						581 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						582 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1523 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1524 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						653 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 403 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 403 } }
			if = { limit = { 572 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 572 } }
			if = { limit = { 573 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 573 } }
			if = { limit = { 579 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 579 } }
			if = { limit = { 580 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 580 } }
			if = { limit = { 581 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 581 } }
			if = { limit = { 582 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 582 } }
			if = { limit = { 1523 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1523 } }
			if = { limit = { 1524 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1524 } }
			if = { limit = { 653 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 653 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 403 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 403 } }
			if = { limit = { 572 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 572 } }
			if = { limit = { 573 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 573 } }
			if = { limit = { 579 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 579 } }
			if = { limit = { 580 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 580 } }
			if = { limit = { 581 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 581 } }
			if = { limit = { 582 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 582 } }
			if = { limit = { 1523 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1523 } }
			if = { limit = { 1524 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 1524 } }
			if = { limit = { 653 = { CONTROLLER = { NOT = { tag = RSB } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RSB = { transfer_state = 653 } }
		}
	}
	
	
	option = {
		name = ksr.90.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.89 }
	}
}


# Reichskommissariat Sibirien - Move Capital
country_event = {
	id = ksr.91
	title = ksr.91.t
	desc = ksr.91.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.91.a
		ai_chance = {
			base = 0
		}
		trigger = {
			570 = {
				is_owned_by = RSB
				is_fully_controlled_by = RSB
				is_capital = no
			}
		}
		RSB = {
			set_capital = {
				state = 570
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.91.b
		ai_chance = {
			base = 0
		}
		trigger = {
			571 = {
				is_owned_by = RSB
				is_fully_controlled_by = RSB
				is_capital = no
			}
		}
		RSB = {
			set_capital = {
				state = 571
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.91.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1093 = {
				is_owned_by = RSB
				is_fully_controlled_by = RSB
				is_capital = no
			}
		}
		RSB = {
			set_capital = {
				state = 1093
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.91.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.89 }
	}
}



# Reichskommissariat Ferner-Osten
country_event = {
	id = ksr.92
	title = ksr.92.t
	desc = ksr.92.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.92.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RFO = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 409 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 657 } }
			if = { limit = { 655 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 655 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1337 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 563 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 562 } }
			if = { limit = { 574 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 574 } }
			if = { limit = { 877 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 877 } }
			if = { limit = { 644 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 644 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 874 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 822 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 637 } }
			if = { limit = { 537 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 537 } }
			if = { limit = { 555 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 555 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 875 } }
			if = { limit = { 876 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 876 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 409 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 657 } }
			if = { limit = { 655 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 655 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1337 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 563 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 562 } }
			if = { limit = { 574 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 574 } }
			if = { limit = { 877 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 877 } }
			if = { limit = { 644 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 644 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 874 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 822 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 637 } }
			if = { limit = { 537 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 537 } }
			if = { limit = { 555 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 555 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 875 } }
			if = { limit = { 876 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 876 } }
		}
		
		hidden_effect = {
			RFO = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 408
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RFO }
			set_autonomy = { target = RFO autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.92.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RFO = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.93 }
	}
	
	option = {
		name = ksr.92.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RFO = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.94 }
	}
	
	option = {
		name = ksr.92.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RFO = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RFO
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.92.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Ferner-Osten - Manage Territories
country_event = {
	id = ksr.93
	title = ksr.93.t
	desc = ksr.93.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.93.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						408 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1332 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1333 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1334 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1335 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1336 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						409 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						657 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						655 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						560 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1338 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						561 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1337 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						563 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						562 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						574 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						877 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						644 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						874 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						822 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						637 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						537 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						555 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						875 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						876 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						408 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1332 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1333 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1334 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1335 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1336 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						409 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						657 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						655 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						560 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1338 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						561 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1337 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						563 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						562 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						574 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						877 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						644 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						874 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						822 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						637 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						537 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						555 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						875 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						876 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 409 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 657 } }
			if = { limit = { 655 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 655 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1337 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 563 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 562 } }
			if = { limit = { 574 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 574 } }
			if = { limit = { 877 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 877 } }
			if = { limit = { 644 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 644 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 874 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 822 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 637 } }
			if = { limit = { 537 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 537 } }
			if = { limit = { 555 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 555 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 875 } }
			if = { limit = { 876 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 876 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 409 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 657 } }
			if = { limit = { 655 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 655 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 1337 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 563 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 562 } }
			if = { limit = { 574 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 574 } }
			if = { limit = { 877 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 877 } }
			if = { limit = { 644 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 644 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 874 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 822 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 637 } }
			if = { limit = { 537 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 537 } }
			if = { limit = { 555 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 555 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 875 } }
			if = { limit = { 876 = { CONTROLLER = { NOT = { tag = RFO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RFO = { transfer_state = 876 } }
		}
	}
	
	
	option = {
		name = ksr.93.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.92 }
	}
}


# Reichskommissariat Ferner-Osten - Move Capital
country_event = {
	id = ksr.94
	title = ksr.94.t
	desc = ksr.94.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.94.a
		ai_chance = {
			base = 0
		}
		trigger = {
			408 = {
				is_owned_by = RFO
				is_fully_controlled_by = RFO
				is_capital = no
			}
		}
		RFO = {
			set_capital = {
				state = 408
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.94.b
		ai_chance = {
			base = 0
		}
		trigger = {
			409 = {
				is_owned_by = RFO
				is_fully_controlled_by = RFO
				is_capital = no
			}
		}
		RFO = {
			set_capital = {
				state = 409
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.94.c
		ai_chance = {
			base = 0
		}
		trigger = {
			563 = {
				is_owned_by = RFO
				is_fully_controlled_by = RFO
				is_capital = no
			}
		}
		RFO = {
			set_capital = {
				state = 563
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.94.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.92 }
	}
}



# Reichskommissariat Mongolei
country_event = {
	id = ksr.95
	title = ksr.95.t
	desc = ksr.95.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.95.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RMO = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 330 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 330 } }
			if = { limit = { 819 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 819 } }
			if = { limit = { 817 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 817 } }
			if = { limit = { 820 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 820 } }
			if = { limit = { 818 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 818 } }
			if = { limit = { 761 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 761 } }
			if = { limit = { 612 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 612 } }
			if = { limit = { 611 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 611 } }
			if = { limit = { 621 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 621 } }
			if = { limit = { 756 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 756 } }
			if = { limit = { 714 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 714 } }
			if = { limit = { 715 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 715 } }
			if = { limit = { 1429 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1429 } }
			if = { limit = { 1432 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1432 } }
			if = { limit = { 1433 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1433 } }
			if = { limit = { 1441 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1441 } }
			if = { limit = { 1442 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1442 } }
			if = { limit = { 1443 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1443 } }
			if = { limit = { 1444 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1444 } }
			if = { limit = { 1445 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1445 } }
			if = { limit = { 1446 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1446 } }
			if = { limit = { 1455 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1455 } }
			if = { limit = { 1456 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1456 } }
			if = { limit = { 1457 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1457 } }
			if = { limit = { 1458 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1458 } }
			if = { limit = { 1459 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1459 } }
			if = { limit = { 1460 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1460 } }
			if = { limit = { 1461 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1461 } }
			if = { limit = { 1462 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1462 } }
			if = { limit = { 1463 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1463 } }
			if = { limit = { 1464 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1464 } }
			if = { limit = { 1465 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1465 } }
			if = { limit = { 1466 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1466 } }
			if = { limit = { 1467 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1467 } }
			if = { limit = { 1468 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1468 } }
			if = { limit = { 1469 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1469 } }
			if = { limit = { 1470 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1470 } }
			if = { limit = { 1471 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1471 } }
			if = { limit = { 1472 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1472 } }
			if = { limit = { 1473 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1473 } }
			if = { limit = { 1474 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1474 } }
			if = { limit = { 1475 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1475 } }
			if = { limit = { 1476 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1476 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 330 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 330 } }
			if = { limit = { 819 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 819 } }
			if = { limit = { 817 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 817 } }
			if = { limit = { 820 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 820 } }
			if = { limit = { 818 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 818 } }
			if = { limit = { 761 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 761 } }
			if = { limit = { 612 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 612 } }
			if = { limit = { 611 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 611 } }
			if = { limit = { 621 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 621 } }
			if = { limit = { 756 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 756 } }
			if = { limit = { 714 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 714 } }
			if = { limit = { 715 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 715 } }
			if = { limit = { 1429 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1429 } }
			if = { limit = { 1432 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1432 } }
			if = { limit = { 1433 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1433 } }
			if = { limit = { 1441 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1441 } }
			if = { limit = { 1442 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1442 } }
			if = { limit = { 1443 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1443 } }
			if = { limit = { 1444 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1444 } }
			if = { limit = { 1445 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1445 } }
			if = { limit = { 1446 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1446 } }
			if = { limit = { 1455 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1455 } }
			if = { limit = { 1456 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1456 } }
			if = { limit = { 1457 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1457 } }
			if = { limit = { 1458 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1458 } }
			if = { limit = { 1459 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1459 } }
			if = { limit = { 1460 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1460 } }
			if = { limit = { 1461 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1461 } }
			if = { limit = { 1462 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1462 } }
			if = { limit = { 1463 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1463 } }
			if = { limit = { 1464 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1464 } }
			if = { limit = { 1465 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1465 } }
			if = { limit = { 1466 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1466 } }
			if = { limit = { 1467 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1467 } }
			if = { limit = { 1468 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1468 } }
			if = { limit = { 1469 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1469 } }
			if = { limit = { 1470 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1470 } }
			if = { limit = { 1471 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1471 } }
			if = { limit = { 1472 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1472 } }
			if = { limit = { 1473 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1473 } }
			if = { limit = { 1474 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1474 } }
			if = { limit = { 1475 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1475 } }
			if = { limit = { 1476 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1476 } }
		}
		
		hidden_effect = {
			RMO = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 330
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 2 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RMO }
			set_autonomy = { target = RMO autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.95.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RMO = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.96 }
	}
	
	option = {
		name = ksr.95.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RMO = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.97 }
	}
	
	option = {
		name = ksr.95.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RMO = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RMO
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.95.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Mongolei - Manage Territories
country_event = {
	id = ksr.96
	title = ksr.96.t
	desc = ksr.96.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.96.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						330 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						819 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						817 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						820 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						818 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						761 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						612 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						611 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						621 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						756 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						714 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						715 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1429 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1432 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1433 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1441 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1442 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1443 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1444 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1445 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1446 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1455 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1456 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1457 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1458 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1459 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1460 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1461 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1462 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1463 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1464 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1465 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1466 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1467 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1468 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1469 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1470 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1471 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1472 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1473 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1474 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1475 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1476 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						330 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						819 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						817 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						820 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						818 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						761 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						612 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						611 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						621 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						756 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						714 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						715 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1429 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1432 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1433 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1441 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1442 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1443 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1444 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1445 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1446 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1455 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1456 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1457 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1458 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1459 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1460 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1461 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1462 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1463 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1464 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1465 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1466 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1467 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1468 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1469 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1470 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1471 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1472 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1473 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1474 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1475 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1476 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}               

		if = {          
			limit = {   
				NOT = { 
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}   
				}       
			}           
			if = { limit = { 330 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 330 } }
			if = { limit = { 819 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 819 } }
			if = { limit = { 817 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 817 } }
			if = { limit = { 820 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 820 } }
			if = { limit = { 818 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 818 } }
			if = { limit = { 761 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 761 } }
			if = { limit = { 612 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 612 } }
			if = { limit = { 611 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 611 } }
			if = { limit = { 621 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 621 } }
			if = { limit = { 756 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 756 } }
			if = { limit = { 714 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 714 } }
			if = { limit = { 715 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 715 } }
			if = { limit = { 1429 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1429 } }
			if = { limit = { 1432 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1432 } }
			if = { limit = { 1433 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1433 } }
			if = { limit = { 1441 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1441 } }
			if = { limit = { 1442 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1442 } }
			if = { limit = { 1443 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1443 } }
			if = { limit = { 1444 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1444 } }
			if = { limit = { 1445 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1445 } }
			if = { limit = { 1446 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1446 } }
			if = { limit = { 1455 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1455 } }
			if = { limit = { 1456 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1456 } }
			if = { limit = { 1457 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1457 } }
			if = { limit = { 1458 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1458 } }
			if = { limit = { 1459 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1459 } }
			if = { limit = { 1460 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1460 } }
			if = { limit = { 1461 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1461 } }
			if = { limit = { 1462 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1462 } }
			if = { limit = { 1463 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1463 } }
			if = { limit = { 1464 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1464 } }
			if = { limit = { 1465 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1465 } }
			if = { limit = { 1466 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1466 } }
			if = { limit = { 1467 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1467 } }
			if = { limit = { 1468 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1468 } }
			if = { limit = { 1469 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1469 } }
			if = { limit = { 1470 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1470 } }
			if = { limit = { 1471 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1471 } }
			if = { limit = { 1472 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1472 } }
			if = { limit = { 1473 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1473 } }
			if = { limit = { 1474 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1474 } }
			if = { limit = { 1475 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1475 } }
			if = { limit = { 1476 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1476 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 330 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 330 } }
			if = { limit = { 819 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 819 } }
			if = { limit = { 817 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 817 } }
			if = { limit = { 820 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 820 } }
			if = { limit = { 818 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 818 } }
			if = { limit = { 761 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 761 } }
			if = { limit = { 612 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 612 } }
			if = { limit = { 611 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 611 } }
			if = { limit = { 621 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 621 } }
			if = { limit = { 756 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 756 } }
			if = { limit = { 714 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 714 } }
			if = { limit = { 715 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 715 } }
			if = { limit = { 1429 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1429 } }
			if = { limit = { 1432 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1432 } }
			if = { limit = { 1433 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1433 } }
			if = { limit = { 1441 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1441 } }
			if = { limit = { 1442 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1442 } }
			if = { limit = { 1443 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1443 } }
			if = { limit = { 1444 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1444 } }
			if = { limit = { 1445 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1445 } }
			if = { limit = { 1446 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1446 } }
			if = { limit = { 1455 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1455 } }
			if = { limit = { 1456 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1456 } }
			if = { limit = { 1457 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1457 } }
			if = { limit = { 1458 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1458 } }
			if = { limit = { 1459 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1459 } }
			if = { limit = { 1460 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1460 } }
			if = { limit = { 1461 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1461 } }
			if = { limit = { 1462 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1462 } }
			if = { limit = { 1463 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1463 } }
			if = { limit = { 1464 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1464 } }
			if = { limit = { 1465 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1465 } }
			if = { limit = { 1466 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1466 } }
			if = { limit = { 1467 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1467 } }
			if = { limit = { 1468 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1468 } }
			if = { limit = { 1469 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1469 } }
			if = { limit = { 1470 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1470 } }
			if = { limit = { 1471 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1471 } }
			if = { limit = { 1472 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1472 } }
			if = { limit = { 1473 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1473 } }
			if = { limit = { 1474 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1474 } }
			if = { limit = { 1475 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1475 } }
			if = { limit = { 1476 = { CONTROLLER = { NOT = { tag = RMO } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RMO = { transfer_state = 1476 } }
		}
	}
	
	
	option = {
		name = ksr.96.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.95 }
	}
}


# Reichskommissariat Mongolei - Move Capital
country_event = {
	id = ksr.97
	title = ksr.97.t
	desc = ksr.97.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.97.a
		ai_chance = {
			base = 0
		}
		trigger = {
			330 = {
				is_owned_by = RMO
				is_fully_controlled_by = RMO
				is_capital = no
			}
		}
		RMO = {
			set_capital = {
				state = 330
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.97.b
		ai_chance = {
			base = 0
		}
		trigger = {
			1472 = {
				is_owned_by = RMO
				is_fully_controlled_by = RMO
				is_capital = no
			}
		}
		RMO = {
			set_capital = {
				state = 1472
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.97.c
		ai_chance = {
			base = 0
		}
		trigger = {
			761 = {
				is_owned_by = RMO
				is_fully_controlled_by = RMO
				is_capital = no
			}
		}
		RMO = {
			set_capital = {
				state = 761
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.97.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.95 }
	}
}





# Order State of Burgundy
country_event = {
	id = ksr.98
	title = ksr.98.t
	desc = ksr.98.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.98.a
		ai_chance = {
			base = 100
		}
		trigger = {
			BRG = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_order_state_burgundy_state = yes
					CONTROLLER = {
						NOT = { tag = BRG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				BRG = {
					transfer_state = PREV 
					hidden_effect = {
						add_timed_idea = {
							idea = ksr_subject_creation_cooldown
							days = 365
						}
						set_capital = {
							state = 1257
							remember_old_capital = no
						}
					}
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_order_state_burgundy_state = yes
					CONTROLLER = {
						NOT = { tag = BRG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				BRG = {
					transfer_state = PREV 
					hidden_effect = {
						add_timed_idea = {
							idea = ksr_subject_creation_cooldown
							days = 365
						}
						set_capital = {
							state = 1257
							remember_old_capital = no
						}
					}
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = BRG }
			set_autonomy = { target = BRG autonomy_state = autonomy_reichsprotectorate }
		}
	}
	
	option = {
		name = ksr.98.b
		ai_chance = {
			base = 0
		}
		trigger = {
			BRG = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.99 }
	}
	
	option = {
		name = ksr.98.c
		ai_chance = {
			base = 0
		}
		trigger = {
			BRG = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.100 }
	}
	
	option = {
		name = ksr.98.d
		ai_chance = {
			base = 0
		}
		trigger = {
			BRG = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = BRG
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.98.e
		ai_chance = {
			base = 0
		}
	}
}



# Order State of Burgundy - Manage Territories
country_event = {
	id = ksr.99
	title = ksr.99.t
	desc = ksr.99.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.99.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_order_state_burgundy_state = yes
				NOT = { is_owned_by = BRG }
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = BRG }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = BRG }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_order_state_burgundy_state = yes
					CONTROLLER = {
						NOT = { tag = BRG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				BRG = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_order_state_burgundy_state = yes
					CONTROLLER = {
						NOT = { tag = BRG }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				BRG = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.99.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						16 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1517 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1518 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						18 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1521 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1522 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						16 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1517 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1518 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						18 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1521 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1522 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 16 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 16 } }
			if = { limit = { 1517 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1517 } }
			if = { limit = { 1518 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1518 } }
			if = { limit = { 18 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 18 } }
			if = { limit = { 1521 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1521 } }
			if = { limit = { 1522 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1522 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 16 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 16 } }
			if = { limit = { 1517 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1517 } }
			if = { limit = { 1518 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1518 } }
			if = { limit = { 18 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 18 } }
			if = { limit = { 1521 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1521 } }
			if = { limit = { 1522 = { CONTROLLER = { NOT = { tag = BRG } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BRG = { transfer_state = 1522 } }
		}
	}
	
	
	option = {
		name = ksr.99.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.98 }
	}
}


# Order State of Burgundy - Move Capital
country_event = {
	id = ksr.100
	title = ksr.100.t
	desc = ksr.100.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.100.a
		ai_chance = {
			base = 0
		}
		trigger = {
			1257 = {
				is_owned_by = BRG
				is_fully_controlled_by = BRG
				is_capital = no
			}
		}
		BRG = {
			set_capital = {
				state = 1257
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.100.b
		ai_chance = {
			base = 0
		}
		trigger = {
			1402 = {
				is_owned_by = BRG
				is_fully_controlled_by = BRG
				is_capital = no
			}
		}
		BRG = {
			set_capital = {
				state = 1402
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.100.c
		ai_chance = {
			base = 0
		}
		trigger = {
			17 = {
				is_owned_by = BRG
				is_fully_controlled_by = BRG
				is_capital = no
			}
		}
		BRG = {
			set_capital = {
				state = 17
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.100.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.98 }
	}
}




# American Reich
country_event = {
	id = ksr.101
	title = ksr.101.t
	desc = ksr.101.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.101.a
		ai_chance = {
			base = 100
		}
		trigger = {
			ARH = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_american_reich_state = yes
					CONTROLLER = {
						NOT = { tag = ARH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				ARH = {
					transfer_state = PREV 
					hidden_effect = {
						add_timed_idea = {
							idea = ksr_subject_creation_cooldown
							days = 365
						}
						set_capital = {
							state = 358
							remember_old_capital = no
						}
					}
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_american_reich_state = yes
					CONTROLLER = {
						NOT = { tag = ARH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				ARH = {
					transfer_state = PREV 
					hidden_effect = {
						add_timed_idea = {
							idea = ksr_subject_creation_cooldown
							days = 365
						}
						set_capital = {
							state = 358
							remember_old_capital = no
						}
					}
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = ARH }
			set_autonomy = { target = ARH autonomy_state = autonomy_reichsprotectorate }
		}
	}
	
	option = {
		name = ksr.101.b
		ai_chance = {
			base = 0
		}
		trigger = {
			ARH = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.102 }
	}
	
	option = {
		name = ksr.101.c
		ai_chance = {
			base = 0
		}
		trigger = {
			ARH = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.103 }
	}
	
	option = {
		name = ksr.101.d
		ai_chance = {
			base = 0
		}
		trigger = {
			ARH = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = ARH
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.101.e
		ai_chance = {
			base = 0
		}
	}
}



# American Reich - Manage Territories
country_event = {
	id = ksr.102
	title = ksr.102.t
	desc = ksr.102.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.102.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_american_reich_state = yes
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = ARH }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = ARH }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_american_reich_state = yes
					CONTROLLER = {
						NOT = { tag = ARH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				ARH = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_american_reich_state = yes
					CONTROLLER = {
						NOT = { tag = ARH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				ARH = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.102.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.101 }
	}
}


# American Reich - Move Capital
country_event = {
	id = ksr.103
	title = ksr.103.t
	desc = ksr.103.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.103.a
		ai_chance = {
			base = 0
		}
		trigger = {
			358 = {
				is_owned_by = ARH
				is_fully_controlled_by = ARH
				is_capital = no
			}
		}
		ARH = {
			set_capital = {
				state = 358
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.103.b
		ai_chance = {
			base = 0
		}
		trigger = {
			361 = {
				is_owned_by = ARH
				is_fully_controlled_by = ARH
				is_capital = no
			}
		}
		ARH = {
			set_capital = {
				state = 361
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.103.c
		ai_chance = {
			base = 0
		}
		trigger = {
			362 = {
				is_owned_by = ARH
				is_fully_controlled_by = ARH
				is_capital = no
			}
		}
		ARH = {
			set_capital = {
				state = 362
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.103.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.101 }
	}
}




# Canadian Reich
country_event = {
	id = ksr.104
	title = ksr.104.t
	desc = ksr.104.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.104.a
		ai_chance = {
			base = 100
		}
		trigger = {
			CRH = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_canadian_reich_state = yes
					CONTROLLER = {
						NOT = { tag = CRH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				CRH = {
					transfer_state = PREV 
					hidden_effect = {
						add_timed_idea = {
							idea = ksr_subject_creation_cooldown
							days = 365
						}
						set_capital = {
							state = 276
							remember_old_capital = no
						}
					}
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_canadian_reich_state = yes
					CONTROLLER = {
						NOT = { tag = CRH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				CRH = {
					transfer_state = PREV 
					hidden_effect = {
						add_timed_idea = {
							idea = ksr_subject_creation_cooldown
							days = 365
						}
						set_capital = {
							state = 276
							remember_old_capital = no
						}
					}
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = CRH }
			set_autonomy = { target = CRH autonomy_state = autonomy_reichsprotectorate }
		}
	}
	
	option = {
		name = ksr.104.b
		ai_chance = {
			base = 0
		}
		trigger = {
			CRH = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.105 }
	}
	
	option = {
		name = ksr.104.c
		ai_chance = {
			base = 0
		}
		trigger = {
			CRH = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.106 }
	}
	
	option = {
		name = ksr.104.d
		ai_chance = {
			base = 0
		}
		trigger = {
			CRH = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = CRH
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.104.e
		ai_chance = {
			base = 0
		}
	}
}



# Canadian Reich - Manage Territories
country_event = {
	id = ksr.105
	title = ksr.105.t
	desc = ksr.105.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.105.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_canadian_reich_state = yes
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = CRH }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = CRH }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_canadian_reich_state = yes
					CONTROLLER = {
						NOT = { tag = CRH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				CRH = {
					transfer_state = PREV 
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_canadian_reich_state = yes
					CONTROLLER = {
						NOT = { tag = CRH }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				CRH = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.105.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.104 }
	}
}


# Canadian Reich - Move Capital
country_event = {
	id = ksr.106
	title = ksr.106.t
	desc = ksr.106.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.106.a
		ai_chance = {
			base = 0
		}
		trigger = {
			276 = {
				is_owned_by = CRH
				is_fully_controlled_by = CRH
				is_capital = no
			}
		}
		CRH = {
			set_capital = {
				state = 276
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.106.b
		ai_chance = {
			base = 0
		}
		trigger = {
			468 = {
				is_owned_by = CRH
				is_fully_controlled_by = CRH
				is_capital = no
			}
		}
		CRH = {
			set_capital = {
				state = 468
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.106.c
		ai_chance = {
			base = 0
		}
		trigger = {
			473 = {
				is_owned_by = CRH
				is_fully_controlled_by = CRH
				is_capital = no
			}
		}
		CRH = {
			set_capital = {
				state = 473
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.106.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.104 }
	}
}






# Japanese Pacific States
country_event = {
	id = ksr.107
	title = ksr.107.t
	desc = ksr.107.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.107.a
		ai_chance = {
			base = 100
		}
		trigger = {
			JPS = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 377 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 377 } }
			if = { limit = { 378 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 378 } }
			if = { limit = { 1562 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1562 } }
			if = { limit = { 1563 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1563 } }
			if = { limit = { 379 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 379 } }
			if = { limit = { 1566 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1566 } }
			if = { limit = { 380 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 380 } }
			if = { limit = { 385 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 385 } }
			if = { limit = { 1561 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1561 } }
			if = { limit = { 386 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 386 } }
			if = { limit = { 1564 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1564 } }
			if = { limit = { 463 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 463 } }
			if = { limit = { 471 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 471 } }
			if = { limit = { 473 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 473 } }
			if = { limit = { 484 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 484 } }
			if = { limit = { 739 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 739 } }
			if = { limit = { 740 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 740 } }
			if = { limit = { 864 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 864 } }
			if = { limit = { 1152 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1152 } }
			if = { limit = { 1153 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1153 } }
			if = { limit = { 1159 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1159 } }
			if = { limit = { 1167 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1167 } }
			if = { limit = { 1415 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1415 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 377 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 377 } }
			if = { limit = { 378 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 378 } }
			if = { limit = { 1562 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1562 } }
			if = { limit = { 1563 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1563 } }
			if = { limit = { 379 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 379 } }
			if = { limit = { 1566 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1566 } }
			if = { limit = { 380 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 380 } }
			if = { limit = { 385 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 385 } }
			if = { limit = { 1561 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1561 } }
			if = { limit = { 386 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 386 } }
			if = { limit = { 1564 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1564 } }
			if = { limit = { 463 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 463 } }
			if = { limit = { 471 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 471 } }
			if = { limit = { 473 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 473 } }
			if = { limit = { 484 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 484 } }
			if = { limit = { 739 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 739 } }
			if = { limit = { 740 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 740 } }
			if = { limit = { 864 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 864 } }
			if = { limit = { 1152 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1152 } }
			if = { limit = { 1153 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1153 } }
			if = { limit = { 1159 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1159 } }
			if = { limit = { 1167 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1167 } }
			if = { limit = { 1415 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1415 } }
		}
		
		hidden_effect = {
			JPS = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 1167
					remember_old_capital = no
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = JPS }
			set_autonomy = { target = JPS autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.107.b
		ai_chance = {
			base = 0
		}
		trigger = {
			JPS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.108 }
	}
	
	option = {
		name = ksr.107.c
		ai_chance = {
			base = 0
		}
		trigger = {
			JPS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.109 }
	}
	
	option = {
		name = ksr.107.d
		ai_chance = {
			base = 0
		}
		trigger = {
			JPS = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = JPS
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.107.e
		ai_chance = {
			base = 0
		}
	}
}



# Japanese Pacific States - Manage Territories
country_event = {
	id = ksr.108
	title = ksr.108.t
	desc = ksr.108.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.108.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						377 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						378 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1562 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1563 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						379 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1566 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						380 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						385 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1561 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						386 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1564 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						463 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						471 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						473 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						484 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						739 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						740 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						864 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1152 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1153 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1159 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1167 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1415 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						377 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						378 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1562 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1563 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						379 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1566 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						380 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						385 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1561 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						386 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1564 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						463 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						471 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						473 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						484 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						739 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						740 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						864 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1152 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1153 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1159 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1167 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1415 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 377 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 377 } }
			if = { limit = { 378 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 378 } }
			if = { limit = { 1562 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1562 } }
			if = { limit = { 1563 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1563 } }
			if = { limit = { 379 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 379 } }
			if = { limit = { 1566 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1566 } }
			if = { limit = { 380 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 380 } }
			if = { limit = { 385 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 385 } }
			if = { limit = { 1561 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1561 } }
			if = { limit = { 386 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 386 } }
			if = { limit = { 1564 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1564 } }
			if = { limit = { 463 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 463 } }
			if = { limit = { 471 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 471 } }
			if = { limit = { 473 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 473 } }
			if = { limit = { 484 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 484 } }
			if = { limit = { 739 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 739 } }
			if = { limit = { 740 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 740 } }
			if = { limit = { 864 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 864 } }
			if = { limit = { 1152 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1152 } }
			if = { limit = { 1153 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1153 } }
			if = { limit = { 1159 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1159 } }
			if = { limit = { 1167 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1167 } }
			if = { limit = { 1415 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1415 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 377 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 377 } }
			if = { limit = { 378 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 378 } }
			if = { limit = { 1562 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1562 } }
			if = { limit = { 1563 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1563 } }
			if = { limit = { 379 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 379 } }
			if = { limit = { 1566 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1566 } }
			if = { limit = { 380 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 380 } }
			if = { limit = { 385 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 385 } }
			if = { limit = { 1561 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1561 } }
			if = { limit = { 386 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 386 } }
			if = { limit = { 1564 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1564 } }
			if = { limit = { 463 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 463 } }
			if = { limit = { 471 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 471 } }
			if = { limit = { 473 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 473 } }
			if = { limit = { 484 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 484 } }
			if = { limit = { 739 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 739 } }
			if = { limit = { 740 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 740 } }
			if = { limit = { 864 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 864 } }
			if = { limit = { 1152 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1152 } }
			if = { limit = { 1153 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1153 } }
			if = { limit = { 1159 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1159 } }
			if = { limit = { 1167 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1167 } }
			if = { limit = { 1415 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1415 } }
		}
	}
	
	
	# Incorporate Rocky Mountain Region
	option = {
		name = ksr.108.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						376 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1567 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						381 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						382 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						387 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						388 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						470 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1151 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1155 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1156 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1157 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1158 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1160 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1161 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1162 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1163 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1164 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1166 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1178 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1179 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1180 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1352 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1353 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1354 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1355 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1356 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1357 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1358 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1359 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1360 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1361 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1362 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1363 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1364 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						376 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1567 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						381 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						382 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						387 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						388 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						470 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1151 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1155 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1156 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1157 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1158 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1160 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1161 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1162 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1163 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1164 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1166 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1178 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1179 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1180 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1352 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1353 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1354 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1355 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1356 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1357 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1358 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1359 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1360 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1361 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1362 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1363 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1364 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 376 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 376 } }
			if = { limit = { 1567 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1567 } }
			if = { limit = { 381 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 381 } }
			if = { limit = { 382 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 382 } }
			if = { limit = { 387 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 387 } }
			if = { limit = { 388 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 388 } }
			if = { limit = { 470 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 470 } }
			if = { limit = { 1151 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1151 } }
			if = { limit = { 1155 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1155 } }
			if = { limit = { 1156 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1156 } }
			if = { limit = { 1157 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1157 } }
			if = { limit = { 1158 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1158 } }
			if = { limit = { 1160 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1160 } }
			if = { limit = { 1161 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1161 } }
			if = { limit = { 1162 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1162 } }
			if = { limit = { 1163 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1163 } }
			if = { limit = { 1164 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1164 } }
			if = { limit = { 1166 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1166 } }
			if = { limit = { 1178 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1178 } }
			if = { limit = { 1179 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1179 } }
			if = { limit = { 1180 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1180 } }
			if = { limit = { 1352 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1352 } }
			if = { limit = { 1353 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1353 } }
			if = { limit = { 1354 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1354 } }
			if = { limit = { 1355 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1355 } }
			if = { limit = { 1356 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1356 } }
			if = { limit = { 1357 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1357 } }
			if = { limit = { 1358 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1358 } }
			if = { limit = { 1359 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1359 } }
			if = { limit = { 1360 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1360 } }
			if = { limit = { 1361 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1361 } }
			if = { limit = { 1362 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1362 } }
			if = { limit = { 1363 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1363 } }
			if = { limit = { 1364 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1364 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 376 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 376 } }
			if = { limit = { 1567 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1567 } }
			if = { limit = { 381 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 381 } }
			if = { limit = { 382 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 382 } }
			if = { limit = { 387 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 387 } }
			if = { limit = { 388 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 388 } }
			if = { limit = { 470 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 470 } }
			if = { limit = { 1151 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1151 } }
			if = { limit = { 1155 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1155 } }
			if = { limit = { 1156 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1156 } }
			if = { limit = { 1157 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1157 } }
			if = { limit = { 1158 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1158 } }
			if = { limit = { 1160 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1160 } }
			if = { limit = { 1161 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1161 } }
			if = { limit = { 1162 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1162 } }
			if = { limit = { 1163 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1163 } }
			if = { limit = { 1164 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1164 } }
			if = { limit = { 1166 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1166 } }
			if = { limit = { 1178 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1178 } }
			if = { limit = { 1179 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1179 } }
			if = { limit = { 1180 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1180 } }
			if = { limit = { 1352 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1352 } }
			if = { limit = { 1353 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1353 } }
			if = { limit = { 1354 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1354 } }
			if = { limit = { 1355 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1355 } }
			if = { limit = { 1356 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1356 } }
			if = { limit = { 1357 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1357 } }
			if = { limit = { 1358 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1358 } }
			if = { limit = { 1359 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1359 } }
			if = { limit = { 1360 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1360 } }
			if = { limit = { 1361 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1361 } }
			if = { limit = { 1362 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1362 } }
			if = { limit = { 1363 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1363 } }
			if = { limit = { 1364 = { CONTROLLER = { NOT = { tag = JPS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JPS = { transfer_state = 1364 } }
		}
	}
	
	
	option = {
		name = ksr.108.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.107 }
	}
}


# Japanese Pacific States - Move Capital
country_event = {
	id = ksr.109
	title = ksr.109.t
	desc = ksr.109.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.109.a
		ai_chance = {
			base = 0
		}
		trigger = {
			104 = {
				is_owned_by = JPS
				is_fully_controlled_by = JPS
				is_capital = no
			}
		}
		JPS = {
			set_capital = {
				state = 104
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.109.b
		ai_chance = {
			base = 0
		}
		trigger = {
			1030 = {
				is_owned_by = JPS
				is_fully_controlled_by = JPS
				is_capital = no
			}
		}
		JPS = {
			set_capital = {
				state = 1030
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.109.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1029 = {
				is_owned_by = JPS
				is_fully_controlled_by = JPS
				is_capital = no
			}
		}
		JPS = {
			set_capital = {
				state = 1029
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.109.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.107 }
	}
}





# MAN IN THE HIGH CASTLE: One of the parties is informed that they own and control territory belonging to the other
country_event = {
	id = ksr.110
	title = ksr.110.t
	desc = ksr.110.desc
	picture = GFX_report_event_north_american_division_plan
	
	mean_time_to_happen = {
		days = 10
	}
	
	trigger = {
		has_global_flag = KSR_north_america_partition_signed
		NOT = { has_global_flag = KSR_north_america_partition_broken }
		OR = {
			AND = {
				tag = GER
				any_state = {
					OR = {
						KSR_is_high_castle_japanese_division_state = yes
						KSR_is_neutral_zone_state = yes
					}
					OR = {
						is_owned_and_controlled_by = ROOT
						AND = {
							OWNER = { is_subject_of = ROOT }
							CONTROLLER = { is_subject_of = ROOT }
						}
					}
				}
			}
			AND = {
				tag = JAP
				any_state = {
					OR = {
						KSR_is_high_castle_german_division_state = yes
						KSR_is_neutral_zone_state = yes
					}
					OR = {
						is_owned_and_controlled_by = ROOT
						AND = {
							OWNER = { is_subject_of = ROOT }
							CONTROLLER = { is_subject_of = ROOT }
						}
					}
				}
			}
		}
	}

	option = {
		name = ksr.110.a
		ai_chance = {
			base = 100
		}
		if = {
			limit = {
				tag = GER
			}
			every_state = {
				limit = {
					KSR_is_high_castle_japanese_division_state = yes
					OR = {
						is_owned_and_controlled_by = ROOT
						AND = {
							OWNER = { is_subject_of = ROOT }
							CONTROLLER = { is_subject_of = ROOT }
						}
					}
				}
				JAP = { transfer_state = PREV }
				hidden_effect = {
					JAP = {
						country_event = {
							id = ksr.112
							hours = 1
						}
					}
				}
			}
		}
		if = {
			limit = {
				tag = JAP
			}
			every_state = {
				limit = {
					KSR_is_high_castle_german_division_state = yes
					OR = {
						is_owned_and_controlled_by = ROOT
						AND = {
							OWNER = { is_subject_of = ROOT }
							CONTROLLER = { is_subject_of = ROOT }
						}
					}
				}
				GER = { transfer_state = PREV }
				hidden_effect = {
					GER = {
						country_event = {
							id = ksr.112
							hours = 1
						}
					}
				}
			}
		}
		every_state = {
			limit = {
				KSR_is_neutral_zone_state = yes
				OR = {
					is_owned_and_controlled_by = ROOT
					AND = {
						OWNER = { is_subject_of = ROOT }
						CONTROLLER = { is_subject_of = ROOT }
					}
				}
			}
			ANZ = { transfer_state = PREV }
		}
	}
	
	option = {
		name = ksr.110.b
		ai_chance = {
			base = 0
		}
		custom_effect_tooltip = KSR_north_american_division_plan_war_threat_tt
		if = {
			limit = {
				tag = GER
			}
			JAP = {
				country_event = {
					id = ksr.111
					days = 1
				}
			}
		}
		if = {
			limit = {
				tag = JAP
			}
			GER = {
				country_event = {
					id = ksr.111
					days = 1
				}
			}
		}
		hidden_effect = {
			clr_global_flag = KSR_north_america_partition_signed
			set_global_flag = KSR_north_america_partition_broken
		}
	}
}




# MAN IN THE HIGH CASTLE: One of the parties is informed that they own and control territory belonging to the other
country_event = {
	id = ksr.111
	title = ksr.111.t
	picture = GFX_report_event_north_american_division_plan
	
	is_triggered_only = yes
	
	desc = {
		text = ksr.111.GER.desc
		trigger = { tag = GER }
	}
	desc = {
		text = ksr.111.JAP.desc
		trigger = { tag = JAP }
	}
	
	option = {
		name = ksr.111.a
		ai_chance = {
			base = 100
		}
		if = {
			limit = {
				tag = GER
			}
			create_wargoal = {
				type = annex_everything
				target = JAP
			}
			if = {
				limit = {
					JPS = {
						exists = yes
						is_subject_of = JAP
					}
				}
				create_wargoal = {
					type = annex_everything
					target = JPS
				}
			}
		}
		if = {
			limit = {
				tag = JAP
			}
			create_wargoal = {
				type = annex_everything
				target = GER
			}
			if = {
				limit = {
					ARH = {
						exists = yes
						is_subject_of = GER
					}
				}
				create_wargoal = {
					type = annex_everything
					target = ARH
				}
			}
			if = {
				limit = {
					CRH = {
						exists = yes
						is_subject_of = GER
					}
				}
				create_wargoal = {
					type = annex_everything
					target = CRH
				}
			}
		}
		if = {
			limit = {
				country_exists = ANZ
			}
			create_wargoal = {
				type = annex_everything
				target = ANZ
			}
		}
	}
	
	option = {
		name = ksr.111.b
		ai_chance = {
			base = 0
		}
	}
}





# MAN IN THE HIGH CASTLE: Notification that the other party transferred territory over to us
country_event = {
	id = ksr.112
	desc = ksr.112.desc
	title = ksr.112.t
	picture = GFX_report_event_north_american_division_plan
	
	is_triggered_only = yes
	
	option = {
		name = ksr.112.a
		ai_chance = {
			base = 1
		}
	}
}





# Reichskommissariat Skandinavien
country_event = {
	id = ksr.113
	title = ksr.113.t
	desc = ksr.113.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.113.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RSK = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_skandinavien_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RSK = { transfer_state = PREV }
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_skandinavien_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RSK = { transfer_state = PREV }
			}
		}
		
		hidden_effect = {
			RSK = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 141
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RSK }
			set_autonomy = { target = RSK autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.113.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RSK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.114 }
	}
	
	option = {
		name = ksr.113.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RSK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.115 }
	}
	
	option = {
		name = ksr.113.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RSK = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RSK
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.113.e
		ai_chance = {
			base = 0
		}
	}
}



# (1/2) Reichskommissariat Skandinavien - Manage Territories
country_event = {
	id = ksr.114
	title = ksr.114.t
	desc = ksr.114.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.114.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_skandinavien_state = yes
				NOT = { is_owned_by = RSK }
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_skandinavien_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_skandinavien_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	# Incorporate Denmark
	option = {
		name = ksr.114.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_denmark_proper_state = yes
				NOT = { state = 912 }
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_denmark_proper_state = yes
					NOT = { state = 912 }
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_denmark_proper_state = yes
					NOT = { state = 912 }
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	option = {
		name = ksr.114.f
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.116 }
	}
	
	
	option = {
		name = ksr.114.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.113 }
	}
}


# Reichskommissariat Skandinavien - Move Capital
country_event = {
	id = ksr.115
	title = ksr.115.t
	desc = ksr.115.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.115.a
		ai_chance = {
			base = 0
		}
		trigger = {
			141 = {
				is_owned_by = RSK
				is_fully_controlled_by = RSK
				is_capital = no
			}
		}
		RSK = {
			set_capital = {
				state = 141
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.115.b
		ai_chance = {
			base = 0
		}
		trigger = {
			111 = {
				is_owned_by = RSK
				is_fully_controlled_by = RSK
				is_capital = no
			}
		}
		RSK = {
			set_capital = {
				state = 111
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.115.c
		ai_chance = {
			base = 0
		}
		trigger = {
			140 = {
				is_owned_by = RSK
				is_fully_controlled_by = RSK
				is_capital = no
			}
		}
		RSK = {
			set_capital = {
				state = 140
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.115.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.113 }
	}
}




# (2/2) Reichskommissariat Skandinavien - Manage Territories
country_event = {
	id = ksr.116
	title = ksr.116.t
	desc = ksr.116.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	# Incorporate Norway
	option = {
		name = ksr.116.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_rk_norwegen_state = yes
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_norwegen_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_rk_norwegen_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	
	# Incorporate Karelia and Kola Peninsula
	option = {
		name = ksr.116.e
		ai_chance = {
			base = 0
		}
		
		trigger = {
			any_state = {
				KSR_is_karelia_kola_state = yes
				OR = {
					AND = {
						NOT = {
							has_game_rule = {
								rule = allow_ksr_subjects_on_controlled
								option = ENABLED
							}
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							owns_state = PREV
							has_full_control_of_state = PREV
						}
					}
					AND = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
						CONTROLLER = {
							NOT = { tag = RSK }
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			every_state = {
				limit = {
					KSR_is_karelia_kola_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						owns_state = PREV
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV
				}
			}
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			every_state = {
				limit = {
					KSR_is_karelia_kola_state = yes
					CONTROLLER = {
						NOT = { tag = RSK }
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
						has_full_control_of_state = PREV
					}
				}
				RSK = {
					transfer_state = PREV 
				}
			}
		}
	}
	
	option = {
		name = ksr.116.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.114 }
	}
}



# Kyokuto Imperial Protectorate
country_event = {
	id = ksr.117
	title = ksr.117.t
	desc = ksr.117.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.117.a
		ai_chance = {
			base = 100
		}
		trigger = {
			KIP = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 409 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1337 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 562 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 563 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 637 } }
			if = { limit = { 650 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 650 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 657 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 822 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 874 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 875 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}	
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 409 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1337 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 562 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 563 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 637 } }
			if = { limit = { 650 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 650 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 657 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 822 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 874 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 875 } }
		}
		
		hidden_effect = {
			KIP = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 408
					remember_old_capital = no
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = KIP }
			set_autonomy = { target = KIP autonomy_state = autonomy_wtt_imperial_protectorate }
		}
	}
	
	option = {
		name = ksr.117.b
		ai_chance = {
			base = 0
		}
		trigger = {
			KIP = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.118 }
	}
	
	option = {
		name = ksr.117.c
		ai_chance = {
			base = 0
		}
		trigger = {
			KIP = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.119 }
	}
	
	option = {
		name = ksr.117.d
		ai_chance = {
			base = 0
		}
		trigger = {
			KIP = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = KIP
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.117.e
		ai_chance = {
			base = 0
		}
	}
}



# Kyokuto Imperial Protectorate - Manage Territories
country_event = {
	id = ksr.118
	title = ksr.118.t
	desc = ksr.118.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.118.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						408 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1332 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1333 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1334 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1335 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1336 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						409 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						560 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1338 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						561 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1337 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						562 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						563 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						637 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						650 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						657 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						822 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						874 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						875 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						408 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1332 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1333 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1334 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1335 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1336 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						409 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						560 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1338 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						561 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1337 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						562 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						563 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						637 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						650 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						657 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						822 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						874 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						875 = { CONTROLLER = { OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 409 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1337 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 562 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 563 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 637 } }
			if = { limit = { 650 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 650 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 657 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 822 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 874 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 875 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}	
			if = { limit = { 408 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 408 } }
			if = { limit = { 1332 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1332 } }
			if = { limit = { 1333 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1333 } }
			if = { limit = { 1334 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1334 } }
			if = { limit = { 1335 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1335 } }
			if = { limit = { 1336 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1336 } }
			if = { limit = { 409 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 409 } }
			if = { limit = { 560 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 560 } }
			if = { limit = { 1338 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1338 } }
			if = { limit = { 561 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 561 } }
			if = { limit = { 1337 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 1337 } }
			if = { limit = { 562 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 562 } }
			if = { limit = { 563 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 563 } }
			if = { limit = { 637 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 637 } }
			if = { limit = { 650 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 650 } }
			if = { limit = { 657 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 657 } }
			if = { limit = { 822 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 822 } }
			if = { limit = { 874 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 874 } }
			if = { limit = { 875 = { CONTROLLER = { NOT = { tag = KIP } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KIP = { transfer_state = 875 } }
		}
	}
	
	option = {
		name = ksr.118.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.117 }
	}
}


# Kyokuto Imperial Protectorate - Move Capital
country_event = {
	id = ksr.119
	title = ksr.119.t
	desc = ksr.119.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.119.a
		ai_chance = {
			base = 0
		}
		trigger = {
			408 = {
				is_owned_by = KIP
				is_fully_controlled_by = KIP
				is_capital = no
			}
		}
		KIP = {
			set_capital = {
				state = 408
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.119.b
		ai_chance = {
			base = 0
		}
		trigger = {
			409 = {
				is_owned_by = KIP
				is_fully_controlled_by = KIP
				is_capital = no
			}
		}
		KIP = {
			set_capital = {
				state = 409
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.119.c
		ai_chance = {
			base = 0
		}
		trigger = {
			563 = {
				is_owned_by = KIP
				is_fully_controlled_by = KIP
				is_capital = no
			}
		}
		KIP = {
			set_capital = {
				state = 563
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.119.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.117 }
	}
}







# Jabal Shammar Emirate
country_event = {
	id = ksr.120
	title = ksr.120.t
	desc = ksr.120.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.120.a
		ai_chance = {
			base = 100
		}
		trigger = {
			JBS = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 292 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 292 } }
			if = { limit = { 679 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 679 } }
			if = { limit = { 854 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 854 } }
			if = { limit = { 857 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 857 } }
			if = { limit = { 1049 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1049 } }
			if = { limit = { 1050 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1050 } }
			if = { limit = { 1051 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1051 } }
			if = { limit = { 1052 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1052 } }
			if = { limit = { 1053 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1053 } }
			if = { limit = { 1055 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1055 } }
			if = { limit = { 1010 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1010 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 292 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 292 } }
			if = { limit = { 679 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 679 } }
			if = { limit = { 854 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 854 } }
			if = { limit = { 857 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 857 } }
			if = { limit = { 1049 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1049 } }
			if = { limit = { 1050 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1050 } }
			if = { limit = { 1051 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1051 } }
			if = { limit = { 1052 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1052 } }
			if = { limit = { 1053 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1053 } }
			if = { limit = { 1055 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1055 } }
			if = { limit = { 1010 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1010 } }
		}
		
		hidden_effect = {
			JBS = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 1053
					remember_old_capital = no
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = JBS }
			set_autonomy = { target = JBS autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.120.b
		ai_chance = {
			base = 0
		}
		trigger = {
			JBS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.121 }
	}
	
	option = {
		name = ksr.120.c
		ai_chance = {
			base = 0
		}
		trigger = {
			JBS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.122 }
	}
	
	option = {
		name = ksr.120.d
		ai_chance = {
			base = 0
		}
		trigger = {
			JBS = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = JBS
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.120.e
		ai_chance = {
			base = 0
		}
	}
}



# Jabal Shammar Emirate - Manage Territories
country_event = {
	id = ksr.121
	title = ksr.121.t
	desc = ksr.121.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.121.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						1053 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1052 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						854 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1051 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1050 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1010 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1049 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						857 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						679 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1055 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						292 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						1053 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						1052 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						854 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						1051 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						1050 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						1010 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						1049 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						857 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						679 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						1055 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
						292 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 1053 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1053 } }
			if = { limit = { 1052 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1052 } }
			if = { limit = { 1051 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1051 } }
			if = { limit = { 1050 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1050 } }
			if = { limit = { 1010 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1010 } }
			if = { limit = { 1049 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1049 } }
			if = { limit = { 857 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 857 } }
			if = { limit = { 854 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 854 } }
			if = { limit = { 679 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 679 } }
			if = { limit = { 1055 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1055 } }
			if = { limit = { 292 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 292 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 1053 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1053 } }
			if = { limit = { 1052 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1052 } }
			if = { limit = { 1051 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1051 } }
			if = { limit = { 1050 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1050 } }
			if = { limit = { 1010 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1010 } }
			if = { limit = { 1049 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1049 } }
			if = { limit = { 857 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 857 } }
			if = { limit = { 854 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 854 } }
			if = { limit = { 679 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 679 } }
			if = { limit = { 1055 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 1055 } }
			if = { limit = { 292 = { CONTROLLER = { NOT = { tag = JBS } OR = { tag = ROOT is_subject_of = ROOT }  has_full_control_of_state = PREV } } }
			JBS = { transfer_state = 292 } }
		}
	}
	
	
	option = {
		name = ksr.121.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.120 }
	}
}


# Jabal Shammar Emirate - Move Capital
country_event = {
	id = ksr.122
	title = ksr.122.t
	desc = ksr.122.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.122.a
		ai_chance = {
			base = 0
		}
		trigger = {
			1053 = {
				is_owned_by = JBS
				is_fully_controlled_by = JBS
				is_capital = no
			}
		}
		JBS = {
			set_capital = {
				state = 1053
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.122.b
		ai_chance = {
			base = 0
		}
		trigger = {
			292 = {
				is_owned_by = JBS
				is_fully_controlled_by = JBS
				is_capital = no
			}
		}
		JBS = {
			set_capital = {
				state = 292
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.122.c
		ai_chance = {
			base = 0
		}
		trigger = {
			679 = {
				is_owned_by = JBS
				is_fully_controlled_by = JBS
				is_capital = no
			}
		}
		JBS = {
			set_capital = {
				state = 679
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.122.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.120 }
	}
}








# US Military Administration in Korea
country_event = {
	id = ksr.123
	title = ksr.123.t
	desc = ksr.123.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.123.a
		ai_chance = {
			base = 100
		}
		trigger = {
			KOR = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1329 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1329 } }
		}
		
		hidden_effect = {
			KOR = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 525
					remember_old_capital = no
				}
				add_country_leader_role = {
					character = KOR_archibald_vincent_arnold
					promote_leader = yes
					country_leader = {
						ideology = liberalism
						expire = "1965.1.1.1"
					}
				}
				promote_character = KOR_archibald_vincent_arnold
				set_politics = {
					ruling_party = democratic
					last_election = "1936.1.1"
					election_frequency = 48
					elections_allowed = no
				}
				set_cosmetic_tag = US_KOREA
			}
		}
		
		FROM = {
			hidden_effect = { puppet = KOR }
			set_autonomy = { target = KOR autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.123.b
		ai_chance = {
			base = 0
		}
		trigger = {
			KOR = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.124 }
	}
	
	option = {
		name = ksr.123.c
		ai_chance = {
			base = 0
		}
		trigger = {
			KOR = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.125 }
	}
	
	option = {
		name = ksr.123.d
		ai_chance = {
			base = 0
		}
		trigger = {
			KOR = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = KOR
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.123.e
		ai_chance = {
			base = 0
		}
	}
}



# US Military Administration in Korea - Manage Territories
country_event = {
	id = ksr.124
	title = ksr.124.t
	desc = ksr.124.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.124.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						525 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						527 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1311 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1312 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1313 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1314 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1315 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1316 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1317 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1318 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1319 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1320 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1321 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1322 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1323 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1324 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1325 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1326 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1327 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1328 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1329 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						525 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						527 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1311 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1312 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1313 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1314 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1315 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1316 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1317 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1318 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1319 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1320 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1321 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1322 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1323 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1324 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1325 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1326 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1327 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1328 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1329 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1329 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = KOR } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			KOR = { transfer_state = 1329 } }
		}
	}
	
	
	option = {
		name = ksr.124.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.123 }
	}
}


# US Military Administration in Korea - Move Capital
country_event = {
	id = ksr.125
	title = ksr.125.t
	desc = ksr.125.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.125.a
		ai_chance = {
			base = 0
		}
		trigger = {
			525 = {
				is_owned_by = KOR
				is_fully_controlled_by = KOR
				is_capital = no
			}
		}
		KOR = {
			set_capital = {
				state = 525
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.125.b
		ai_chance = {
			base = 0
		}
		trigger = {
			1314 = {
				is_owned_by = KOR
				is_fully_controlled_by = KOR
				is_capital = no
			}
		}
		KOR = {
			set_capital = {
				state = 1314
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.125.c
		ai_chance = {
			base = 0
		}
		trigger = {
			527 = {
				is_owned_by = KOR
				is_fully_controlled_by = KOR
				is_capital = no
			}
		}
		KOR = {
			set_capital = {
				state = 527
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.125.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.123 }
	}
}




# Soviet Civil Administration in Korea
country_event = {
	id = ksr.126
	title = ksr.126.t
	desc = ksr.126.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.126.a
		ai_chance = {
			base = 100
		}
		trigger = {
			DPK = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
		
		hidden_effect = {
			DPK = {
				ksr_assign_dpk_cores = yes
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 527
					remember_old_capital = no
				}
				add_country_leader_role = {
					character = DPK_terenty_shtykov
					promote_leader = yes
					country_leader = {
						ideology = stalinism
						expire = "1965.1.1.1"
					}
				}
				promote_character = DPK_terenty_shtykov
				set_politics = {
					ruling_party = communism
					last_election = "1936.1.1"
					election_frequency = 48
					elections_allowed = no
				}
				set_cosmetic_tag = SU_KOREA
			}
		}
		
		FROM = {
			hidden_effect = { puppet = DPK }
			set_autonomy = { target = DPK autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.126.b
		ai_chance = {
			base = 0
		}
		trigger = {
			DPK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.127 }
	}
	
	option = {
		name = ksr.126.c
		ai_chance = {
			base = 0
		}
		trigger = {
			DPK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.128 }
	}
	
	option = {
		name = ksr.126.d
		ai_chance = {
			base = 0
		}
		trigger = {
			DPK = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = DPK
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.126.e
		ai_chance = {
			base = 0
		}
	}
}



# Soviet Civil Administration in Korea - Manage Territories
country_event = {
	id = ksr.127
	title = ksr.127.t
	desc = ksr.127.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.127.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
	}
	
	
	option = {
		name = ksr.127.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.126 }
	}
}


# Soviet Civil Administration in Korea - Move Capital
country_event = {
	id = ksr.128
	title = ksr.128.t
	desc = ksr.128.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.128.a
		ai_chance = {
			base = 0
		}
		trigger = {
			527 = {
				is_owned_by = DPK
				is_fully_controlled_by = DPK
				is_capital = no
			}
		}
		DPK = {
			set_capital = {
				state = 527
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.128.b
		ai_chance = {
			base = 0
		}
		trigger = {
			525 = {
				is_owned_by = DPK
				is_fully_controlled_by = DPK
				is_capital = no
			}
		}
		DPK = {
			set_capital = {
				state = 525
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.128.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1314 = {
				is_owned_by = DPK
				is_fully_controlled_by = DPK
				is_capital = no
			}
		}
		DPK = {
			set_capital = {
				state = 1314
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.128.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.126 }
	}
}





# Chinese Civil Administration in Korea
country_event = {
	id = ksr.129
	title = ksr.129.t
	desc = ksr.129.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.129.a
		ai_chance = {
			base = 100
		}
		trigger = {
			DPK = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
		
		hidden_effect = {
			DPK = {
				ksr_assign_dpk_cores = yes
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 527
					remember_old_capital = no
				}
				add_country_leader_role = {
					character = DPK_gao_gang
					promote_leader = yes
					country_leader = {
						ideology = stalinism
						expire = "1965.1.1.1"
					}
				}
				promote_character = DPK_gao_gang
				set_politics = {
					ruling_party = communism
					last_election = "1936.1.1"
					election_frequency = 48
					elections_allowed = no
				}
				set_cosmetic_tag = CN_KOREA
			}
		}
		
		FROM = {
			hidden_effect = { puppet = DPK }
			set_autonomy = { target = DPK autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.129.b
		ai_chance = {
			base = 0
		}
		trigger = {
			DPK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.130 }
	}
	
	option = {
		name = ksr.129.c
		ai_chance = {
			base = 0
		}
		trigger = {
			DPK = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.131 }
	}
	
	option = {
		name = ksr.129.d
		ai_chance = {
			base = 0
		}
		trigger = {
			DPK = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = DPK
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.129.e
		ai_chance = {
			base = 0
		}
	}
}



# Chinese Civil Administration in Korea - Manage Territories
country_event = {
	id = ksr.130
	title = ksr.130.t
	desc = ksr.130.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.130.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 525 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 525 } }
			if = { limit = { 527 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 527 } }
			if = { limit = { 1311 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1311 } }
			if = { limit = { 1312 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1312 } }
			if = { limit = { 1313 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1313 } }
			if = { limit = { 1314 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1314 } }
			if = { limit = { 1315 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1315 } }
			if = { limit = { 1316 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1316 } }
			if = { limit = { 1317 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1317 } }
			if = { limit = { 1318 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1318 } }
			if = { limit = { 1319 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1319 } }
			if = { limit = { 1320 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1320 } }
			if = { limit = { 1321 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1321 } }
			if = { limit = { 1322 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1322 } }
			if = { limit = { 1323 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1323 } }
			if = { limit = { 1324 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1324 } }
			if = { limit = { 1325 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1325 } }
			if = { limit = { 1326 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1326 } }
			if = { limit = { 1327 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1327 } }
			if = { limit = { 1328 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1328 } }
			if = { limit = { 1329 = { CONTROLLER = { NOT = { tag = DPK } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			DPK = { transfer_state = 1329 } }
		}
	}
	
	
	option = {
		name = ksr.130.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.129 }
	}
}


# Chinese Civil Administration in Korea - Move Capital
country_event = {
	id = ksr.131
	title = ksr.131.t
	desc = ksr.131.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.131.a
		ai_chance = {
			base = 0
		}
		trigger = {
			527 = {
				is_owned_by = DPK
				is_fully_controlled_by = DPK
				is_capital = no
			}
		}
		DPK = {
			set_capital = {
				state = 527
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.131.b
		ai_chance = {
			base = 0
		}
		trigger = {
			525 = {
				is_owned_by = DPK
				is_fully_controlled_by = DPK
				is_capital = no
			}
		}
		DPK = {
			set_capital = {
				state = 525
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.131.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1314 = {
				is_owned_by = DPK
				is_fully_controlled_by = DPK
				is_capital = no
			}
		}
		DPK = {
			set_capital = {
				state = 1314
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.131.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.129 }
	}
}







# Condominium of Bosnia-Herzegovina
country_event = {
	id = ksr.132
	title = ksr.132.t
	desc = ksr.132.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.132.a
		ai_chance = {
			base = 100
		}
		trigger = {
			BOS = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 104 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 104 } }
			if = { limit = { 804 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 804 } }
			if = { limit = { 1028 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1028 } }
			if = { limit = { 1029 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1029 } }
			if = { limit = { 1030 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1030 } }
			if = { limit = { 1034 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1034 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 104 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 104 } }
			if = { limit = { 804 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 804 } }
			if = { limit = { 1028 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1028 } }
			if = { limit = { 1029 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1029 } }
			if = { limit = { 1030 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1030 } }
			if = { limit = { 1034 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1034 } }
		}
		
		hidden_effect = {
			BOS = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 104
					remember_old_capital = no
				}
				set_cosmetic_tag = BOS_condominium
			}
		}
		
		FROM = {
			hidden_effect = { puppet = BOS }
			set_autonomy = { target = BOS autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.132.b
		ai_chance = {
			base = 0
		}
		trigger = {
			BOS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.133 }
	}
	
	option = {
		name = ksr.132.c
		ai_chance = {
			base = 0
		}
		trigger = {
			BOS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.134 }
	}
	
	option = {
		name = ksr.132.d
		ai_chance = {
			base = 0
		}
		trigger = {
			BOS = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = BOS
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.132.e
		ai_chance = {
			base = 0
		}
	}
}



# Condominium of Bosnia-Herzegovina - Manage Territories
country_event = {
	id = ksr.133
	title = ksr.133.t
	desc = ksr.133.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.133.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						104 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						804 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1028 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1029 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1030 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1034 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						104 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						804 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1028 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1029 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1030 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1034 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 104 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 104 } }
			if = { limit = { 804 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 804 } }
			if = { limit = { 1028 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1028 } }
			if = { limit = { 1029 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1029 } }
			if = { limit = { 1030 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1030 } }
			if = { limit = { 1034 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1034 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 104 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 104 } }
			if = { limit = { 804 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 804 } }
			if = { limit = { 1028 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1028 } }
			if = { limit = { 1029 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1029 } }
			if = { limit = { 1030 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1030 } }
			if = { limit = { 1034 = { CONTROLLER = { NOT = { tag = BOS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			BOS = { transfer_state = 1034 } }
		}
	}
	
	
	option = {
		name = ksr.133.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.132 }
	}
}


# Condominium of Bosnia-Herzegovina - Move Capital
country_event = {
	id = ksr.134
	title = ksr.134.t
	desc = ksr.134.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.134.a
		ai_chance = {
			base = 0
		}
		trigger = {
			104 = {
				is_owned_by = BOS
				is_fully_controlled_by = BOS
				is_capital = no
			}
		}
		BOS = {
			set_capital = {
				state = 104
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.134.b
		ai_chance = {
			base = 0
		}
		trigger = {
			1030 = {
				is_owned_by = BOS
				is_fully_controlled_by = BOS
				is_capital = no
			}
		}
		BOS = {
			set_capital = {
				state = 1030
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.134.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1029 = {
				is_owned_by = BOS
				is_fully_controlled_by = BOS
				is_capital = no
			}
		}
		BOS = {
			set_capital = {
				state = 1029
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.134.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.132 }
	}
}





# French Louisiana
country_event = {
	id = ksr.135
	title = ksr.135.t
	desc = ksr.135.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.135.a
		ai_chance = {
			base = 100
		}
		trigger = {
			FLS = {
				exists = no
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 372 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 372 } }
			if = { limit = { 373 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 373 } }
			if = { limit = { 374 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 374 } }
			if = { limit = { 381 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 381 } }
			if = { limit = { 382 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 382 } }
			if = { limit = { 383 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 383 } }
			if = { limit = { 384 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 384 } }
			if = { limit = { 388 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 388 } }
			if = { limit = { 389 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 389 } }
			if = { limit = { 390 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 390 } }
			if = { limit = { 392 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 392 } }
			if = { limit = { 1156 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1156 } }
			if = { limit = { 1157 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1157 } }
			if = { limit = { 1176 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1176 } }
			if = { limit = { 1177 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1177 } }
			if = { limit = { 1178 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1178 } }
			if = { limit = { 1346 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1346 } }
			if = { limit = { 1348 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1348 } }
			if = { limit = { 1349 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1349 } }
			if = { limit = { 1350 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1350 } }
			if = { limit = { 1351 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1351 } }
			if = { limit = { 1352 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1352 } }
			if = { limit = { 1353 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1353 } }
			if = { limit = { 1354 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1354 } }
			if = { limit = { 1356 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1356 } }
			if = { limit = { 1357 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1357 } }
			if = { limit = { 1359 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1359 } }
			if = { limit = { 1360 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1360 } }
			if = { limit = { 1361 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1361 } }
			if = { limit = { 1362 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1362 } }
			if = { limit = { 1363 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1363 } }
			if = { limit = { 1364 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1364 } }
			if = { limit = { 1367 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1367 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 372 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 372 } }
			if = { limit = { 373 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 373 } }
			if = { limit = { 374 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 374 } }
			if = { limit = { 381 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 381 } }
			if = { limit = { 382 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 382 } }
			if = { limit = { 383 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 383 } }
			if = { limit = { 384 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 384 } }
			if = { limit = { 388 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 388 } }
			if = { limit = { 389 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 389 } }
			if = { limit = { 390 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 390 } }
			if = { limit = { 392 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 392 } }
			if = { limit = { 1156 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1156 } }
			if = { limit = { 1157 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1157 } }
			if = { limit = { 1176 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1176 } }
			if = { limit = { 1177 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1177 } }
			if = { limit = { 1178 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1178 } }
			if = { limit = { 1346 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1346 } }
			if = { limit = { 1348 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1348 } }
			if = { limit = { 1349 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1349 } }
			if = { limit = { 1350 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1350 } }
			if = { limit = { 1351 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1351 } }
			if = { limit = { 1352 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1352 } }
			if = { limit = { 1353 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1353 } }
			if = { limit = { 1354 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1354 } }
			if = { limit = { 1356 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1356 } }
			if = { limit = { 1357 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1357 } }
			if = { limit = { 1359 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1359 } }
			if = { limit = { 1360 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1360 } }
			if = { limit = { 1361 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1361 } }
			if = { limit = { 1362 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1362 } }
			if = { limit = { 1363 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1363 } }
			if = { limit = { 1364 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1364 } }
			if = { limit = { 1367 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1367 } }
		}
		
		hidden_effect = {
			FLS = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 1346
					remember_old_capital = no
				}
			}
		}
		
		FROM = {
			hidden_effect = { puppet = FLS }
			set_autonomy = { target = FLS autonomy_state = autonomy_integrated_puppet }
		}
	}
	
	option = {
		name = ksr.135.b
		ai_chance = {
			base = 0
		}
		trigger = {
			FLS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.136 }
	}
	
	option = {
		name = ksr.135.c
		ai_chance = {
			base = 0
		}
		trigger = {
			FLS = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.137 }
	}
	
	option = {
		name = ksr.135.d
		ai_chance = {
			base = 0
		}
		trigger = {
			FLS = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = FLS
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.135.e
		ai_chance = {
			base = 0
		}
	}
}



# French Louisiana - Manage Territories
country_event = {
	id = ksr.136
	title = ksr.136.t
	desc = ksr.136.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.136.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						372 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						373 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						374 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						381 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						382 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						383 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						384 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						388 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						389 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						390 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						392 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1156 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1157 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1176 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1177 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1178 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1346 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1348 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1349 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1350 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1351 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1352 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1353 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1354 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1356 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1357 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1359 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1360 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1361 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1362 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1363 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1364 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1367 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						372 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						373 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						374 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						381 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						382 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						383 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						384 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						388 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						389 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						390 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						392 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1156 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1157 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1176 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1177 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1178 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1346 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1348 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1349 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1350 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1351 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1352 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1353 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1354 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1356 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1357 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1359 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1360 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1361 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1362 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1363 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1364 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1367 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}
			if = { limit = { 372 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 372 } }
			if = { limit = { 373 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 373 } }
			if = { limit = { 374 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 374 } }
			if = { limit = { 381 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 381 } }
			if = { limit = { 382 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 382 } }
			if = { limit = { 383 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 383 } }
			if = { limit = { 384 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 384 } }
			if = { limit = { 388 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 388 } }
			if = { limit = { 389 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 389 } }
			if = { limit = { 390 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 390 } }
			if = { limit = { 392 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 392 } }
			if = { limit = { 1156 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1156 } }
			if = { limit = { 1157 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1157 } }
			if = { limit = { 1176 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1176 } }
			if = { limit = { 1177 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1177 } }
			if = { limit = { 1178 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1178 } }
			if = { limit = { 1346 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1346 } }
			if = { limit = { 1348 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1348 } }
			if = { limit = { 1349 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1349 } }
			if = { limit = { 1350 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1350 } }
			if = { limit = { 1351 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1351 } }
			if = { limit = { 1352 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1352 } }
			if = { limit = { 1353 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1353 } }
			if = { limit = { 1354 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1354 } }
			if = { limit = { 1356 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1356 } }
			if = { limit = { 1357 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1357 } }
			if = { limit = { 1359 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1359 } }
			if = { limit = { 1360 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1360 } }
			if = { limit = { 1361 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1361 } }
			if = { limit = { 1362 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1362 } }
			if = { limit = { 1363 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1363 } }
			if = { limit = { 1364 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1364 } }
			if = { limit = { 1367 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1367 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 372 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 372 } }
			if = { limit = { 373 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 373 } }
			if = { limit = { 374 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 374 } }
			if = { limit = { 381 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 381 } }
			if = { limit = { 382 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 382 } }
			if = { limit = { 383 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 383 } }
			if = { limit = { 384 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 384 } }
			if = { limit = { 388 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 388 } }
			if = { limit = { 389 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 389 } }
			if = { limit = { 390 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 390 } }
			if = { limit = { 392 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 392 } }
			if = { limit = { 1156 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1156 } }
			if = { limit = { 1157 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1157 } }
			if = { limit = { 1176 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1176 } }
			if = { limit = { 1177 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1177 } }
			if = { limit = { 1178 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1178 } }
			if = { limit = { 1346 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1346 } }
			if = { limit = { 1348 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1348 } }
			if = { limit = { 1349 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1349 } }
			if = { limit = { 1350 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1350 } }
			if = { limit = { 1351 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1351 } }
			if = { limit = { 1352 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1352 } }
			if = { limit = { 1353 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1353 } }
			if = { limit = { 1354 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1354 } }
			if = { limit = { 1356 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1356 } }
			if = { limit = { 1357 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1357 } }
			if = { limit = { 1359 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1359 } }
			if = { limit = { 1360 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1360 } }
			if = { limit = { 1361 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1361 } }
			if = { limit = { 1362 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1362 } }
			if = { limit = { 1363 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1363 } }
			if = { limit = { 1364 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1364 } }
			if = { limit = { 1367 = { CONTROLLER = { NOT = { tag = FLS } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			FLS = { transfer_state = 1367 } }
		}
	}
	
	
	option = {
		name = ksr.136.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.135 }
	}
}


# French Louisiana - Move Capital
country_event = {
	id = ksr.137
	title = ksr.137.t
	desc = ksr.137.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.137.a
		ai_chance = {
			base = 0
		}
		trigger = {
			1346 = {
				is_owned_by = FLS
				is_fully_controlled_by = FLS
				is_capital = no
			}
		}
		FLS = {
			set_capital = {
				state = 1346
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.137.b
		ai_chance = {
			base = 0
		}
		trigger = {
			373 = {
				is_owned_by = FLS
				is_fully_controlled_by = FLS
				is_capital = no
			}
		}
		FLS = {
			set_capital = {
				state = 373
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.137.c
		ai_chance = {
			base = 0
		}
		trigger = {
			1367 = {
				is_owned_by = FLS
				is_fully_controlled_by = FLS
				is_capital = no
			}
		}
		FLS = {
			set_capital = {
				state = 1367
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.137.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.135 }
	}
}


# Reichskommissariat Italien
country_event = {
	id = ksr.138
	title = ksr.138.t
	desc = ksr.138.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.138.a
		ai_chance = {
			base = 100
		}
		trigger = {
			RIT = {
				exists = no
			}
		}
		
		GER_improve_rosenbergs_trait_effect = yes
		
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 2 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 2 } }
			if = { limit = { 114 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 114 } }
			if = { limit = { 115 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 115 } }
			if = { limit = { 117 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 117 } }
			if = { limit = { 156 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 156 } }
			if = { limit = { 157 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 157 } }
			if = { limit = { 158 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 158 } }
			if = { limit = { 159 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 159 } }
			if = { limit = { 160 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 160 } }
			if = { limit = { 161 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 161 } }
			if = { limit = { 162 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 162 } }
			if = { limit = { 849 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 849 } }
			if = { limit = { 1129 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1129 } }
			if = { limit = { 1130 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1130 } }
			if = { limit = { 1308 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1308 } }
			if = { limit = { 1404 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1404 } }
			if = { limit = { 1405 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1405 } }
			if = { limit = { 1406 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1406 } }
			if = { limit = { 1407 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1407 } }
			if = { limit = { 1408 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1408 } }
			if = { limit = { 1409 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1409 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 2 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 2 } }
			if = { limit = { 114 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 114 } }
			if = { limit = { 115 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 115 } }
			if = { limit = { 117 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 117 } }
			if = { limit = { 156 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 156 } }
			if = { limit = { 157 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 157 } }
			if = { limit = { 158 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 158 } }
			if = { limit = { 159 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 159 } }
			if = { limit = { 160 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 160 } }
			if = { limit = { 161 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 161 } }
			if = { limit = { 162 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 162 } }
			if = { limit = { 849 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 849 } }
			if = { limit = { 1129 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1129 } }
			if = { limit = { 1130 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1130 } }
			if = { limit = { 1308 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1308 } }
			if = { limit = { 1404 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1404 } }
			if = { limit = { 1405 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1405 } }
			if = { limit = { 1406 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1406 } }
			if = { limit = { 1407 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1407 } }
			if = { limit = { 1408 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1408 } }
			if = { limit = { 1409 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1409 } }
		}
		
		hidden_effect = {
			RIT = {
				add_timed_idea = {
					idea = ksr_subject_creation_cooldown
					days = 365
				}
				set_capital = {
					state = 2
					remember_old_capital = no
				}
				add_manpower = 50000
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 5000
					producer = GER
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 500
					producer = GER
				}	
				inherit_technology = GER
				add_offsite_building = { type = arms_factory level = 3 }
				load_oob = "RK_OOB"
			}
		}
		
		FROM = {
			hidden_effect = { puppet = RIT }
			set_autonomy = { target = RIT autonomy_state = autonomy_reichskommissariat }
		}
	}
	
	option = {
		name = ksr.138.b
		ai_chance = {
			base = 0
		}
		trigger = {
			RIT = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.139 }
	}
	
	option = {
		name = ksr.138.c
		ai_chance = {
			base = 0
		}
		trigger = {
			RIT = {
				exists = yes
				is_subject_of = ROOT
			}
		}
		hidden_effect = { country_event = ksr.140 }
	}
	
	option = {
		name = ksr.138.d
		ai_chance = {
			base = 0
		}
		trigger = {
			RIT = {
				exists = yes
				is_subject_of = ROOT
				NOT = { has_idea = ksr_subject_creation_cooldown }
			}
		}
		annex_country = {
			target = RIT
			transfer_troops = yes
		}
	}
	
	option = {
		name = ksr.138.e
		ai_chance = {
			base = 0
		}
	}
}



# Reichskommissariat Italien - Manage Territories (1/2)
country_event = {
	id = ksr.139
	title = ksr.139.t
	desc = ksr.139.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	option = {
		name = ksr.139.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						2 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						114 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						115 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						117 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						156 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						157 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						158 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						159 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						160 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						161 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						162 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						849 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1129 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1130 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1308 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1404 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1405 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1406 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1407 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1408 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1409 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						2 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						114 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						115 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						117 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						156 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						157 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						158 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						159 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						160 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						161 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						162 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						849 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1129 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1130 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1308 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1404 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1405 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1406 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1407 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1408 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1409 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 2 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 2 } }
			if = { limit = { 114 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 114 } }
			if = { limit = { 115 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 115 } }
			if = { limit = { 117 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 117 } }
			if = { limit = { 156 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 156 } }
			if = { limit = { 157 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 157 } }
			if = { limit = { 158 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 158 } }
			if = { limit = { 159 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 159 } }
			if = { limit = { 160 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 160 } }
			if = { limit = { 161 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 161 } }
			if = { limit = { 162 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 162 } }
			if = { limit = { 849 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 849 } }
			if = { limit = { 1129 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1129 } }
			if = { limit = { 1130 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1130 } }
			if = { limit = { 1308 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1308 } }
			if = { limit = { 1404 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1404 } }
			if = { limit = { 1405 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1405 } }
			if = { limit = { 1406 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1406 } }
			if = { limit = { 1407 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1407 } }
			if = { limit = { 1408 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1408 } }
			if = { limit = { 1409 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1409 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 2 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 2 } }
			if = { limit = { 114 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 114 } }
			if = { limit = { 115 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 115 } }
			if = { limit = { 117 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 117 } }
			if = { limit = { 156 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 156 } }
			if = { limit = { 157 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 157 } }
			if = { limit = { 158 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 158 } }
			if = { limit = { 159 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 159 } }
			if = { limit = { 160 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 160 } }
			if = { limit = { 161 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 161 } }
			if = { limit = { 162 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 162 } }
			if = { limit = { 849 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 849 } }
			if = { limit = { 1129 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1129 } }
			if = { limit = { 1130 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1130 } }
			if = { limit = { 1308 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1308 } }
			if = { limit = { 1404 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1404 } }
			if = { limit = { 1405 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1405 } }
			if = { limit = { 1406 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1406 } }
			if = { limit = { 1407 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1407 } }
			if = { limit = { 1408 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1408 } }
			if = { limit = { 1409 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1409 } }
		}
	}
	
	
	
	# Incorporate Italian Tyrol
	option = {
		name = ksr.139.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						39 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						850 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						39 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						850 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 39 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 39 } }
			if = { limit = { 850 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 850 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 39 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 39 } }
			if = { limit = { 850 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 850 } }
		}
	}
	
	
	option = {
		name = ksr.139.f
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.141 }
	}
	
	
	option = {
		name = ksr.139.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.138 }
	}
}


# Reichskommissariat Italien - Move Capital
country_event = {
	id = ksr.140
	title = ksr.140.t
	desc = ksr.140.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	option = {
		name = ksr.140.a
		ai_chance = {
			base = 0
		}
		trigger = {
			2 = {
				is_owned_by = RIT
				is_fully_controlled_by = RIT
				is_capital = no
			}
		}
		RIT = {
			set_capital = {
				state = 2
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.140.b
		ai_chance = {
			base = 0
		}
		trigger = {
			159 = {
				is_owned_by = RIT
				is_fully_controlled_by = RIT
				is_capital = no
			}
		}
		RIT = {
			set_capital = {
				state = 159
				remember_old_capital = no
			}
		}
	}
	
	
	option = {
		name = ksr.140.c
		ai_chance = {
			base = 0
		}
		trigger = {
			117 = {
				is_owned_by = RIT
				is_fully_controlled_by = RIT
				is_capital = no
			}
		}
		RIT = {
			set_capital = {
				state = 117
				remember_old_capital = no
			}
		}
	}

	
	option = {
		name = ksr.140.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.138 }
	}
}


# Reichskommissariat Italien - Manage Territories (2/2)
country_event = {
	id = ksr.141
	title = ksr.141.t
	desc = ksr.141.desc
	picture = GFX_report_event_hol_cabinet_gerbrandy

	is_triggered_only = yes
	
	
	# Incorporate Corsica
	option = {
		name = ksr.141.b
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						1 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						1 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 1 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 1 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1 } }
		}
	}
	
	
	# Incorporate Friuli
	option = {
		name = ksr.141.c
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						1168 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						1168 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 1168 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1168 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 1168 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1168 } }
		}
	}
	
	
	# Incorporate Adriatic Littoral
	option = {
		name = ksr.141.e
		ai_chance = {
			base = 0
		}
		
		trigger = {
			OR = {
				AND = {
					NOT = {
						has_game_rule = {
							rule = allow_ksr_subjects_on_controlled
							option = ENABLED
						}
					}
					OR = {
						736 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						852 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						853 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1025 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1169 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
						1388 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } }
					}
				}
				AND = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
					OR = {
						736 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						852 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						853 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1025 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1169 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
						1388 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } }
					}   
				}       
			}           
		}            
		                	        
		if = {
			limit = {
				NOT = {
					has_game_rule = {
						rule = allow_ksr_subjects_on_controlled
						option = ENABLED
					}
				}
			}	
			if = { limit = { 736 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 736 } }
			if = { limit = { 852 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 852 } }
			if = { limit = { 853 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 853 } }
			if = { limit = { 1025 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1025 } }
			if = { limit = { 1169 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1169 } }
			if = { limit = { 1388 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } owns_state = PREV has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1388 } }
		}
		if = {
			limit = {
				has_game_rule = {
					rule = allow_ksr_subjects_on_controlled
					option = ENABLED
				}
			}
			if = { limit = { 736 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 736 } }
			if = { limit = { 852 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 852 } }
			if = { limit = { 853 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 853 } }
			if = { limit = { 1025 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1025 } }
			if = { limit = { 1169 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1169 } }
			if = { limit = { 1388 = { CONTROLLER = { NOT = { tag = RIT } OR = { tag = ROOT is_subject_of = ROOT } has_full_control_of_state = PREV } } }
			RIT = { transfer_state = 1388 } }
		}
	}
	
	
	option = {
		name = ksr.141.d
		ai_chance = {
			base = 0
		}
		hidden_effect = { country_event = ksr.139 }
	}
}


# CHI annexes Warlord (puppet option for player)
country_event = {
	id = ksr.142
	title = ksr.142.t
	desc = ksr.142.desc
	picture = GFX_report_event_generic_sign_treaty2

	is_triggered_only = yes

	option = {
		ai_chance = { factor = 100 }
		name = ksr.142.a
		FROM = { annex_country = { target = ROOT transfer_troops = yes } }
		custom_effect_tooltip = GAME_OVER_TT
	}

	#Nothing
	option = {
		ai_chance = { factor = 0 }
		FROM = { puppet = ROOT }
		name = ksr.142.b
	}
}



# China receives prompt to annex collapsing Shandong Clique (circumstantial trigger)
country_event = {
	id = ksr.143
	title = ksr.143.t
	desc = ksr.143.desc
	picture = GFX_report_event_china_infiltration
	
	fire_only_once = yes

	trigger = {
		OR = {
			AND = {
				tag = CHI
				has_war_with = JAP
				
				SND = {
					exists = yes
					has_war_with = JAP 
					has_capitulated = no
					surrender_progress > 0.5
				}
			}
		}
	}

	option = {
		name = ksr.143.a
		ai_chance = { factor = 100 }
		SND = { country_event = { id = ksr.142 days = 1 } }
	}

	#Nothing
	option = {
		ai_chance = { factor = 0 }
		name = ksr.143.b
	}
}