SOV_postwar_land_management = {

	SOV_move_pol_border_west = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_move_pol_border_west_requirement_tt
				96 = { is_controlled_by_ROOT_or_subject = yes }
				784 = { is_controlled_by_ROOT_or_subject = yes }
				95 = { is_controlled_by_ROOT_or_subject = yes }
				94 = { is_controlled_by_ROOT_or_subject = yes }
				93 = { is_controlled_by_ROOT_or_subject = yes }
				91 = { is_controlled_by_ROOT_or_subject = yes }
				89 = { is_controlled_by_ROOT_or_subject = yes }
				97 = { is_controlled_by_ROOT_or_subject = yes }
				98 = { is_controlled_by_ROOT_or_subject = yes }
				10 = { is_controlled_by_ROOT_or_subject = yes }
				92 = { is_controlled_by_ROOT_or_subject = yes }
				88 = { is_controlled_by_ROOT_or_subject = yes }
				90 = { is_controlled_by_ROOT_or_subject = yes }
				87 = { is_controlled_by_ROOT_or_subject = yes }
				85 = { is_controlled_by_ROOT_or_subject = yes }
				807 = { is_controlled_by_ROOT_or_subject = yes }
				86 = { is_controlled_by_ROOT_or_subject = yes }
				762 = { is_controlled_by_ROOT_or_subject = yes }
			}
			5 = { is_controlled_by_ROOT_or_subject = yes }
			67 = { is_controlled_by_ROOT_or_subject = yes }
			68 = { is_controlled_by_ROOT_or_subject = yes }
			66 = { is_controlled_by_ROOT_or_subject = yes }
			63 = { is_controlled_by_ROOT_or_subject = yes }
			763 = { is_controlled_by_ROOT_or_subject = yes }
			188 = { is_controlled_by_ROOT_or_subject = yes }
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				POL = {
					exists = yes
					is_subject_of = SOV
				}
				POL = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 10
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			custom_effect_tooltip = SOV_move_pol_border_sov_effect_tt
			
			transfer_state = 188
			transfer_state = 763
			
			custom_effect_tooltip = SOV_move_pol_border_sov_remove_core_tt
			
			SOV = {
				hidden_effect = {
					transfer_state = 784
					transfer_state = 96
					transfer_state = 95
					transfer_state = 94
					transfer_state = 93
					transfer_state = 91
					transfer_state = 89
					
					763 = { remove_core_of = GER }
					784 = { remove_core_of = POL }
					96 = { remove_core_of = POL }
					95 = { remove_core_of = POL }
					94 = { remove_core_of = POL }
					93 = { remove_core_of = POL }
					91 = { remove_core_of = POL }
					89 = { remove_core_of = POL }
					188 = { remove_core_of = GER }
				}
			}
			
			POL = {
				custom_effect_tooltip = SOV_gain_rest_core_states
				
				transfer_state = 67
				transfer_state = 66
				transfer_state = 68
				transfer_state = 63
				transfer_state = 5
				transfer_state = 97
				custom_effect_tooltip = SOV_move_pol_border_pol_add_core_tt
				
				hidden_effect = {
					transfer_state = 98
					transfer_state = 10
					transfer_state = 92
					transfer_state = 90
					transfer_state = 88
					transfer_state = 762
					transfer_state = 87
					transfer_state = 86
					transfer_state = 807
					transfer_state = 85
					
					5 = { remove_core_of = GER }
					5 = { add_core_of = POL }
					67 = { remove_core_of = GER }
					67 = { add_core_of = POL }
					66 = { remove_core_of = GER }
					66 = { add_core_of = POL }
					68 = { remove_core_of = GER }
					68 = { add_core_of = POL }
					63 = { remove_core_of = GER }
					63 = { add_core_of = POL }
				}
			}
			
			SOV = {
				set_autonomy = { target = POL autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_finland_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_finland_land_management_requirement_tt
				every_state = {
					limit = {
						is_core_of = FIN
					}
					is_controlled_by_ROOT_or_subject = yes
				}
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				FIN = {
					exists = yes
					is_subject_of = SOV
				}
				FIN = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 111
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			SOV = {
				transfer_state = 146
				transfer_state = 147
				transfer_state = 722
				custom_effect_tooltip = SOV_finland_land_management_sov_effect_tt
				
				hidden_effect = {
					146 = { remove_core_of = FIN }
					147 = { remove_core_of = FIN }
					722 = { remove_core_of = FIN }
				}
			}
			
			FIN = {
				custom_effect_tooltip = SOV_gain_rest_core_states
				hidden_effect = {
					every_state = {
						limit = {
							is_core_of = FIN
						}
						transfer_state_to = FIN
					}
				}
			}
			
			SOV = {
				set_autonomy = { target = FIN autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_cze_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_cze_land_management_requirement_tt
				69 = { is_controlled_by_ROOT_or_subject = yes }
				9 = { is_controlled_by_ROOT_or_subject = yes }
				75 = { is_controlled_by_ROOT_or_subject = yes }
				74 = { is_controlled_by_ROOT_or_subject = yes }
				72 = { is_controlled_by_ROOT_or_subject = yes }
				70 = { is_controlled_by_ROOT_or_subject = yes }
				71 = { is_controlled_by_ROOT_or_subject = yes }
				664 = { is_controlled_by_ROOT_or_subject = yes }
				73 = { is_controlled_by_ROOT_or_subject = yes }
				972 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				CZE = {
					exists = yes
					is_subject_of = SOV
				}
				CZE = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 9
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			SOV = {
				transfer_state = 73
			
				73 = { remove_core_of = CZE }
			}
			
			CZE = {
				custom_effect_tooltip = SOV_gain_rest_core_states
				
				hidden_effect = {
					transfer_state = 69
					transfer_state = 9
					transfer_state = 75
					transfer_state = 74
					transfer_state = 72
					transfer_state = 70
					transfer_state = 71
					transfer_state = 664
					transfer_state = 972
				
					72 = { remove_core_of = POL }
					69 = { remove_core_of = GER }
					74 = { remove_core_of = GER }
					644 = { remove_core_of = HUN }
					73 = { remove_core_of = HUN }
				}
			}

			SOV = {
				set_autonomy = { target = CZE autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_rom_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_rom_land_management_requirement_tt
				80 = { is_controlled_by_ROOT_or_subject = yes }
				78 = { is_controlled_by_ROOT_or_subject = yes }
				766 = { is_controlled_by_ROOT_or_subject = yes }
				79 = { is_controlled_by_ROOT_or_subject = yes }
				76 = { is_controlled_by_ROOT_or_subject = yes }
				83 = { is_controlled_by_ROOT_or_subject = yes }
				82 = { is_controlled_by_ROOT_or_subject = yes }
				84 = { is_controlled_by_ROOT_or_subject = yes }
				81 = { is_controlled_by_ROOT_or_subject = yes }
				46 = { is_controlled_by_ROOT_or_subject = yes }
				971 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				ROM = {
					exists = yes
					is_subject_of = SOV
				}
				ROM = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 46
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			SOV = {
				transfer_state = 80
				transfer_state = 78
				transfer_state = 766
				custom_effect_tooltip = SOV_rom_land_management_sov_effect_tt
				hidden_effect = {
					80 = { remove_core_of = ROM }
					78 = { remove_core_of = ROM }
					766 = { remove_core_of = ROM }
				}
			}
			
			ROM = {
				custom_effect_tooltip = SOV_gain_rest_core_states
				hidden_effect = {
					transfer_state = 79
					transfer_state = 76
					transfer_state = 83
					transfer_state = 82
					transfer_state = 84
					transfer_state = 81
					transfer_state = 46
					transfer_state = 971
					
					76 = { remove_core_of = HUN }
					84 = { remove_core_of = HUN }
					83 = { remove_core_of = HUN }
					82 = { remove_core_of = HUN }
					
				}
			}

			SOV = {
				set_autonomy = { target = ROM autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_puppet_bul = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			BUL = {
				is_in_faction_with = SOV
				has_government = ROOT
				NOT = {
					is_subject_of = SOV
				}
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			BUL = {
				is_in_faction_with = SOV
				has_government = ROOT
				NOT = {
					is_subject_of = SOV
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
			}
		}
		
		on_map_mode = map_and_decisions_view
		
		complete_effect = {
			SOV = {
				set_autonomy = { target = BUL autonomy_state = autonomy_integrated_puppet }
			}
		}
		
	}
	
	SOV_bul_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			77 = { is_controlled_by_ROOT_or_subject = yes }
			211 = { is_controlled_by_ROOT_or_subject = yes }
			801 = { is_controlled_by_ROOT_or_subject = yes }
			212 = { is_controlled_by_ROOT_or_subject = yes }
			48 = { is_controlled_by_ROOT_or_subject = yes }
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				BUL = {
					exists = yes
					is_subject_of = SOV
				}
				BUL = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 48
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			BUL = {
				custom_effect_tooltip = SOV_gain_above_states
				
				hidden_effect = {
					transfer_state = 77
					transfer_state = 211
					transfer_state = 801
					transfer_state = 212
					transfer_state = 48
					
					77 = { remove_core_of = ROM }
					77 = { add_core_of = BUL }
				}
			}

			SOV = {
				set_autonomy = { target = BUL autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_yug_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			736 = { is_controlled_by_ROOT_or_subject = yes }
			852 = { is_controlled_by_ROOT_or_subject = yes }
			163 = { is_controlled_by_ROOT_or_subject = yes }
			custom_trigger_tooltip = {
				tooltip = SOV_yug_land_management_requirement_tt
				102 = { is_controlled_by_ROOT_or_subject = yes }
				853 = { is_controlled_by_ROOT_or_subject = yes }
				103 = { is_controlled_by_ROOT_or_subject = yes }
				109 = { is_controlled_by_ROOT_or_subject = yes }
				104 = { is_controlled_by_ROOT_or_subject = yes }
				804 = { is_controlled_by_ROOT_or_subject = yes }
				45 = { is_controlled_by_ROOT_or_subject = yes }
				764 = { is_controlled_by_ROOT_or_subject = yes }
				107 = { is_controlled_by_ROOT_or_subject = yes }
				108 = { is_controlled_by_ROOT_or_subject = yes }
				802 = { is_controlled_by_ROOT_or_subject = yes }
				105 = { is_controlled_by_ROOT_or_subject = yes }
				803 = { is_controlled_by_ROOT_or_subject = yes }
				106 = { is_controlled_by_ROOT_or_subject = yes }
				970 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				YUG = {
					exists = yes
					is_subject_of = SOV
				}
				YUG = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 107
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			YUG = {
				transfer_state = 736
				transfer_state = 852
				transfer_state = 163
				custom_effect_tooltip = SOV_gain_rest_core_states
			
				hidden_effect = {
					transfer_state = 102
					transfer_state = 853 
					transfer_state = 103 
					transfer_state = 109
					transfer_state = 104 
					transfer_state = 804 
					transfer_state = 45 
					transfer_state = 764 
					transfer_state = 107 
					transfer_state = 108
					transfer_state = 802
					transfer_state = 105
					transfer_state = 803 
					transfer_state = 106 
					transfer_state = 970
					
					736 = { remove_core_of = ITA }
					852 = { remove_core_of = ITA } 
					803 = { add_core_of = YUG }
					803 = { remove_core_of = BUL }
					106 = { add_core_of = YUG }
					106 = { remove_core_of = BUL }
				}
			}

			SOV = {
				set_autonomy = { target = YUG autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_alb_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			44 = { is_controlled_by_ROOT_or_subject = yes }
			805 = { is_controlled_by_ROOT_or_subject = yes }
			934 = { is_controlled_by_ROOT_or_subject = yes }
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				ALB = {
					exists = yes
					is_subject_of = SOV
				}
				ALB = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 44
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			ALB = {
				transfer_state = 44
				transfer_state = 805
				transfer_state = 934
			}

			SOV = {
				set_autonomy = { target = ALB autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_hun_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			43 = { is_controlled_by_ROOT_or_subject = yes }
			154 = { is_controlled_by_ROOT_or_subject = yes }
			155 = { is_controlled_by_ROOT_or_subject = yes }
			973 = { is_controlled_by_ROOT_or_subject = yes }
			974 = { is_controlled_by_ROOT_or_subject = yes }
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				HUN = {
					exists = yes
					is_subject_of = SOV
				}
				HUN = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 43
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			HUN = {
				custom_effect_tooltip = SOV_gain_above_states
				
				hidden_effect = {
					transfer_state = 43
					transfer_state = 154
					transfer_state = 155
					transfer_state = 973
					transfer_state = 974
				}
			}

			SOV = {
				set_autonomy = { target = HUN autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_gre_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_gre_land_management_requirement_tt
				184 = { is_controlled_by_ROOT_or_subject = yes }
				731 = { is_controlled_by_ROOT_or_subject = yes }
				185 = { is_controlled_by_ROOT_or_subject = yes }
				47 = { is_controlled_by_ROOT_or_subject = yes }
				186 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				GRE = { 
					exists = yes
					is_subject_of = SOV
				}
				GRE = { 
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 47
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			GRE = {
				custom_effect_tooltip = SOV_gre_land_management_gre_effect_tt
			
				
				hidden_effect = {
					transfer_state = 184
					transfer_state = 731
					transfer_state = 185
					transfer_state = 47
					transfer_state = 186 
				
					736 = { remove_core_of = BUL }
					852 = { remove_core_of = BUL } 
					184 = { add_core_of = GRE }
					731 = { add_core_of = GRE }
				}
				
			}

			SOV = {
				set_autonomy = { target = GRE autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_gre_expand = {
		icon = GFX_decision_category_generic_foreign_policy
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			182 = { is_controlled_by_ROOT_or_subject = yes }
			187 = { is_controlled_by_ROOT_or_subject = yes }
			164 = { is_controlled_by_ROOT_or_subject = yes }
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			GRE = {
				exists = yes
				is_subject_of = SOV
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 47
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			GRE = {
				custom_effect_tooltip = SOV_gain_above_states
				hidden_effect = {
					transfer_state = 182
					transfer_state = 187
					transfer_state = 164
				}
			}
		}
	}
	
	SOV_tur_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_tur_land_management_requirement_tt
				341 = { is_controlled_by_ROOT_or_subject = yes }
				797 = { is_controlled_by_ROOT_or_subject = yes }
				340 = { is_controlled_by_ROOT_or_subject = yes }
				347 = { is_controlled_by_ROOT_or_subject = yes }
				339 = { is_controlled_by_ROOT_or_subject = yes }
				342 = { is_controlled_by_ROOT_or_subject = yes }
				343 = { is_controlled_by_ROOT_or_subject = yes }
				49 = { is_controlled_by_ROOT_or_subject = yes }
				356 = { is_controlled_by_ROOT_or_subject = yes }
				355 = { is_controlled_by_ROOT_or_subject = yes }
				354 = { is_controlled_by_ROOT_or_subject = yes }
				346 = { is_controlled_by_ROOT_or_subject = yes }
				345 = { is_controlled_by_ROOT_or_subject = yes }
				798 = { is_controlled_by_ROOT_or_subject = yes }
				348 = { is_controlled_by_ROOT_or_subject = yes }
				344 = { is_controlled_by_ROOT_or_subject = yes }
				349 = { is_controlled_by_ROOT_or_subject = yes }
				353 = { is_controlled_by_ROOT_or_subject = yes }
				800 = { is_controlled_by_ROOT_or_subject = yes }
				352 = { is_controlled_by_ROOT_or_subject = yes }
				350 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				TUR = {
					exists = yes
					is_subject_of = SOV
				}
				TUR = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 49
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			TUR = {
				custom_effect_tooltip = SOV_gain_core_states
				
				hidden_effect = {
					transfer_state = 341 
					transfer_state = 797 
					transfer_state = 340 
					transfer_state = 347 
					transfer_state = 339
					transfer_state = 342 
					transfer_state = 343 
					transfer_state = 49
					transfer_state = 356 
					transfer_state = 355
					transfer_state = 354
					transfer_state = 346
					transfer_state = 345 
					transfer_state = 798 
					transfer_state = 348 
					transfer_state = 344 
					transfer_state = 349 
					transfer_state = 353
					transfer_state = 800 
					transfer_state = 352 
					transfer_state = 350 
					
					350 = { add_core_of = TUR }
					352 = { add_core_of = TUR }
					800 = { add_core_of = TUR }
					353 = { add_core_of = TUR }
					
					if = {
						limit = {
							799 = { is_controlled_by_ROOT_or_subject = yes }
						}
						transfer_state = 799
					}
					
				}
			}
			
			SOV = {
				set_autonomy = { target = TUR autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_take_bosphorus = {
		icon = GFX_decision_eng_trade_unions_demand
		
		allowed = { 
			always = yes
		}
		
		available = {
			always = yes
		}
		
		cost = 25
		ai_will_do = {
			factor = 0
		}
		
		visible = {
			TUR = {
				exists = yes
				is_subject_of = SOV
			}
			797 = { is_controlled_by = TUR }
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 797
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			SOV = {
				transfer_state = 797
			}
			797 = { set_compliance = 70 }
		}
	}
	
	
	SOV_aus_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_aus_land_management_requirement_tt
				4 = { is_controlled_by_ROOT_or_subject = yes }
				152 = { is_controlled_by_ROOT_or_subject = yes }
				153 = { is_controlled_by_ROOT_or_subject = yes }
				848 = { is_controlled_by_ROOT_or_subject = yes }
				976 = { is_controlled_by_ROOT_or_subject = yes }
				975 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				AUS = {
					exists = yes
					is_subject_of = SOV
				}
				AUS = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 4
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			AUS = {
				custom_effect_tooltip = SOV_gain_core_states
				
				hidden_effect = {
					transfer_state = 4 
					transfer_state = 152 
					transfer_state = 153 
					transfer_state = 848  
					transfer_state = 976  
					transfer_state = 975  
					
					4 = { remove_core_of = GER }
					152 = { remove_core_of = GER }
					153 = { remove_core_of = GER }
					848 = { remove_core_of = GER }
					976 = { remove_core_of = GER }
					975 = { remove_core_of = GER }
					975 = { remove_core_of = HUN }
				}
			}
			
			SOV = {
				set_autonomy = { target = AUS autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_release_est_ger = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			62 = { is_controlled_by_ROOT_or_subject = yes }
			61 = { is_controlled_by_ROOT_or_subject = yes }
			64 = { is_controlled_by_ROOT_or_subject = yes }
			65 = { is_controlled_by_ROOT_or_subject = yes }
			60 = { is_controlled_by_ROOT_or_subject = yes }
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			GER = {
				exists = no
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 64
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			DDR = {
				custom_effect_tooltip = SOV_gain_above_states
			
			
				hidden_effect = {
					transfer_state = 62 
					transfer_state = 61 
					transfer_state = 64 
					transfer_state = 65  
					transfer_state = 60  
				
					62 = { add_core_of = DDR }
					61 = { add_core_of = DDR }
					64 = { add_core_of = DDR }
					65 = { add_core_of = DDR }
					60 = { add_core_of = DDR }
				}
			}
			
			SOV = {
				set_autonomy = { target = DDR autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_expand_ger = {
		icon = GFX_decision_category_generic_foreign_policy
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_expand_ger_requirement_tt
				58 = { is_controlled_by_ROOT_or_subject = yes }
				59 = { is_controlled_by_ROOT_or_subject = yes }
				56 = { is_controlled_by_ROOT_or_subject = yes }
				57 = { is_controlled_by_ROOT_or_subject = yes }
				55 = { is_controlled_by_ROOT_or_subject = yes }
				51 = { is_controlled_by_ROOT_or_subject = yes }
				42 = { is_controlled_by_ROOT_or_subject = yes }
				50 = { is_controlled_by_ROOT_or_subject = yes }
				52 = { is_controlled_by_ROOT_or_subject = yes }
				53 = { is_controlled_by_ROOT_or_subject = yes }
				54 = { is_controlled_by_ROOT_or_subject = yes }
				62 = { is_controlled_by_ROOT_or_subject = yes }
				61 = { is_controlled_by_ROOT_or_subject = yes }
				64 = { is_controlled_by_ROOT_or_subject = yes }
				65 = { is_controlled_by_ROOT_or_subject = yes }
				60 = { is_controlled_by_ROOT_or_subject = yes }
				909 = { is_controlled_by_ROOT_or_subject = yes }
				978 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				GER = {
					is_subject_of = SOV
					exists = yes
				}
				DDR = {
					is_subject_of = SOV
					exists = yes
				}
			}
			WGR = {
				exists = no
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 64
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			if = {
				limit = {
					GER = {
						is_subject_of = SOV
						exists = yes
					}
				}
				GER = {
					custom_effect_tooltip = SOV_gain_rest_core_states
					
				
					hidden_effect = {
						transfer_state = 58 
						transfer_state = 59 
						transfer_state = 56 
						transfer_state = 57 
						transfer_state = 55 
						transfer_state = 51 
						transfer_state = 42
						transfer_state = 50 
						transfer_state = 52 
						transfer_state = 62 
						transfer_state = 61
						transfer_state = 64 
						transfer_state = 65 
						transfer_state = 60 
						transfer_state = 54 
						transfer_state = 53 
						transfer_state = 909
						transfer_state = 978
						
						8 = { remove_core_of = GER }
						28 = { remove_core_of = GER }
					}
				}
					
				SOV = {
					set_autonomy = { target = GER autonomy_state = autonomy_integrated_puppet }
				}
			}
			if = {
				limit = {
					DDR = {
						is_subject_of = SOV
						exists = yes
					}
				}
				DDR = {
					custom_effect_tooltip = SOV_gain_rest_core_states
					hidden_effect = {
						transfer_state = 58 
						transfer_state = 59 
						transfer_state = 56 
						transfer_state = 57 
						transfer_state = 55 
						transfer_state = 51 
						transfer_state = 42
						transfer_state = 50
						transfer_state = 52 
						transfer_state = 53 
						transfer_state = 54 
						transfer_state = 909
						transfer_state = 978
						
						58 = { add_core_of = DDR }
						59 = { add_core_of = DDR }
						56 = { add_core_of = DDR }
						57 = { add_core_of = DDR }
						55 = { add_core_of = DDR }
						51 = { add_core_of = DDR }
						42 = { add_core_of = DDR }
						50 = { add_core_of = DDR }
						52 = { add_core_of = DDR }
						53 = { add_core_of = DDR }
						54 = { add_core_of = DDR }
						8 = { remove_core_of = GER }
						28 = { remove_core_of = GER }
						978 = { remove_core_of = GER }
					}
				}
			}
			
		}
	}
	
	SOV_release_wst_ger = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_release_wst_ger_requirement
				has_full_control_of_state = 58
				has_full_control_of_state = 59
				has_full_control_of_state = 56
				has_full_control_of_state = 57
				has_full_control_of_state = 55
				has_full_control_of_state = 51
				has_full_control_of_state = 42
				has_full_control_of_state = 50
				has_full_control_of_state = 52
				has_full_control_of_state = 53
				has_full_control_of_state = 54
				has_full_control_of_state = 909
				has_full_control_of_state = 978
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 0
		}
		
		visible = {
			WGR = {
				exists = no
			}
			custom_trigger_tooltip = {
				tooltip = SOV_release_wst_ger_requirement
				has_full_control_of_state = 58
				has_full_control_of_state = 59
				has_full_control_of_state = 56
				has_full_control_of_state = 57
				has_full_control_of_state = 55
				has_full_control_of_state = 51
				has_full_control_of_state = 42
				has_full_control_of_state = 50
				has_full_control_of_state = 52
				has_full_control_of_state = 53
				has_full_control_of_state = 54
				has_full_control_of_state = 909
				has_full_control_of_state = 978
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 55
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			WGR = {
				custom_effect_tooltip = SOV_release_wst_ger_effect_tt
				
				hidden_effect = {
					transfer_state = 58 
					transfer_state = 59 
					transfer_state = 56 
					transfer_state = 57 
					transfer_state = 55 
					transfer_state = 51 
					transfer_state = 42
					transfer_state = 50
					transfer_state = 52 
					transfer_state = 53 
					transfer_state = 54 
					transfer_state = 909
					transfer_state = 978
				
					58 = { add_core_of = WGR }
					59 = { add_core_of = WGR }
					56 = { add_core_of = WGR }
					57 = { add_core_of = WGR }
					55 = { add_core_of = WGR }
					51 = { add_core_of = WGR }
					42 = { add_core_of = WGR }
					50 = { add_core_of = WGR }
					52 = { add_core_of = WGR }
					53 = { add_core_of = WGR }
					54 = { add_core_of = WGR }
					909 = { add_core_of = WGR }
					8 = { remove_core_of = GER }
					28 = { remove_core_of = GER }
					978 = { remove_core_of = GER }
				}
			}
			
			SOV = {
				set_autonomy = { target = WGR autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_ita_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_ita_land_management_requirement_tt
				39 = { is_controlled_by_ROOT_or_subject = yes }
				850 = { is_controlled_by_ROOT_or_subject = yes }
				160 = { is_controlled_by_ROOT_or_subject = yes }
				159 = { is_controlled_by_ROOT_or_subject = yes }
				158 = { is_controlled_by_ROOT_or_subject = yes }
				161 = { is_controlled_by_ROOT_or_subject = yes }
				162 = { is_controlled_by_ROOT_or_subject = yes }
				157 = { is_controlled_by_ROOT_or_subject = yes }
				2 = { is_controlled_by_ROOT_or_subject = yes }
				117 = { is_controlled_by_ROOT_or_subject = yes }
				849 = { is_controlled_by_ROOT_or_subject = yes }
				156 = { is_controlled_by_ROOT_or_subject = yes }
				115 = { is_controlled_by_ROOT_or_subject = yes }
				114 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				ITA = {
					exists = yes
					is_subject_of = SOV
				}
				ITA = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 2
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			ITA = {
				custom_effect_tooltip = SOV_gain_core_states
				hidden_effect = {
					transfer_state = 39 
					transfer_state = 850 
					transfer_state = 160 
					transfer_state = 159 
					transfer_state = 158 
					transfer_state = 161 
					transfer_state = 162
					transfer_state = 157
					transfer_state = 2 
					transfer_state = 117 
					transfer_state = 849 
					transfer_state = 156 
					transfer_state = 115
					transfer_state = 114 
				}
			}
			SOV = {
				set_autonomy = { target = ITA autonomy_state = autonomy_integrated_puppet }
			}
		}
	}
	
	SOV_per_land_management = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_per_land_management_requirement_tt
				419 = { is_controlled_by_ROOT_or_subject = yes }
				420 = { is_controlled_by_ROOT_or_subject = yes }
				266 = { is_controlled_by_ROOT_or_subject = yes }
				416 = { is_controlled_by_ROOT_or_subject = yes }
				418 = { is_controlled_by_ROOT_or_subject = yes }
				417 = { is_controlled_by_ROOT_or_subject = yes }
				421 = { is_controlled_by_ROOT_or_subject = yes }
				411 = { is_controlled_by_ROOT_or_subject = yes }
				414 = { is_controlled_by_ROOT_or_subject = yes }
				413 = { is_controlled_by_ROOT_or_subject = yes }
				412 = { is_controlled_by_ROOT_or_subject = yes }
				410 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		cost = 0
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			OR = {
				PER = {
					exists = yes
					is_subject_of = SOV
				}
				PER = {
					exists = no
				}
			}
			has_completed_focus = SOV_restoration_and_development
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 418
			}
		}
		
		on_map_mode = map_and_decisions_view

		complete_effect = {
			PER = {
				custom_effect_tooltip = SOV_gain_core_states
				hidden_effect = {
					transfer_state = 419
					transfer_state = 420
					transfer_state = 266
					transfer_state = 416
					transfer_state = 418
					transfer_state = 417
					transfer_state = 421
					transfer_state = 411
					transfer_state = 414
					transfer_state = 413
					transfer_state = 412
					transfer_state = 410
				}
			}
			SOV = {
				set_autonomy = { target = PER autonomy_state = autonomy_integrated_puppet }
			}
		}
	}

	SOV_puppet_mon = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			MON = {
				is_in_faction_with = SOV
				has_government = ROOT
				NOT = {
					is_subject_of = SOV
				}
			}
		}
		
		cost = 25
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			MON = {
				is_in_faction_with = SOV
				has_government = ROOT
				NOT = {
					is_subject_of = SOV
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 330
			}
		}
		
		on_map_mode = map_and_decisions_view
		
		complete_effect = {
			SOV = {
				set_autonomy = { target = MON autonomy_state = autonomy_integrated_puppet }
			}
		}
		
	}

	SOV_puppet_tan = {
		icon = GFX_decision_SOV_secure_the_administration
		
		allowed = { 
			always = yes
		}
		fire_only_once = yes
		
		available = {
			TAN = {
				is_in_faction_with = SOV
				has_government = ROOT
				NOT = {
					is_subject_of = SOV
				}
			}
		}
		
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		visible = {
			TAN = {
				is_in_faction_with = SOV
				has_government = ROOT
				NOT = {
					is_subject_of = SOV
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 329
			}
		}
		
		on_map_mode = map_and_decisions_view
		
		complete_effect = {
			SOV = {
				set_autonomy = { target = TAN autonomy_state = autonomy_integrated_puppet }
			}
		}
		
	}
	
}