frankfurt_assembly_category_1 = {
	#fate of austria
	decision_fate_of_austria_igo = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = signed_frankfurt_treaty_ger
			has_government = neutrality
			owns_state = 43
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
			owns_state = 43
			owns_state = 154
			owns_state = 155
			owns_state = 664
			owns_state = 4
			owns_state = 152
			owns_state = 153
			owns_state = 70
			owns_state = 71
			owns_state = 73
			owns_state = 75
			owns_state = 69
			owns_state = 72
			owns_state = 74
			owns_state = 9
		}
		remove_effect = {
			country_event = {
				id = fate_of_austria.1_igo
			}
		}
	}
	#fate of usa
	form_colonial_american_usa = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 30
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = signed_frankfurt_treaty_ger
			has_government = neutrality
			OR = {
				owns_state = 361
				owns_state = 360
				owns_state = 358
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.60
			owns_state = 357
			owns_state = 358
			owns_state = 359
			owns_state = 360
			owns_state = 361
			owns_state = 362
			owns_state = 816
			owns_state = 363
			owns_state = 368
			owns_state = 364
			owns_state = 365
			owns_state = 366
			owns_state = 367
			owns_state = 370
			owns_state = 371
			owns_state = 372
			owns_state = 374
			owns_state = 375
			#above is ultimate german control - possible CUSTOM FUTURE NATION - rework
			owns_state = 261
			owns_state = 369
			owns_state = 396
			owns_state = 395
			owns_state = 373
			owns_state = 394
			owns_state = 392
			owns_state = 391
			owns_state = 383
			owns_state = 384
			owns_state = 390
			owns_state = 389
			owns_state = 388
			owns_state = 376
			owns_state = 382
			owns_state = 381
			owns_state = 377
			owns_state = 380
			owns_state = 387
			owns_state = 379
			owns_state = 378
			owns_state = 386
			owns_state = 385
		}
		remove_effect = {
			hidden_effect = {
				USA = { load_focus_tree = generic_focus }
				if = {
					limit = { NOT = { has_idea = idea_receveing_war_reparations_dtk } }
					add_timed_idea = {
						idea = idea_receveing_war_reparations_dtk
						days = 365
					}
				}
			}
			country_event = {
				id = fate_of_usa_dtk.1_dtk
			}
		}
	}
	
	#england german
	release_england_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 30
		days_remove = 35
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			BRK = {
				NOT = {
					is_subject_of = GER
				}
			}
			has_global_flag = signed_frankfurt_treaty_ger
			OR = {
				owns_state = 126
				controls_state = 126
			}
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			 }
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.65
			OR = {
				AND = {
					owns_state = 127
					owns_state = 126
					owns_state = 123
					owns_state = 338
					owns_state = 122
					owns_state = 128
					owns_state = 125
					owns_state = 129
					owns_state = 132
					owns_state = 130
					owns_state = 131
					owns_state = 121
					owns_state = 133
					owns_state = 136
					owns_state = 120 
				}
				AND = {
					controls_state = 127
					controls_state = 126
					controls_state = 123
					controls_state = 338
					controls_state = 122
					controls_state = 128
					controls_state = 125
					controls_state = 129
					controls_state = 132
					controls_state = 130
					controls_state = 131
					controls_state = 121
					controls_state = 133
					controls_state = 136
					controls_state = 120 
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				ENG = { load_focus_tree = generic_focus }
				country_event = {
					id = fate_of_the_british_empiref.1
				}
				fate_of_british_empire_dtk_trigger = yes
			}
		}
	}
	
	#military restrect in uk and france ##NEEDS REVIEW FOR BUGS
	military_restrictions_sieg_uk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 5
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			has_global_flag = signed_frankfurt_treaty_ger
			BRK = {
				AND = {
					NOT = {
						has_country_flag = imposed_military_restrict
					}
					is_subject_of = GER
				}
			}
			country_exists = BRK
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
			country_exists = BRK
		}
		remove_effect = {
			BRK = {
				set_country_flag = imposed_military_restrict
				add_ideas = idea_army_restrictions_sieg_modded
				add_ideas = idea_naval_restrictions_sieg_modded
			}
		}
	}
	
	military_restrictions_sieg_fra = { ##NEEDS REVIEW FOR BUGS
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			has_government = neutrality
			has_global_flag = signed_frankfurt_treaty_ger
			FTK = {
				AND = {
					NOT = {
						has_country_flag = imposed_military_restrict
					}
					is_subject_of = GER
				}
			}
			country_exists = FTK
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
		}
		remove_effect = {
			FTK = {
				set_country_flag = imposed_military_restrict
				add_ideas = idea_army_restrictions_sieg_modded
				add_ideas = idea_naval_restrictions_sieg_modded
			}
		}
	}
	
	military_restrictions_sieg_usa = { ##NEEDS REVIEW FOR BUGS
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			has_government = neutrality
			has_global_flag = signed_frankfurt_treaty_ger
			USA = {
				AND = {
					NOT = {
						has_country_flag = imposed_military_restrict
					}
					is_subject_of = GER
				}
			}
			country_exists = USA
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
		}
		remove_effect = {
			USA = {
				set_country_flag = imposed_military_restrict
				add_ideas = idea_army_restrictions_sieg_modded
				add_ideas = idea_naval_restrictions_sieg_modded
			}
		}
	} ##########################################################END OF FATES AND MIL RESTRIXTIONS #################################################

	core_dutchland_decision = {
		fire_only_once = yes
		cost = 30
		days_remove = 20
		icon = GFX_decisions_frankfurter_icon_dtk
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			has_government = neutrality
			owns_state = 36
			owns_state = 35
			owns_state = 7
			36 = {
				NOT = {
					is_core_of = GER
				}
			}
			35 = {
				NOT = {
					is_core_of = GER
				}
			}
			7 = {
				NOT = {
					is_core_of = GER
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.75
			owns_state = 36
			owns_state = 35
			owns_state = 7
			has_war = no
		}
		remove_effect = {
			add_state_core = 36
			add_state_core = 35
			add_state_core = 7
		}
	}
	
	reintegrate_eastern_former_lands = {
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {	
			has_government = neutrality
			owns_state = 85
			owns_state = 86
			owns_state = 807
			owns_state = 762		
			85 = {
				NOT = {
					is_core_of = GER
				}
			}
			86 = {
				NOT = {
					is_core_of = GER
				}
			}
			807 = {
				NOT = {
					is_core_of = GER
				}
			}
			762 = {
				NOT = {
					is_core_of = GER
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_war = no
			has_stability > 0.7
			owns_state = 86
			owns_state = 807
			owns_state = 85
			owns_state = 762
		}
		remove_effect = {
			add_state_core = 86
			add_state_core = 807
			add_state_core = 85
			add_state_core = 762
		}		
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 30
		days_remove = 20
	}

	#france #################################################### PUPPETS ##############################################
	release_france_uwu_kaiserin = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			FTK = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 16
				controls_state = 16
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.6
			OR = {
				AND = {
					owns_state = 17
					owns_state = 27
					owns_state = 18
					owns_state = 16 #oh ma gaaaaaad preussen gloria
					owns_state = 785
					owns_state = 15
					owns_state = 24
					owns_state = 30
					owns_state = 14
					owns_state = 23
					owns_state = 19
				}
				AND = {
					controls_state = 17
					controls_state = 27
					controls_state = 18
					controls_state = 16 #oh ma gaaaaaad preussen gloria
					controls_state = 785
					controls_state = 15
					controls_state = 24
					controls_state = 30
					controls_state = 14
					controls_state = 23
					controls_state = 19
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				FRA = { load_focus_tree = generic_focus }
				set_global_flag = dtk_flag_to_focus_tree_france
				if = {
					limit = { country_exists = FRA }
					annex_country = { target = FRA }
				}
				FTK = {
					if = {
						limit = {
							FTK = {
								NOT = {
									has_cosmetic_tag = FRANCE_KAISER
								}
							}
						}
						set_cosmetic_tag = FRANCE_KAISER
						add_timed_idea = {
							idea = idea_paying_war_reparations_dtk
							days = 730
						}
						create_country_leader = {
							name = "Viktoria Luise von Preußen"
							desc = FRA_KAISER_VICTORIA_DESC
							picture = "GFX_portrait_VICTORIA_FRA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								kaiserin_victoria_von_prussia
								beloved_by_french_1
							}
						}
						transfer_state = 17
						transfer_state = 27
						transfer_state = 18
						transfer_state = 16 # paris bruuh
						transfer_state = 785
						transfer_state = 15
						transfer_state = 24
						transfer_state = 30
						transfer_state = 14
						transfer_state = 23
						transfer_state = 19
						#cores
						add_state_core = 17
						add_state_core = 27
						add_state_core = 18
						add_state_core = 16 # paris bruuh
						add_state_core = 785
						add_state_core = 15
						add_state_core = 24
						add_state_core = 30
						add_state_core = 14
						add_state_core = 23
						add_state_core = 19
						transfer_state = 15
					}
					else = {
						transfer_state = 17
						transfer_state = 27
						transfer_state = 18
						transfer_state = 16 # paris bruuh
						transfer_state = 785
						transfer_state = 15
						transfer_state = 24
						transfer_state = 30
						transfer_state = 14
						transfer_state = 23
						transfer_state = 19
						transfer_state = 15
						#cores
						add_state_core = 17
						add_state_core = 27
						add_state_core = 18
						add_state_core = 16 # paris bruuh
						add_state_core = 785
						add_state_core = 15
						add_state_core = 24
						add_state_core = 30
						add_state_core = 14
						add_state_core = 23
						add_state_core = 19
						transfer_state = 15
					}
				}
				GER = {
					set_autonomy = {
						target = FTK autonomy_state = autonomy_integrated_puppet
					}
				}
				GER = {
					if = {
						limit = { NOT = { has_idea = idea_receveing_war_reparations_dtk } }
						add_timed_idea = {
							idea = idea_receveing_war_reparations_dtk
							days = 365
						}
					}
				}
			}
		}
	}
	
	#baltic pup
	release_baltic_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			LAT = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				AND = {
					owns_state = 808
					owns_state = 810
					owns_state = 809
					owns_state = 12
					owns_state = 190
				}
				AND = {
					controls_state = 808
					controls_state = 810
					controls_state = 809
					controls_state = 12
					controls_state = 190
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.65
			OR = {
				AND = {
					owns_state = 808
					owns_state = 810
					owns_state = 809
					owns_state = 12
					owns_state = 190
				}
				AND = {
					controls_state = 808
					controls_state = 810
					controls_state = 809
					controls_state = 12
					controls_state = 190
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				YUG = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = LAT }
					annex_country = { target = LAT }
				}
			}
			LAT = {
				if = {
					limit = {
						LAT = {
							NOT = {
								has_cosmetic_tag = U_BALTIC_KAISER
							}
						}
					}
					set_cosmetic_tag = U_BALTIC_KAISER
					create_country_leader = {
					name = "Adolf Friedrich von Mecklenburg-Schwerin"
					desc = U_BALTIC_KAISER_ADOLF_DESC
					picture = "GFX_portrait_U_BALTIC_KAISER.dds"
					expire = "1965.1.1"
					ideology = oligarchism
					traits = { 
						explorer_von_afrika
						}
					}
					transfer_state = 808
					transfer_state = 810
					transfer_state = 809
					transfer_state = 12
					transfer_state = 190
					add_state_core = 813
					add_state_core = 11
					add_state_core = 814
				}
				else = {
					transfer_state = 808
					transfer_state = 810
					transfer_state = 809
					transfer_state = 12
					transfer_state = 190
					add_state_core = 813
					add_state_core = 11
					add_state_core = 814
				}
			}
			set_autonomy = {
				target = LAT autonomy_state = autonomy_integrated_puppet
			}
		}
	}
	
	#expand baltic
	expand_baltic_duchy_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			LAT = {
				is_subject_of = GER
			}
			OR = {
				AND = {
					owns_state = 189
					owns_state = 812
				}
				AND = {
					controls_state = 189
					controls_state = 812
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.55
			OR = {
				AND = {
					owns_state = 189
					owns_state = 814
					owns_state = 11
					owns_state = 815
					owns_state = 811
					owns_state = 13
					owns_state = 191
					owns_state = 813
					owns_state = 812
				}
				AND = {
					controls_state = 189
					controls_state = 814
					controls_state = 11
					controls_state = 815
					controls_state = 811
					controls_state = 13
					controls_state = 191
					controls_state = 813
					controls_state = 812
				}
			}
			
		}
		remove_effect = {
			LAT = { 
				transfer_state = 189
				transfer_state = 814
				transfer_state = 11
				transfer_state = 815
				transfer_state = 811
				transfer_state = 13
				transfer_state = 191
				transfer_state = 813
				transfer_state = 812
				add_state_core = 815
				add_state_core = 189
				add_state_core = 13
				add_state_core = 812
				add_state_core = 191
			}
		}
	}
	
	#poland saxon
	release_poland_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			POL = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 10
				controls_state = 10
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.65
			OR = {
				AND = {
					owns_state = 87
					owns_state = 98
					owns_state = 10
					owns_state = 90
					owns_state = 97
					owns_state = 92
				}
				AND = {
					controls_state = 87
					controls_state = 98
					controls_state = 10
					controls_state = 90
					controls_state = 97
					controls_state = 92
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				POL = { load_focus_tree = generic_focus }
				if = {
					limit = {
						country_exists = POL
					}
					annex_country = { target = POL }
				}
				POL = {
					if = {
						limit = {
							POL = {
								NOT = {
									has_cosmetic_tag = POL_KAISER
								}
							}
						}
						set_cosmetic_tag = POL_KAISER
						create_country_leader = {
						name = "Friedrich Christian von Sachsen"
						desc = POL_KAISER_KING_DESC
						picture = "GFX_portrait_POL_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							the_saxon_king
							}
						}
						transfer_state = 87
						transfer_state = 98
						transfer_state = 10
						transfer_state = 90
						transfer_state = 97
						transfer_state = 92
					}
					else = {
						transfer_state = 87
						transfer_state = 98
						transfer_state = 10
						transfer_state = 90
						transfer_state = 97
						transfer_state = 92
					}
				}
				set_autonomy = {
					target = POL autonomy_state = autonomy_integrated_puppet
				}
			}
		}
	}
	
	#belarus ostland
	release_ostland_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			BLR = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 95
				controls_state = 95
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.65
			OR = {
				AND = {
					owns_state = 94
					owns_state = 95
					owns_state = 784 #non core
					owns_state = 96
					owns_state = 207
					owns_state = 206
					owns_state = 204
					owns_state = 194
					owns_state = 241
					owns_state = 224 #non core
				}
				AND = {
					controls_state = 94
					controls_state = 95
					controls_state = 784 #non core
					controls_state = 96
					controls_state = 207
					controls_state = 206
					controls_state = 204
					controls_state = 194
					controls_state = 241
					controls_state = 224 #non core
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				LAT = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = BLR }
					annex_country = { target = BLR }
				}
			}
			BLR = {
				if = {
					limit = {
						BLR = {
							NOT = {
								has_cosmetic_tag = BLR_KAISER
							}
						}
					}
					set_cosmetic_tag = BLR_KAISER
					create_country_leader = {
					name = "Oskar von Preußen"
					desc = BLR_KAISER_OSKAR_DESC
					picture = "GFX_portrait_OSKAR_OST_KAISER.dds"
					expire = "1965.1.1"
					ideology = oligarchism
					traits = { 
						son_of_the_kaiser
						}
					}
					transfer_state = 94
					transfer_state = 95
					transfer_state = 784 #non core
					transfer_state = 96
					transfer_state = 207
					transfer_state = 206
					transfer_state = 204
					transfer_state = 194
					transfer_state = 241
					transfer_state = 224 #non core
					add_state_core = 224
				}
				else = {
					transfer_state = 94
					transfer_state = 95
					transfer_state = 784 #non core
					transfer_state = 96
					transfer_state = 207
					transfer_state = 206
					transfer_state = 204
					transfer_state = 194
					transfer_state = 241
					transfer_state = 224 #non core
					add_state_core = 224
				}
			}
			set_autonomy = {
				target = BLR autonomy_state = autonomy_integrated_puppet
			}
		}
	}
	
	#rlx hol
	release_holland_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 20
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			HOL = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 35
				controls_state = 35
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
			OR = {
				AND = {
					owns_state = 35
					owns_state = 36
					owns_state = 7
				}
				AND = {
					controls_state = 35
					controls_state = 36
					controls_state = 7
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				HOL = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = HOL }
					annex_country = { target = HOL }
				}
			}
			HOL = {
				if = {
					limit = {
						HOL = {
							NOT = {
								has_cosmetic_tag = HOL_KAISER
							}
						}
					}
					set_cosmetic_tag = HOL_KAISER
					create_country_leader = {
					name = "Wilhelmina van Niederlande"
					desc = HOL_KAISER_WILHELMINA_DESC
					picture = "GFX_portrait_HOL_KAISER_wilhelmina.dds"
					expire = "1965.1.1"
					ideology = oligarchism
					traits = { 
						loyal_to_the_kaiser
						}
					}
					transfer_state = 36
					transfer_state = 35
					transfer_state = 7
				}
				else = {
					transfer_state = 36
					transfer_state = 35
					transfer_state = 7
				}
			}
			set_autonomy = {
				target = HOL autonomy_state = autonomy_integrated_puppet
			}
		}
	}
	
	release_belgium_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			ETK = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 6
				controls_state = 6
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
			OR = {
				AND = {
					owns_state = 34
					owns_state = 6
				}
				AND = {
					controls_state = 34
					controls_state = 6
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				BEL = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = BEL }
					annex_country = { target = BEL }
				}
				ETK = {
					if = {
						limit = {
							ETK = {
								NOT = {
								has_cosmetic_tag = BEL_KAISER
								}
							}
						}
						set_cosmetic_tag = BEL_KAISER
						create_country_leader = {
						name = BEL_KAISER_ALBERT_I
						desc = BEL_KAISER_ALBERT_DESC
						picture = "GFX_portrait_BEL_KAISER_albert_i.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							loyal_to_the_kaiser
							}
						}
						transfer_state = 34
						transfer_state = 6
						add_state_core = 34
						add_state_core = 6
						transfer_state = 977
						add_state_core = 977
					}
					else = {
						transfer_state = 34
						transfer_state = 6
						add_state_core = 34
						add_state_core = 6
						transfer_state = 977
						add_state_core = 977
					}
				}
				set_autonomy = {
					target = ETK autonomy_state = autonomy_integrated_puppet
				}
			}
		}
	}
	
	#rlx denmark
	release_denmark_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 20
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			DEN = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 37
				controls_state = 37
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.5
			OR = {
				AND = {
					owns_state = 99
					owns_state = 37
				}
				AND = {
					controls_state = 99
					controls_state = 37
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				DEN = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = DEN }
					annex_country = { target = DEN }
				}
			}
			DEN = {
				if = {
					limit = {
						DEN = {
							NOT = {
								has_cosmetic_tag = DEN_KAISER
							}
						}
					}
					set_cosmetic_tag = DEN_KAISER
					create_country_leader = {
					name = DEN_KAISER_CRISTIAN_X
					desc = DEN_KAISER_CRISTIAN_X_DESC
					picture = "GFX_portrait_DEN_KAISER_CRISTIAN_X.dds"
					expire = "1965.1.1"
					ideology = oligarchism
					traits = { 
						loyal_to_the_kaiser
						}
					}
					transfer_state = 99
					transfer_state = 37
					transfer_state = 337
					transfer_state = 100
					transfer_state = 101
					transfer_state = 911
				}
				else = {
					transfer_state = 99
					transfer_state = 37
					transfer_state = 337
					transfer_state = 100
					transfer_state = 101
					transfer_state = 911
				}
			}
			set_autonomy = {
				target = DEN autonomy_state = autonomy_integrated_puppet
			}
		}
	}
	confiscate_denmark_islands = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			DEN = {
				is_subject_of = GER
			}
			GER = {
				NOT = {
					owns_state = 101
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.7
		}
		remove_effect = {
			GER = {
				transfer_state = 337
				transfer_state = 100
				transfer_state = 101
			}
		}
	}
	galicia_dispute_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		cost = 10
		days_remove = 5
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			POL = {
				is_subject_of = GER
			}
			GER = {
				owns_state = 88
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				has_global_flag = dtk_player_integrated_galicia
			}
		}
		available = {
			#semper
		}
		remove_effect = {
			country_event = {
				id = imperialf.1
			}
		}
	}
	#expand belgium pas de calais
	expand_rkp_belgium = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			ETK = {
				is_subject_of = GER
			}
			GER = {
				OR = {
					owns_state = 29
					controls_state = 29
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			#semper
		}
		remove_effect = {
			ETK = {
				transfer_state = 29
				add_state_core = 29
			}
		}
	}
	
	#rkp ukraine
	release_ukraine_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			UKR = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				AND = {
					owns_state = 93
					owns_state = 202
				}
				AND = {
					controls_state = 93
					controls_state = 202
				}
			}
		}
		available = {
			has_stability > 0.65
			OR = {
				AND = {
					owns_state = 93
					owns_state = 201
					owns_state = 199
					owns_state = 198
					owns_state = 202 # capital
					owns_state = 203
					owns_state = 834
					owns_state = 192
					owns_state = 197
					owns_state = 226
					owns_state = 196
					owns_state = 200
					owns_state = 227
					owns_state = 221
					owns_state = 259
					owns_state = 193
					owns_state = 225
					owns_state = 240
					owns_state = 220
					owns_state = 228
				}
				AND = {
					controls_state = 93
					controls_state = 201
					controls_state = 199
					controls_state = 198
					controls_state = 202 # capital
					controls_state = 203
					controls_state = 834
					controls_state = 192
					controls_state = 197
					controls_state = 226
					controls_state = 196
					controls_state = 200
					controls_state = 227
					controls_state = 221
					controls_state = 259
					controls_state = 193
					controls_state = 225
					controls_state = 240
					controls_state = 220
					controls_state = 228
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				UKR = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = UKR }
					annex_country = { target = UKR }
				}
			}
			UKR = {
				if = {
					limit = {
						UKR = {
							NOT = {
								has_cosmetic_tag = UKR_KAISER
							}
						}
					}
					set_cosmetic_tag = UKR_KAISER
					create_country_leader = {
						name = "August Wilhelm von Preußen"
						desc = UKR_KAISER_AUGUST_DESC
						picture = "GFX_portrait_AUGUST_UKR_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = {
							low_legitimacy_1
							protector_of_the_cossaks
							son_of_the_kaiser
						}
					}
					transfer_state = 93
					transfer_state = 201
					transfer_state = 199
					transfer_state = 198
					transfer_state = 202 # kiev
					transfer_state = 203
					transfer_state = 834
					transfer_state = 192
					transfer_state = 197
					transfer_state = 226
					transfer_state = 196
					transfer_state = 200
					transfer_state = 227
					transfer_state = 221
					transfer_state = 259
					transfer_state = 193
					transfer_state = 225
					transfer_state = 240
					transfer_state = 220
					transfer_state = 228
					transfer_state = 137
					add_state_core = 240
					add_state_core = 220
				}
				else = {
					transfer_state = 93
					transfer_state = 201
					transfer_state = 199
					transfer_state = 198
					transfer_state = 202 # kiroff
					transfer_state = 203
					transfer_state = 834
					transfer_state = 192
					transfer_state = 197
					transfer_state = 226
					transfer_state = 196
					transfer_state = 200
					transfer_state = 227
					transfer_state = 221
					transfer_state = 259
					transfer_state = 193
					transfer_state = 225
					transfer_state = 240
					transfer_state = 220
					transfer_state = 228
					transfer_state = 137
					add_state_core = 240
					add_state_core = 220
				}
			}
			set_autonomy = {
				target = UKR autonomy_state = autonomy_integrated_puppet
			}
		}
	}
	
	#occitanien
	release_occitania_as_pup = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 20
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OCC = {
				NOT = {
					is_subject_of = GER
				}
			}
			FTK = {
				has_cosmetic_tag = FRANCE_KAISER
			}
			OR = {
				AND = {
					owns_state = 20
					owns_state = 31
				}
				AND = {
					controls_state = 20
					controls_state = 31
				}
			}
		}
		available = {
			has_stability > 0.55
			OR = {
				AND = {
					owns_state = 20
					owns_state = 26
					owns_state = 33
					owns_state = 25
					owns_state = 32
					owns_state = 21
					owns_state = 22
					owns_state = 31
					owns_state = 806
				}
				AND = {
					controls_state = 20
					controls_state = 26
					controls_state = 33
					controls_state = 25
					controls_state = 32
					controls_state = 21
					controls_state = 22
					controls_state = 31
					controls_state = 806
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				OCC = { load_focus_tree = generic_focus }
				if = {
					limit = { country_exists = OCC }
					annex_country = { target = OCC }
				}
			}
			OCC = {
				if = {
					limit = {
						OCC = {
							NOT = {
								has_cosmetic_tag = OCC_KAISER
							}
						}
					}
					set_cosmetic_tag = OCC_KAISER
					create_country_leader = {
						name = "Marshal Chales de Beaulieu" 
						desc = OCC_KAISER_CHALES_DESC
						picture = "GFX_portrait_CHALES_OCC_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							great_war_veteran_1_chales
							loyal_to_the_kaiser
						}
					}
					transfer_state = 20
					transfer_state = 26
					transfer_state = 33
					transfer_state = 25
					transfer_state = 32
					transfer_state = 21
					transfer_state = 22
					transfer_state = 31
					transfer_state = 806
				}
				else = {
					transfer_state = 20
					transfer_state = 26
					transfer_state = 33
					transfer_state = 25
					transfer_state = 32
					transfer_state = 21
					transfer_state = 22
					transfer_state = 31
					transfer_state = 806
				}
			}
			set_autonomy = {
				target = OCC autonomy_state = autonomy_integrated_puppet
			}
		}
	}
	#rhone river territories
	rhone_river_territories_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			FTK = {
				is_subject_of = GER
			}
			OCC = {
				is_subject_of = GER
			}
			GER = {
				owns_state = 735
			}
		}
		available = {
			owns_state = 735
			owns_state = 851
		}
		remove_effect = {
			country_event = {
				id = rhonef.1
			}
		}
	}
	
	#north military adm
	release_north_africa_military_adm = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 461
		}
		available = {
			has_stability > 0.65
			owns_state = 461
			owns_state = 462
			NOT = {
				country_exists = MOR
			}
		}
		remove_effect = {
			hidden_effect = {
				MAK = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							MAK = {
								NOT = {
									has_cosmetic_tag = NORTH_MILITARY_AFRICA_KAISER_ADM
								}
							}
						}
						set_cosmetic_tag = NORTH_MILITARY_AFRICA_KAISER_ADM
						add_ideas = idea_german_colonial_admin_1
						create_country_leader = {
							name = NORTH_MILITARY_AFRICA_KAISER
							desc = NORTH_MILITARY_AFRICA_KAISER_DESC
							picture = "GFX_portrait_DEFAULT_MILITARY_ADM_1.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								schutzz_truppe_dtk
							}
						}
						transfer_state = 461
						transfer_state = 462
					}
					else = {
						transfer_state = 461
						transfer_state = 462
					}
				}
				set_autonomy = {
					target = MAK autonomy_state = autonomy_integrated_puppet
				}
			}
		}
	}
	#expand north africa german
	expand_north_africa_german_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAK = {
				is_subject_of = GER
			}
			OR = {
				owns_state = 459
				owns_state = 458
			}
		}
		available = {
			has_stability > 0.7
			owns_state = 513
			owns_state = 459
			owns_state = 460
			owns_state = 665
			owns_state = 458
		}
		remove_effect = {
			MAK = { 
				transfer_state = 513
				transfer_state = 459
				transfer_state = 460
				transfer_state = 665
				transfer_state = 458
				
				add_state_core = 513
				add_state_core = 459
				add_state_core = 460
				add_state_core = 665
				add_state_core = 458
				set_capital = {
					state = 458
					remember_old_capital = no
				}
			}
			458 = {
				set_state_name = "Tunesien"
			}
			set_province_name = {
				id = 11969
				name = "Mittlererhafen"
			}
		}
	}
	expand_north_africa_german_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAK = {
				is_subject_of = GER
			}
			OR = {
				owns_state = 290
				owns_state = 783
			}
		}
		available = {
			has_stability > 0.55
			owns_state = 783
			owns_state = 290
			owns_state = 699
		}
		remove_effect = {
			MAK = { 
				transfer_state = 783
				transfer_state = 290
				transfer_state = 699
				transfer_state = 557
				transfer_state = 786
			}
		}
	}
	expand_north_africa_german_3 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAK = {
				is_subject_of = GER
			}
			OR = {
				owns_state = 448
				owns_state = 450
			}
		}
		available = {
			has_stability > 0.65
			owns_state = 448
			owns_state = 661
			owns_state = 449
			owns_state = 662
			owns_state = 450
			owns_state = 663
			owns_state = 451
		}
		remove_effect = {
			MAK = { 
				transfer_state = 448
				transfer_state = 661
				transfer_state = 449
				transfer_state = 662
				transfer_state = 450
				transfer_state = 663
				transfer_state = 451
				transfer_state = 273
				transfer_state = 514
				transfer_state = 782
				transfer_state = 515
				transfer_state = 775
			}
		}
	}
	expand_north_africa_german_4 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAK = {
				is_subject_of = GER
			}
			OR = {
				owns_state = 907
				owns_state = 452
			}
		}
		available = {
			has_stability > 0.65
			owns_state = 452
			owns_state = 447
			owns_state = 907
			owns_state = 457
			owns_state = 456
		}
		remove_effect = {
			MAK = { 
				transfer_state = 452
				transfer_state = 447
				transfer_state = 907
				transfer_state = 457
				transfer_state = 456
				transfer_state = 552
				transfer_state = 767
				add_state_core = 448
				add_state_core = 907
			}
		}
	}
	
	#deutsch mittelafrika FIXED 
	form_deutsch_miteelafrika = { 
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 35
		days_remove = 30
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			MAD = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 777
				owns_state = 773
				owns_state = 546
				owns_state = 539
			}
			has_global_flag = frankfurt_no_focus_tree_flag
		}
		available = {
			has_stability > 0.65
			owns_state = 770
			owns_state = 905
			owns_state = 903
			owns_state = 545
			owns_state = 771
			owns_state = 893
			owns_state = 541
			owns_state = 895
			owns_state = 894
			owns_state = 889
			owns_state = 547
			owns_state = 904
			owns_state = 548
			owns_state = 769
			owns_state = 768
			owns_state = 890
			owns_state = 884
			owns_state = 549
			owns_state = 885
			owns_state = 718
			owns_state = 888
			owns_state = 538
			owns_state = 295
			owns_state = 660
			owns_state = 772
			owns_state = 539
			owns_state = 773
			owns_state = 887
			owns_state = 774
		}
		remove_effect = {
			hidden_effect = {
				GER = {
					if = {
						limit = { country_exists = TZN }
						annex_country = { target = TZN }
					}
				}
				MAD = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							MAD = {
								NOT = {
									has_cosmetic_tag = MAF_KAISER
								}
							}
						}
						set_cosmetic_tag = MAF_KAISER
						idea = idea_deutsch_mittelafrika_1
						idea = idea_afrika_askari_troops
						create_country_leader = {
							name = "Paul von Lettow-Vorbeck"
							desc = MAF_KAISER_VORBECK_DESC
							picture = "GFX_portrait_VORBECK_MAF_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								lettow_vorbeck_lion_1
								great_war_veteran_1_chales
							}
						}
						transfer_state = 546
						transfer_state = 770
						transfer_state = 905
						transfer_state = 903
						transfer_state = 545
						transfer_state = 771
						transfer_state = 893
						transfer_state = 541
						transfer_state = 895
						transfer_state = 894
						transfer_state = 889
						transfer_state = 547
						transfer_state = 904
						transfer_state = 548
						transfer_state = 769
						transfer_state = 768
						transfer_state = 890
						transfer_state = 884
						transfer_state = 549
						transfer_state = 885
						transfer_state = 718
						transfer_state = 888
						transfer_state = 538
						transfer_state = 295
						transfer_state = 660
						transfer_state = 772
						transfer_state = 539
						transfer_state = 773
						transfer_state = 887
						transfer_state = 774
						transfer_state = 981
						#cores
						add_state_core = 895
						add_state_core = 541
						add_state_core = 893
						add_state_core = 894
						add_state_core = 773
						add_state_core = 539
						add_state_core = 905
						add_state_core = 769
						add_state_core = 768
						add_state_core = 905
						add_state_core = 903
						add_state_core = 539
						add_state_core = 772
						add_state_core = 769
						add_state_core = 890
						add_state_core = 538
					}
					else = {
						transfer_state = 546
						transfer_state = 770
						transfer_state = 905
						transfer_state = 903
						transfer_state = 545
						transfer_state = 771
						transfer_state = 893
						transfer_state = 541
						transfer_state = 895
						transfer_state = 894
						transfer_state = 889
						transfer_state = 547
						transfer_state = 904
						transfer_state = 548
						transfer_state = 769
						transfer_state = 768
						transfer_state = 890
						transfer_state = 884
						transfer_state = 549
						transfer_state = 885
						transfer_state = 718
						transfer_state = 888
						transfer_state = 538
						transfer_state = 295
						transfer_state = 660
						transfer_state = 772
						transfer_state = 539
						transfer_state = 773
						transfer_state = 887
						transfer_state = 774
						transfer_state = 981
						#cores
						add_state_core = 895
						add_state_core = 541
						add_state_core = 893
						add_state_core = 894
						add_state_core = 773
						add_state_core = 539
						add_state_core = 905
						add_state_core = 769
						add_state_core = 768
						add_state_core = 905
						add_state_core = 903
						add_state_core = 539
						add_state_core = 772
						add_state_core = 769
						add_state_core = 890
						add_state_core = 538
					}
				}
				GER = {
					set_autonomy = {
						target = MAD autonomy_state = autonomy_colony
					}
				}
			}
		}
	}
	expand_mittelafrika_portugal_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAD = {
				is_subject_of = GER
			}
			OR = {
				owns_state = 540
				owns_state = 897
				owns_state = 796
				owns_state = 705
			}
		}
		available = {
			has_stability > 0.5
			has_government = neutrality
			owns_state = 540
			owns_state = 897
			owns_state = 796
			owns_state = 705 
			owns_state = 891
			owns_state = 892
			owns_state = 896
			owns_state = 544
		}
		remove_effect = {
			MAD = { 
				transfer_state = 540
				transfer_state = 897
				transfer_state = 796
				transfer_state = 705 
				transfer_state = 891
				transfer_state = 892
				transfer_state = 896
				transfer_state = 544
				transfer_state = 297
				transfer_state = 981
			}
		}
	}
	#eastafrika
	form_eastafrika_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 20
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAD = {
				has_cosmetic_tag = MAF_KAISER
			}
			OAD = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 268
				owns_state = 559
				owns_state = 550
				owns_state = 551
			}
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			}
		}
		available = {
			has_stability > 0.5
			owns_state = 551
			owns_state = 883 
			owns_state = 886
			owns_state = 550
			owns_state = 842
			owns_state = 841
			owns_state = 840
			owns_state = 843
			owns_state = 839
			owns_state = 838
			owns_state = 271
			owns_state = 837
			owns_state = 836
			owns_state = 908
			owns_state = 268
			owns_state = 835
			owns_state = 269
			owns_state = 844
			owns_state = 559
		}
		remove_effect = {
			hidden_effect = {
				GER = {
					if = {
						limit = { country_exists = SOM }
						annex_country = { target = SOM }
					}
				}
				OAD = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							OAD = {
								NOT = {
									has_cosmetic_tag = MAF_KAISER
								}
							}
						}
						set_cosmetic_tag = EASTAFRIKA_KAISER
						add_ideas = idea_afrika_askari_troops
						add_ideas = idea_deutsch_mittelafrika_1
						create_country_leader = {
							name = EASTAFRIKA_KAISER_DETZNER
							desc = EASTAFRIKA_KAISER_DETZNER_DESC
							picture = "GFX_portrait_DETZNER_EASTAFRIKA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								schutzz_truppe_dtk
								imperial_governor_german_dtk
							}
						}
						transfer_state = 551
						transfer_state = 883 
						transfer_state = 886
						transfer_state = 550
						transfer_state = 842
						transfer_state = 841
						transfer_state = 840
						transfer_state = 843
						transfer_state = 839
						transfer_state = 838
						transfer_state = 271
						transfer_state = 837
						transfer_state = 836
						transfer_state = 908
						transfer_state = 268
						transfer_state = 835
						transfer_state = 269
						transfer_state = 844
						transfer_state = 559
						transfer_state = 767
						#cores
						add_state_core = 551
						add_state_core = 883 
						add_state_core = 886
						add_state_core = 550
						add_state_core = 842
						add_state_core = 841
						add_state_core = 840
						add_state_core = 843
						add_state_core = 839
						add_state_core = 838
						add_state_core = 271
						add_state_core = 837
						add_state_core = 836
						add_state_core = 908
						add_state_core = 268
						add_state_core = 835
						add_state_core = 269
						add_state_core = 844
						add_state_core = 559
						set_capital = {
						  state = 268
						  remember_old_capital = no
						}
					}
					else = {
						transfer_state = 551
						transfer_state = 883 
						transfer_state = 886
						transfer_state = 550
						transfer_state = 842
						transfer_state = 841
						transfer_state = 840
						transfer_state = 843
						transfer_state = 839
						transfer_state = 838
						transfer_state = 271
						transfer_state = 837
						transfer_state = 836
						transfer_state = 908
						transfer_state = 268
						transfer_state = 835
						transfer_state = 269
						transfer_state = 844
						transfer_state = 559
						transfer_state = 767
						#cores
						add_state_core = 551
						add_state_core = 883 
						add_state_core = 886
						add_state_core = 550
						add_state_core = 842
						add_state_core = 841
						add_state_core = 840
						add_state_core = 843
						add_state_core = 839
						add_state_core = 838
						add_state_core = 271
						add_state_core = 837
						add_state_core = 836
						add_state_core = 908
						add_state_core = 268
						add_state_core = 835
						add_state_core = 269
						add_state_core = 844
						add_state_core = 559
					}
				}
				MAD = {
					set_autonomy = {
						target = OAD autonomy_state = autonomy_colony
					}
				}
			}
		}
	}
	#sudafrika
	form_sudafrika_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			MAD = {
				has_cosmetic_tag = MAF_KAISER
			}
			SAF = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 681
				owns_state = 719
			}
		}
		available = {
			has_stability > 0.45
			owns_state = 681
			owns_state = 719
			owns_state = 275
			owns_state = 542
		}
		remove_effect = {
			SAF = { load_focus_tree = generic_focus }
			hidden_effect = {
				dropper_dtk_tag_saf = yes
			}
		}
	}
	#egypt
	form_egito_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 907
				owns_state = 447
				owns_state = 457
			}
		}
		available = {
			has_stability > 0.45
			owns_state = 907
			owns_state = 447
			owns_state = 457
			owns_state = 456
			owns_state = 452
		}
		remove_effect = {
			hidden_effect = {
				EGY = { load_focus_tree = generic_focus }
				GER = {
					if = {
						limit = {
							country_exists = EGY
						}
						annex_country = { target = EGY }
					}
					transfer_state = 446
				}
				GER = {
					EGY = {
						if = {
							limit = {
								EGY = {
									NOT = {
										has_cosmetic_tag = EGY_KAISER
									}
								}
							}
							set_cosmetic_tag = EGY_KAISER
							add_ideas = idea_afrika_askari_troops
							##
							create_country_leader = {
								name = EGY_KAISER_FAROUK
								desc = EGY_KAISER_FAROUK_DESC
								picture = "GFX_portrait_FAROUK_EGY_KAISER.dds"
								expire = "1965.1.1"
								ideology = oligarchism
								traits = { 
									legitime_egypto_heir_dtk
								}
							}
							transfer_state = 907
							transfer_state = 447
							transfer_state = 457
							transfer_state = 456
							transfer_state = 452
							transfer_state = 552
						}
						else = {
							transfer_state = 907
							transfer_state = 447
							transfer_state = 457
							transfer_state = 456
							transfer_state = 452
							transfer_state = 552
						}
					}
					set_autonomy = {
						target = EGY autonomy_state = autonomy_puppet
					}
				}
			}
		}
	}
	
	#form deutsch west afrika
	form_deutsch_westafrika = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = TOG
			}
			has_government = neutrality
			OR = {
				owns_state = 777
				owns_state = 274
			}
		}
		available = {
			has_stability > 0.65
			owns_state = 777
			owns_state = 274
			owns_state = 900
			owns_state = 901
			owns_state = 902
			owns_state = 558
			owns_state = 776
			owns_state = 781
			owns_state = 778
			owns_state = 898
			owns_state = 779
			owns_state = 556
			owns_state = 899
			owns_state = 780
			owns_state = 700
			owns_state = 701
			owns_state = 272
		}
		remove_effect = {
			hidden_effect = {
				TOG = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							TOG = {
								NOT = {
									has_cosmetic_tag = WEA_KAISER
								}
							}
						}
						set_cosmetic_tag = WEA_KAISER
						add_ideas = idea_german_colonial_admin_1
						add_ideas = idea_afrika_askari_troops
						create_country_leader = {
							name = "Heinrich Schnee"
							desc = WEA_KAISER_SCHNEE_DESC
							picture = "GFX_portrait_SCHNEE_WEA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								ex_colonial_governor_schnee
								great_war_veteran_1_chales
							}
						}
						transfer_state = 777
						transfer_state = 274
						transfer_state = 900
						transfer_state = 902
						transfer_state = 901
						transfer_state = 558
						transfer_state = 776
						transfer_state = 781
						transfer_state = 778
						transfer_state = 898
						transfer_state = 779
						transfer_state = 556
						transfer_state = 899
						transfer_state = 780
						transfer_state = 700
						transfer_state = 701 
						transfer_state = 272
						#cores to fix some resitance
						add_state_core = 776
						add_state_core = 558
						add_state_core = 900 
						add_state_core = 700
						add_state_core = 701
					}
					else = {
						transfer_state = 777
						transfer_state = 274
						transfer_state = 900
						transfer_state = 902
						transfer_state = 901
						transfer_state = 558
						transfer_state = 776
						transfer_state = 781
						transfer_state = 778
						transfer_state = 898
						transfer_state = 779
						transfer_state = 556
						transfer_state = 899
						transfer_state = 780
						transfer_state = 700
						transfer_state = 701 
						transfer_state = 272
						
						add_state_core = 776
						add_state_core = 558
						add_state_core = 900 
						add_state_core = 700
						add_state_core = 701
					}
				}
				set_autonomy = {
					target = TOG autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_westafrica_west_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			TOG = {
				AND = {
					is_subject_of = GER
					has_cosmetic_tag = WEA_KAISER
				}
			}
			OR = {
				owns_state = 298
				owns_state = 296
			}
		}
		available = {
			has_stability > 0.5
			owns_state = 298
			owns_state = 296
		}
		remove_effect = {
			transfer_state = 702 #TRIGGERED PORTUGAL EVENT #FUTURE PLAN#
			TOG = { 
				transfer_state = 298
				transfer_state = 296
				add_state_core = 298
			}
		}
	}
	
	#form caucaso
	form_deutsch_don_kaukasien = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			OR = {
				owns_state = 229
				owns_state = 218
			}
			NOT = {
				TKD = {
					is_subject_of = GER
				}
			}
		}
		available = {
			has_stability > 0.65
			owns_state = 229
			owns_state = 218
			owns_state = 230
			owns_state = 232
			owns_state = 231
			owns_state = 821
			owns_state = 828
			owns_state = 827
			owns_state = 235
			owns_state = 826
			owns_state = 233
			owns_state = 234
			owns_state = 238
			owns_state = 237
		}
		remove_effect = {
			hidden_effect = {
				TKD = {
					load_focus_tree = generic_focus
					set_cosmetic_tag = TCK_KAISER
					add_ideas = idea_don_oil_fields
					create_country_leader = {
						name = "Hermann von Kuhl"
						desc = TCK_KAISER_GARNIER_DESC
						picture = "GFX_portrait_GARNIER_TCK_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							loyal_to_the_kaiser
							great_war_veteran_1_chales
							cossak_heredity
						}
					}
					transfer_state = 229
					transfer_state = 218
					transfer_state = 230
					transfer_state = 232
					transfer_state = 231
					transfer_state = 821
					transfer_state = 828
					transfer_state = 827
					transfer_state = 235
					transfer_state = 826
					transfer_state = 233
					transfer_state = 234
					transfer_state = 238
					transfer_state = 237
					##CORES TO FIX SOME RESITANCE
					add_state_core = 229
					add_state_core = 218
					add_state_core = 230
					add_state_core = 232
					add_state_core = 231
					add_state_core = 821
					add_state_core = 828
					add_state_core = 827
					add_state_core = 235
					add_state_core = 826
					add_state_core = 233
					add_state_core = 234
					add_state_core = 238
					add_state_core = 237
				}
				set_autonomy = {
					target = TKD autonomy_state = autonomy_integrated_puppet
				}
			}
		}
	}
	
	#wolga volga
	form_deutsch_wolga_nation_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = VGE
			}
			has_government = neutrality
			OR = {
				owns_state = 829
				owns_state = 217
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
		}
		available = {
			has_stability > 0.60
			owns_state = 829
			owns_state = 217
			owns_state = 245
			owns_state = 260
			owns_state = 265
			owns_state = 239
			owns_state = 401
			owns_state = 407
			owns_state = 236
			owns_state = 406
			owns_state = 251
			owns_state = 652
			owns_state = 651
		}
		remove_effect = {
			hidden_effect = {
				VGE = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							VGE = {
								NOT = {
									has_cosmetic_tag = VGE_KAISER
								}
							}
						}
						set_cosmetic_tag = VGE_KAISER
						add_ideas = idea_german_settlers_ural_1
						create_country_leader = {
							name = "Ernst Reuter"
							desc = VGE_KAISER_REUTER_DESC
							picture = "GFX_portrait_REUTER_VGE_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								custom_good_chairman_1
								custom_imperial_duke_1
							}
						}
						transfer_state = 829
						transfer_state = 217
						transfer_state = 245
						transfer_state = 260
						transfer_state = 265
						transfer_state = 239
						transfer_state = 401
						transfer_state = 407
						transfer_state = 236
						transfer_state = 406
						transfer_state = 251
						transfer_state = 652
						transfer_state = 651
						##CORES TO FIX RESITANCE 
						add_state_core = 829
						add_state_core = 217
						add_state_core = 245
						add_state_core = 260
						add_state_core = 265
						add_state_core = 239
						add_state_core = 401
						add_state_core = 407
						add_state_core = 236
						add_state_core = 406
						add_state_core = 251
						add_state_core = 652
						add_state_core = 651
					}
					else = {
						transfer_state = 829
						transfer_state = 217
						transfer_state = 245
						transfer_state = 260
						transfer_state = 265
						transfer_state = 239
						transfer_state = 401
						transfer_state = 407
						transfer_state = 236
						transfer_state = 406
						transfer_state = 251
						transfer_state = 652
						transfer_state = 651
						##CORES TO FIX RESITANCE 
						add_state_core = 829
						add_state_core = 217
						add_state_core = 245
						add_state_core = 260
						add_state_core = 265
						add_state_core = 239
						add_state_core = 401
						add_state_core = 407
						add_state_core = 236
						add_state_core = 406
						add_state_core = 251
						add_state_core = 652
						add_state_core = 651
					}
				}
				set_autonomy = {
					target = VGE autonomy_state = autonomy_integrated_puppet
				}
			}
		}
	}
	
	form_deutsch_steppes_nation = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = UZB
			}
			has_government = neutrality
			OR = {
				owns_state = 405
				owns_state = 402
			}
		}
		available = {
			has_stability > 0.60
			owns_state = 405
			owns_state = 402
			owns_state = 587
			owns_state = 823
			owns_state = 831
			owns_state = 584
			owns_state = 832
			owns_state = 830
			owns_state = 585
			owns_state = 404
			owns_state = 742
			owns_state = 732
			owns_state = 586
			owns_state = 881
			owns_state = 589
			owns_state = 582
			owns_state = 583
			owns_state = 590
			owns_state = 588
			owns_state = 882
		}
		remove_effect = {
			hidden_effect = {
				UZB = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							UZB = {
								NOT = {
									has_cosmetic_tag = STEP_KAISER
								}
							}
						}
						set_cosmetic_tag = STEP_KAISER
						add_ideas = idea_steppes_german_what 
						create_country_leader = {
							name = "Heinrich Scheüch"
							desc = STEP_KAISER_SCHEUCH_DESC
							picture = "GFX_portrait_SCHEUCH_STEP_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = {
								great_war_veteran_1_chales
								former_krieg_minister 
								loyal_to_the_kaiser
							}
						}
						transfer_state = 405
						transfer_state = 402
						transfer_state = 587
						transfer_state = 823
						transfer_state = 831
						transfer_state = 584
						transfer_state = 832
						transfer_state = 830
						transfer_state = 585
						transfer_state = 404
						transfer_state = 742
						transfer_state = 732
						transfer_state = 586
						transfer_state = 881
						transfer_state = 589
						transfer_state = 582
						transfer_state = 583
						transfer_state = 590
						transfer_state = 588
						transfer_state = 882
						##CORES TO FIX RESITANCE 
						add_state_core = 402
						add_state_core = 587
						add_state_core = 823
						add_state_core = 831
						add_state_core = 584
						add_state_core = 832
						add_state_core = 585
						add_state_core = 404
						add_state_core = 742
						add_state_core = 732
						add_state_core = 586
						add_state_core = 881
						add_state_core = 589
						add_state_core = 582
						add_state_core = 583
						add_state_core = 590
						add_state_core = 588
						add_state_core = 882
					}
					else = {
						transfer_state = 405
						transfer_state = 402
						transfer_state = 587
						transfer_state = 823
						transfer_state = 831
						transfer_state = 584
						transfer_state = 832
						transfer_state = 830
						transfer_state = 585
						transfer_state = 404
						transfer_state = 742
						transfer_state = 732
						transfer_state = 586
						transfer_state = 881
						transfer_state = 589
						transfer_state = 582
						transfer_state = 583
						transfer_state = 590
						transfer_state = 588
						transfer_state = 882
						##CORES TO FIX RESITANCE 
						add_state_core = 402
						add_state_core = 587
						add_state_core = 823
						add_state_core = 831
						add_state_core = 584
						add_state_core = 832
						add_state_core = 585
						add_state_core = 404
						add_state_core = 742
						add_state_core = 732
						add_state_core = 586
						add_state_core = 881
						add_state_core = 589
						add_state_core = 582
						add_state_core = 583
						add_state_core = 590
						add_state_core = 588
						add_state_core = 882
					}
				}
				set_autonomy = {
					target = UZB autonomy_state = autonomy_puppet
				}
			}
		}
	}
	
	#siberia
	form_siberian_prision_nation = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = KHA
			}
			has_government = neutrality
			OR = {
				owns_state = 569
				owns_state = 572
			}
		}
		available = {
			has_stability > 0.60
			owns_state = 569
			owns_state = 572
			owns_state = 571
			owns_state = 40
			owns_state = 654
			owns_state = 570
			owns_state = 403
			owns_state = 653
			owns_state = 580
			owns_state = 578
			owns_state = 577
			owns_state = 579
			owns_state = 824
			owns_state = 568
			owns_state = 576
			owns_state = 516
			owns_state = 878
		}
		remove_effect = {
			hidden_effect = {
				KHA = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							KHA = {
								NOT = {
									has_cosmetic_tag = SIBERIA_KAISER
								}
							}
						}
						set_cosmetic_tag = SIBERIA_KAISER
						add_ideas = idea_population_fugindo
						create_country_leader = {
							name = "Military Government of Siberia"
							desc = SIBERIA_KAISER_RULER_DESC
							picture = "GFX_portrait_DEFAULT_MILITARY_ADM_2.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_military_adm
							}
						}
						transfer_state = 569
						transfer_state = 572
						transfer_state = 571
						transfer_state = 40
						transfer_state = 654
						transfer_state = 570
						transfer_state = 403
						transfer_state = 653
						transfer_state = 580
						transfer_state = 578
						transfer_state = 577
						transfer_state = 579
						transfer_state = 824
						transfer_state = 568
						transfer_state = 576
						transfer_state = 516
						transfer_state = 878
						##CORES TO FIX RESITANCE 
						add_state_core = 569
						add_state_core = 572
						add_state_core = 571
						add_state_core = 40
						add_state_core = 654
						add_state_core = 570
						add_state_core = 403
						add_state_core = 653
						add_state_core = 580
						add_state_core = 578
						add_state_core = 577
						add_state_core = 579
						add_state_core = 824
						add_state_core = 568
						add_state_core = 576
						add_state_core = 516
						add_state_core = 878
					}
					else = {
						transfer_state = 569
						transfer_state = 572
						transfer_state = 571
						transfer_state = 40
						transfer_state = 654
						transfer_state = 570
						transfer_state = 403
						transfer_state = 653
						transfer_state = 580
						transfer_state = 578
						transfer_state = 577
						transfer_state = 579
						transfer_state = 824
						transfer_state = 568
						transfer_state = 576
						transfer_state = 516
						transfer_state = 878
						##CORES TO FIX RESITANCE 
						add_state_core = 569
						add_state_core = 572
						add_state_core = 571
						add_state_core = 40
						add_state_core = 654
						add_state_core = 570
						add_state_core = 403
						add_state_core = 653
						add_state_core = 580
						add_state_core = 578
						add_state_core = 577
						add_state_core = 579
						add_state_core = 824
						add_state_core = 568
						add_state_core = 576
						add_state_core = 516
						add_state_core = 878
					}
				}
				set_autonomy = {
					target = KHA autonomy_state = autonomy_puppet
				}
			}
		}
	}
	expand_siberia_dtk_tannutuva = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		days_remove = 5
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 329
			KHA = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 329
		}
		remove_effect = {
			KHA = {
				transfer_state = 329
				#cores
				add_state_core = 329
			}
		}
	}
	
	form_eastern_russian_duchy_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = VLA
			}
			has_government = neutrality
			OR = {
				owns_state = 408
			}
		}
		available = {
			has_stability > 0.60
			owns_state = 408
			owns_state = 409
			owns_state = 655
			owns_state = 560
			owns_state = 657
			owns_state = 562
			owns_state = 874
			owns_state = 637
			owns_state = 822
			owns_state = 644
			owns_state = 877
			owns_state = 574
			owns_state = 561
			owns_state = 563
			owns_state = 565
			owns_state = 876
			owns_state = 575
			owns_state = 564
			owns_state = 566
			owns_state = 567
		}
		remove_effect = {
			hidden_effect = {
				VLA = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							VLA = {
								NOT = {
									has_cosmetic_tag = FED_KAISER
								}
							}
						}
						set_cosmetic_tag = FED_KAISER
						add_ideas = idea_colonial_exploitation_custom
						create_country_leader = {
							name = "Hubert Schmundt"
							desc = FED_KAISER_HUBERT_DESC
							picture = "GFX_portrait_HUBERT_FED_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								custom_imperial_admiral_1
								custom_imperial_duke_1
							}
						}
						transfer_state = 408
						transfer_state = 409
						transfer_state = 655
						transfer_state = 560
						transfer_state = 657
						transfer_state = 562
						transfer_state = 874
						transfer_state = 637
						transfer_state = 822
						transfer_state = 644
						transfer_state = 877
						transfer_state = 574
						transfer_state = 561
						transfer_state = 563
						transfer_state = 565
						transfer_state = 876
						transfer_state = 575
						transfer_state = 564
						transfer_state = 566
						transfer_state = 567
						##CORES TO FIX RESITANCE 
						add_state_core = 408
						add_state_core = 409
						add_state_core = 655
						add_state_core = 560
						add_state_core = 657
						add_state_core = 562
						add_state_core = 874
						add_state_core = 637
						add_state_core = 822
						add_state_core = 644
						add_state_core = 877
						add_state_core = 574
						add_state_core = 561
						add_state_core = 563
						add_state_core = 565
						add_state_core = 876
						add_state_core = 575
						add_state_core = 564
						add_state_core = 566
						add_state_core = 567
					}
					else = {
						transfer_state = 408
						transfer_state = 409
						transfer_state = 655
						transfer_state = 560
						transfer_state = 657
						transfer_state = 562
						transfer_state = 874
						transfer_state = 637
						transfer_state = 822
						transfer_state = 644
						transfer_state = 877
						transfer_state = 574
						transfer_state = 561
						transfer_state = 563
						transfer_state = 565
						transfer_state = 876
						transfer_state = 575
						transfer_state = 564
						transfer_state = 566
						transfer_state = 567
						##CORES TO FIX RESITANCE 
						add_state_core = 408
						add_state_core = 409
						add_state_core = 655
						add_state_core = 560
						add_state_core = 657
						add_state_core = 562
						add_state_core = 874
						add_state_core = 637
						add_state_core = 822
						add_state_core = 644
						add_state_core = 877
						add_state_core = 574
						add_state_core = 561
						add_state_core = 563
						add_state_core = 565
						add_state_core = 876
						add_state_core = 575
						add_state_core = 564
						add_state_core = 566
						add_state_core = 567
					}
				}
				set_autonomy = {
					target = VLA autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_eastern_dtk_german_russia = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 5
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 717
			owns_state = 761
			owns_state = 714
			VLA = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 717
			owns_state = 761
			owns_state = 714
			owns_state = 328
			owns_state = 715
		}
		remove_effect = {
			VLA = {
				if = {
					limit = { country_exists = MAN }
					annex_country = { target = MAN}
				}
				transfer_state = 717
				transfer_state = 761
				transfer_state = 714
				transfer_state = 328
				transfer_state = 715
			}
		}
	}
	
	#russia
	form_grand_german_russia = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 219
		}
		available = {
			has_stability > 0.5
			owns_state = 219
			owns_state = 222
			owns_state = 258
			owns_state = 254
			owns_state = 257
			owns_state = 223
			owns_state = 205
			owns_state = 243
			owns_state = 242
			owns_state = 246
			owns_state = 210
			owns_state = 263
			owns_state = 209
			owns_state = 208
			owns_state = 247
			owns_state = 244
			owns_state = 264
			owns_state = 255
			owns_state = 250
			owns_state = 252
			owns_state = 253
			owns_state = 248
			owns_state = 351
			owns_state = 879
			owns_state = 880
			owns_state = 214
			owns_state = 825
			owns_state = 262
			owns_state = 256
			owns_state = 833
			owns_state = 400
			owns_state = 397
			owns_state = 249
			owns_state = 399
			owns_state = 398
			owns_state = 581
			owns_state = 573
		}
		remove_effect = {
			hidden_effect = {
				RUK = {
					load_focus_tree = generic_focus
					set_cosmetic_tag = RUSSIA_KAISER
					add_ideas = idea_russian_bear_defeated_custom
					add_ideas = idea_german_settlers_ural_1
					create_country_leader = {
						name = "Vsevolod I"
						desc = RUSSIA_KAISER_VSEVOLOD_DESC
						picture = "GFX_portrait_VSEVOLOD_RUSSIA_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = {
							loyal_to_the_kaiser
							russian_monarch_custom
						}
					}
					transfer_state = 219
					transfer_state = 222
					transfer_state = 258
					transfer_state = 254
					transfer_state = 257
					transfer_state = 223
					transfer_state = 205
					transfer_state = 243
					transfer_state = 242
					transfer_state = 246
					transfer_state = 210
					transfer_state = 263
					transfer_state = 209
					transfer_state = 208
					transfer_state = 247
					transfer_state = 244
					transfer_state = 264
					transfer_state = 255
					transfer_state = 250
					transfer_state = 252
					transfer_state = 253
					transfer_state = 248
					transfer_state = 351
					transfer_state = 879
					transfer_state = 880
					transfer_state = 214
					transfer_state = 825
					transfer_state = 262
					transfer_state = 256
					transfer_state = 833
					transfer_state = 400
					transfer_state = 397
					transfer_state = 249
					transfer_state = 399
					transfer_state = 398
					transfer_state = 581
					transfer_state = 573
					#cores
					add_state_core = 219
					add_state_core = 222
					add_state_core = 258
					add_state_core = 254
					add_state_core = 257
					add_state_core = 223
					add_state_core = 205
					add_state_core = 243
					add_state_core = 242
					add_state_core = 246
					add_state_core = 210
					add_state_core = 263
					add_state_core = 209
					add_state_core = 208
					add_state_core = 247
					add_state_core = 244
					add_state_core = 264
					add_state_core = 255
					add_state_core = 250
					add_state_core = 252
					add_state_core = 253
					add_state_core = 248
					add_state_core = 351
					add_state_core = 879
					add_state_core = 880
					add_state_core = 214
					add_state_core = 825
					add_state_core = 262
					add_state_core = 256
					add_state_core = 833
					add_state_core = 400
					add_state_core = 397
					add_state_core = 249
					add_state_core = 399
					add_state_core = 398
					add_state_core = 581
					add_state_core = 573
				}
				set_autonomy = {
					target = RUK autonomy_state = autonomy_puppet
				}
			}
		}
	}
	
	#finlandia
	form_grand_duchy_of_finland = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 20
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			FIN = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 111
				controls_state = 111
			}
		}
		available = {
			has_stability > 0.55
			OR = {
				AND = {
					owns_state = 111
					owns_state = 195
					owns_state = 146
					owns_state = 216
					owns_state = 150
					owns_state = 149
					owns_state = 215
					owns_state = 148
					owns_state = 147
					owns_state = 213
					owns_state = 722
					owns_state = 929
					owns_state = 928
					owns_state = 930
					owns_state = 927
					owns_state = 926
				}
				AND = {
					controls_state = 111
					controls_state = 195
					controls_state = 146
					controls_state = 216
					controls_state = 150
					controls_state = 149
					controls_state = 215
					controls_state = 148
					controls_state = 147
					controls_state = 213
					controls_state = 722
					controls_state = 929
					controls_state = 928
					controls_state = 930
					controls_state = 927
					controls_state = 926
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				#log 1.13.5
				ROOT = {
					if = {
						limit = {
							145 = { is_demilitarized_zone = yes }
						}
						145 = {
							set_demilitarized_zone = no
						}
					}
				}
				if = {
					limit = { country_exists = FIN }
					annex_country = { target = FIN }
				}
			}
			FIN = {
				load_focus_tree = generic_focus
				if = {
					limit = {
						FIN = {
							NOT = {
								has_cosmetic_tag = FIN_KAISER
							}
						}
					}
					set_cosmetic_tag = FIN_KAISER
					#add_ideas =  #still thinking #rework
					create_country_leader = {
						name = "Carl Emil Mannerheim"
						desc = FIN_KAISER_MANNERHEIM_DESC
						picture = "GFX_portrait_MANNERHEIM_FIN_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							custom_imperial_duke_1
							loyal_to_the_kaiser
							marshal_mannerheim_custom_igo
						}
					}
					transfer_state = 111
					transfer_state = 195
					transfer_state = 146
					transfer_state = 216
					transfer_state = 150
					transfer_state = 149
					transfer_state = 215
					transfer_state = 148
					transfer_state = 147
					transfer_state = 213
					transfer_state = 722
					#update 1.13.5
					transfer_state = 929
					transfer_state = 928
					transfer_state = 930
					transfer_state = 927
					transfer_state = 926
					transfer_state = 925
					##CORES
					add_state_core = 195
					add_state_core = 216
					add_state_core = 215
					add_state_core = 213
				}
				else = {
					transfer_state = 111
					transfer_state = 195
					transfer_state = 146
					transfer_state = 216
					transfer_state = 150
					transfer_state = 149
					transfer_state = 215
					transfer_state = 148
					transfer_state = 147
					transfer_state = 213
					transfer_state = 722
					#log 1.13.5
					transfer_state = 929
					transfer_state = 928
					transfer_state = 930
					transfer_state = 927
					transfer_state = 926
					transfer_state = 925
					##CORES
					add_state_core = 195
					add_state_core = 216
					add_state_core = 215
					add_state_core = 213
				}
			}
			set_autonomy = {
				target = FIN autonomy_state = autonomy_puppet
			}
		}
	}
	
	#AMERICASSSSSSSS
	form_colonial_american_canada = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = CAN
			}
			has_government = neutrality
			OR = {
				owns_state = 276
				owns_state = 331
				owns_state = 332
			}
		}
		available = {
			has_stability > 0.55
			owns_state = 331
			owns_state = 332
			owns_state = 860
			owns_state = 465
			owns_state = 464
			owns_state = 468
			owns_state = 863
			owns_state = 466
			owns_state = 861
			owns_state = 862
			owns_state = 276
			owns_state = 682
			owns_state = 866
			owns_state = 867
			owns_state = 467
			owns_state = 683
			owns_state = 469
			owns_state = 865
			owns_state = 472
			owns_state = 470
			owns_state = 473
			owns_state = 471
			owns_state = 864
			owns_state = 740
			owns_state = 739
		}
		remove_effect = {
			CAN = {
				load_focus_tree = generic_focus
				if = {
					limit = {
						CAN = {
							NOT = {
								has_cosmetic_tag = CAN_KAISER
							}
						}
					}
					set_cosmetic_tag = CAN_KAISER
					add_ideas =  idea_german_colonists_america
					create_country_leader = {
						name = "Herr Karl von Reck"
						desc = CAN_KAISER_RECK_DESC
						picture = "GFX_portrait_RECK_CAN_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							imperial_governor_german_dtk
							great_war_veteran_1_chales
						}
					}
					transfer_state = 331
					transfer_state = 332
					transfer_state = 860
					transfer_state = 465
					transfer_state = 464
					transfer_state = 468
					transfer_state = 863
					transfer_state = 466
					transfer_state = 861
					transfer_state = 862
					transfer_state = 276
					transfer_state = 682
					transfer_state = 866
					transfer_state = 867
					transfer_state = 467
					transfer_state = 683
					transfer_state = 469
					transfer_state = 865
					transfer_state = 472
					transfer_state = 470
					transfer_state = 473
					transfer_state = 471
					transfer_state = 864
					transfer_state = 740
					transfer_state = 739
					if = {
						limit = { 
							USA = {
								NOT = {
									owns_state = 463 #alaska
								}
							}
						}
						transfer_state = 463
					}
				}
				else = {
					transfer_state = 331
					transfer_state = 332
					transfer_state = 860
					transfer_state = 465
					transfer_state = 464
					transfer_state = 468
					transfer_state = 863
					transfer_state = 466
					transfer_state = 861
					transfer_state = 862
					transfer_state = 276
					transfer_state = 682
					transfer_state = 866
					transfer_state = 867
					transfer_state = 467
					transfer_state = 683
					transfer_state = 469
					transfer_state = 865
					transfer_state = 472
					transfer_state = 470
					transfer_state = 473
					transfer_state = 471
					transfer_state = 864
					transfer_state = 740
					transfer_state = 739
					if = {
						limit = { 
							USA = {
								NOT = {
									owns_state = 463
								}
							}
						}
						transfer_state = 463
					}
				}
			}
			set_autonomy = {
				target = CAN autonomy_state = autonomy_colony
			}
		}
	}
	
	#german india
	form_colonial_india_german_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = RAJ
			}
			has_government = neutrality
			OR = {
				owns_state = 423
				owns_state = 425
				owns_state = 424
				owns_state = 428
				owns_state = 426
			}
		}
		available = {
			has_stability > 0.40
			owns_state = 423
			owns_state = 425
			owns_state = 424
			owns_state = 428
			owns_state = 426
			owns_state = 429
			owns_state = 427
			owns_state = 436
			owns_state = 437
			owns_state = 433
			owns_state = 443
			owns_state = 444
			owns_state = 445
			owns_state = 440
			owns_state = 439
			owns_state = 442
			owns_state = 441
			owns_state = 787
			owns_state = 438
			owns_state = 435
			owns_state = 431
			owns_state = 430
			owns_state = 288
			owns_state = 432
			owns_state = 640
			owns_state = 434
		}
		remove_effect = {
			RAJ = {
				load_focus_tree = generic_focus
				if = {
					limit = {
						RAJ = {
							NOT = {
								has_cosmetic_tag = RAJ_KAISER
							}
						}
					}
					set_cosmetic_tag = RAJ_KAISER
					add_ideas =  idea_german_india_dtk
					create_country_leader = {
						name = "Arnold Lequis"
						desc = RAJ_KAISER_LEQUIS_DESC
						picture = "GFX_portrait_LEQUIS_RAJ_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							imperial_governor_german_dtk
							great_war_veteran_1_chales
							loyal_to_the_kaiser
						}
					}
					transfer_state = 423
					transfer_state = 425
					transfer_state = 424
					transfer_state = 428
					transfer_state = 426
					transfer_state = 429
					transfer_state = 427
					transfer_state = 436
					transfer_state = 437
					transfer_state = 433
					transfer_state = 443
					transfer_state = 444
					transfer_state = 445
					transfer_state = 440
					transfer_state = 439
					transfer_state = 442
					transfer_state = 441
					transfer_state = 787
					transfer_state = 438
					transfer_state = 431
					transfer_state = 435
					transfer_state = 430
					transfer_state = 288
					transfer_state = 432
					transfer_state = 640
					transfer_state = 434
					transfer_state = 983 #
					transfer_state = 984
					transfer_state = 982
					transfer_state = 989
					transfer_state = 986
					transfer_state = 991
					transfer_state = 997
					transfer_state = 996
					transfer_state = 990
					transfer_state = 998
				}
				else = {
					transfer_state = 423
					transfer_state = 425
					transfer_state = 424
					transfer_state = 428
					transfer_state = 426
					transfer_state = 429
					transfer_state = 427
					transfer_state = 436
					transfer_state = 437
					transfer_state = 433
					transfer_state = 443
					transfer_state = 444
					transfer_state = 445
					transfer_state = 440
					transfer_state = 439
					transfer_state = 442
					transfer_state = 441
					transfer_state = 787
					transfer_state = 438
					transfer_state = 431
					transfer_state = 435
					transfer_state = 430
					transfer_state = 288
					transfer_state = 432
					transfer_state = 640
					transfer_state = 434
					transfer_state = 983 #
					transfer_state = 984
					transfer_state = 982
					transfer_state = 989
					transfer_state = 986
					transfer_state = 991
					transfer_state = 997
					transfer_state = 996
					transfer_state = 990
					transfer_state = 998
				}
			}
			set_autonomy = {
				target = RAJ autonomy_state = autonomy_colony
			}
		}
	}
	expand_indien_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		days_remove = 5
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 323
			RAJ = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 323
		}
		remove_effect = {
			RAJ = {
				if = {
					limit = { country_exists = NEP }
					annex_country = { target = NEP }
				}
				transfer_state = 323
				transfer_state = 985
				#cores
				add_state_core = 323
			}
		}
	}
	expand_indien_dtk_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		days_remove = 5
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 324
			RAJ = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 324
		}
		remove_effect = {
			RAJ = {
				if = {
					limit = { country_exists = BHU }
					annex_country = { target = BHU }
				}
				transfer_state = 324
				#cores
				add_state_core = 324
			}
		}
	}
	expand_indien_dtk_3 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 267
			RAJ = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 267
			owns_state = 415
			owns_state = 1009
			owns_state = 1008
			owns_state = 1006 
		}
		remove_effect = {
			RAJ = {
				if = {
					limit = { country_exists = AFG }
					annex_country = { target = AFG }
				}
				transfer_state = 267
				transfer_state = 415
				transfer_state = 1009
				transfer_state = 1008
				transfer_state = 1006 
				transfer_state = 988
				transfer_state = 1012
				transfer_state = 987
				transfer_state = 1007
				transfer_state = 1005
				#cores
				add_state_core = 267
				add_state_core = 415
			}
		}
	}
	
	#found ostasien
	form_colonial_ostasien_german_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = frankfurt_no_focus_tree_flag
			has_government = neutrality
			OR = {
				owns_state = 336
				owns_state = 333
				owns_state = 286
				owns_state = 671
			}
		}
		available = {
			has_stability > 0.45
			owns_state = 336
			owns_state = 333
			owns_state = 286
			owns_state = 671
			owns_state = 741
			owns_state = 670
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_global_flag = custom_flag_founded_ostasien_dtk
						}
					}
					country_event = {
						id = docksdtk.1
						days = 5
					}
				}
				
				if = {
					limit = { country_exists = MAL }
					annex_country = { target = MAL }
				}
				MTK = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							MTK = {
								NOT = {
									has_cosmetic_tag = OSTASIEN_KAISER
								}
							}
						}
						set_cosmetic_tag = OSTASIEN_KAISER
						add_ideas = idea_navy_with_a_state_dtk
						add_ideas = idea_colonial_exploitation_custom
						create_country_leader = {
							name = "Max Bastion"
							desc = MAL_KAISER_BASTIAN_DESC
							picture = "GFX_portrait_BASTIAN_OSTASIEN_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = {
								custom_imperial_admiral_1
								imperial_governor_german_dtk
								iron_fist_dtk
							}
						}
						transfer_state = 336
						transfer_state = 333
						transfer_state = 286
						transfer_state = 671
						transfer_state = 741
						transfer_state = 670
						#cores
						add_state_core = 336
						add_state_core = 333
						add_state_core = 286
						add_state_core = 671
						add_state_core = 741
						add_state_core = 670
						set_global_flag = custom_flag_founded_ostasien_dtk
					}
					else = {
						transfer_state = 336
						transfer_state = 333
						transfer_state = 286
						transfer_state = 671
						transfer_state = 741
						transfer_state = 670
						#cores
						add_state_core = 336
						add_state_core = 333
						add_state_core = 286
						add_state_core = 671
						add_state_core = 741
						add_state_core = 670
					}
				}
				set_autonomy = {
					target = MTK autonomy_state = autonomy_colony
				}
			}
		}
	}
	#expand ostasien
	expand_ostasien_dtk_1_indonesia = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			owns_state = 672
			has_global_flag = custom_flag_founded_ostasien_dtk
		}
		available = {
			owns_state = 672
			owns_state = 334
			owns_state = 335
			owns_state = 673
			owns_state = 667
			owns_state = 668
			owns_state = 738
			owns_state = 669
		}
		remove_effect = {
			MTK = {
				transfer_state = 672
				transfer_state = 334
				transfer_state = 673
				transfer_state = 335
				transfer_state = 667
				transfer_state = 668
				transfer_state = 738
				transfer_state = 669
				#cores
				add_state_core = 672
				add_state_core = 334
				add_state_core = 673
				add_state_core = 335
				add_state_core = 667
				add_state_core = 668
				add_state_core = 738
				add_state_core = 669
			}
		}
	}
	expand_ostasien_dtk_1_australia_nz = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 285
			has_global_flag = custom_flag_founded_ostasien_dtk
		}
		available = {
			owns_state = 523
			owns_state = 737
			owns_state = 634
			owns_state = 521
			owns_state = 285
			owns_state = 517
			owns_state = 873
			owns_state = 872
			owns_state = 520
			owns_state = 870
			owns_state = 522
			owns_state = 871
			owns_state = 519
			owns_state = 518
			owns_state = 979
		}
		remove_effect = {
			MTK = {
				if = {
					limit = { country_exists = NZL }
					annex_country = { target = NZL }
				}
				else = {
					transfer_state = 723
					transfer_state = 284
				}
				transfer_state = 674
				transfer_state = 673
				transfer_state = 523
				transfer_state = 737
				transfer_state = 634
				transfer_state = 521
				transfer_state = 285
				transfer_state = 517
				transfer_state = 873
				transfer_state = 872
				transfer_state = 520
				transfer_state = 870
				transfer_state = 522
				transfer_state = 871
				transfer_state = 519
				transfer_state = 518
				transfer_state = 979
				#cores
				add_state_core = 674
				add_state_core = 673
				add_state_core = 523
				add_state_core = 737
				add_state_core = 634
				add_state_core = 521
				add_state_core = 285
				add_state_core = 517
				add_state_core = 873
				add_state_core = 872
				add_state_core = 520
				add_state_core = 870
				add_state_core = 522
				add_state_core = 871
				add_state_core = 519
				add_state_core = 518
			}
		}
	}
	expand_ostasien_dtk_1_siam = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 289
			has_global_flag = custom_flag_founded_ostasien_dtk
		}
		available = {
			owns_state = 289
			owns_state = 868
			owns_state = 869
			owns_state = 724
		}
		remove_effect = {
			MTK = {
				if = {
					limit = { country_exists = SIA }
					annex_country = { target = SIA }
				}
				transfer_state = 289
				transfer_state = 868
				transfer_state = 869
				transfer_state = 724
				#cores
				add_state_core = 289
				add_state_core = 868
				add_state_core = 869
				add_state_core = 724
			}
		}
	}
	expand_ostasien_dtk_1_isles = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 635
			owns_state = 734
			owns_state = 636
			owns_state = 643
			owns_state = 639
			owns_state = 725
			owns_state = 632
			owns_state = 638
			has_global_flag = custom_flag_founded_ostasien_dtk
		}
		available = {
			owns_state = 635
			owns_state = 734
			owns_state = 636
			owns_state = 643
			owns_state = 639
			owns_state = 725
			owns_state = 632
			owns_state = 638
		}
		remove_effect = {
			MTK = {
				transfer_state = 635
				transfer_state = 734
				transfer_state = 636
				transfer_state = 643
				transfer_state = 639
				transfer_state = 725
				transfer_state = 632
				transfer_state = 638
			}
		}
	}
	expand_ostasien_dtk_1_japanese_isles = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 633
			owns_state = 684
			owns_state = 646
			owns_state = 647
			owns_state = 648
			owns_state = 645
			owns_state = 526
			owns_state = 524 
			has_global_flag = custom_flag_founded_ostasien_dtk
		}
		available = {
			owns_state = 633
			owns_state = 684
			owns_state = 646
			owns_state = 647
			owns_state = 648
			owns_state = 645
			owns_state = 526
			owns_state = 524
		}
		remove_effect = {
			MTK = {
				transfer_state = 633
				transfer_state = 684
				transfer_state = 646
				transfer_state = 647
				transfer_state = 648
				transfer_state = 645
				transfer_state = 526
				transfer_state = 524
			}
		}
	}
	
	#oriente medio
	form_colonial_mittel_ost_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				country_exists = IRQ
			}
			has_government = neutrality
			OR = {
				owns_state = 453
				owns_state = 554
				owns_state = 656
				owns_state = 765
			}
		}
		available = {
			has_stability > 0.40
			owns_state = 453
			owns_state = 554
			owns_state = 656
			owns_state = 765
			owns_state = 454
			owns_state = 455
			owns_state = 553
			owns_state = 677
			owns_state = 680
			owns_state = 676
			owns_state = 675
			owns_state = 291
			owns_state = 658 
			owns_state = 659
		}
		remove_effect = {
			hidden_effect = {
				IRQ = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							IRQ = {
								NOT = {
									has_cosmetic_tag = MITTELOST_KAISER
								}
							}
						}
						set_cosmetic_tag = MITTELOST_KAISER
						add_ideas = idea_colonial_exploitation_custom
						add_ideas = idea_mittel_ost_oil_company_dtk
						create_country_leader = {
							name = "Carl Zimmermann"
							desc = MITTELOST_KAISER_ZIMMERMANN_DESC
							picture = "GFX_portrait_ZIMMERMANN_MITTELOST_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
								great_war_veteran_1_chales
								loyal_to_the_kaiser
								schutzz_truppe_dtk
							}
						}
						transfer_state = 453
						transfer_state = 554
						transfer_state = 656
						transfer_state = 765
						transfer_state = 454
						transfer_state = 455
						transfer_state = 553
						transfer_state = 677
						transfer_state = 680
						transfer_state = 676
						transfer_state = 675
						transfer_state = 291
						transfer_state = 658
						transfer_state = 659
						transfer_state = 1010 #
						transfer_state = 1011
						transfer_state = 1001
						transfer_state = 1000
						#cores 
						add_state_core = 453
						add_state_core = 554
						add_state_core = 656
						add_state_core = 765
						add_state_core = 454
						add_state_core = 455
						add_state_core = 553
						add_state_core = 677
						add_state_core = 680
						add_state_core = 658
						add_state_core = 659
						set_global_flag = custom_flag_founded_mittelost_dtk
					}
					else = {
						transfer_state = 453
						transfer_state = 554
						transfer_state = 656
						transfer_state = 765
						transfer_state = 454
						transfer_state = 455
						transfer_state = 553
						transfer_state = 677
						transfer_state = 680
						transfer_state = 676
						transfer_state = 675
						transfer_state = 291
						transfer_state = 658
						transfer_state = 659
						transfer_state = 1010 #
						transfer_state = 1011
						transfer_state = 1001
						transfer_state = 1000
						#cores
						add_state_core = 453
						add_state_core = 554
						add_state_core = 656
						add_state_core = 765
						add_state_core = 454
						add_state_core = 455
						add_state_core = 553
						add_state_core = 677
						add_state_core = 680
						add_state_core = 658
						add_state_core = 659
					}
				}
				set_autonomy = {
					target = IRQ autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_mittelost_dtk_2_iran = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 413
				owns_state = 266
				owns_state = 410
			}
			has_global_flag = custom_flag_founded_mittelost_dtk
		}
		available = {
			owns_state = 413
			owns_state = 266
			owns_state = 410
			owns_state = 421
			owns_state = 419
			owns_state = 412
			owns_state = 411
			owns_state = 417
			owns_state = 420
			owns_state = 266
			owns_state = 418
			owns_state = 414
			owns_state = 410
			owns_state = 416
		}
		remove_effect = {
			IRQ = {
				transfer_state = 413
				transfer_state = 266
				transfer_state = 410
				transfer_state = 421
				transfer_state = 419
				transfer_state = 412
				transfer_state = 411
				transfer_state = 417
				transfer_state = 420
				transfer_state = 266
				transfer_state = 418
				transfer_state = 414
				transfer_state = 410
				transfer_state = 416	
				transfer_state = 1002
				transfer_state = 1003
				transfer_state = 1004 			
				#cores
				add_state_core = 413
				add_state_core = 266
				add_state_core = 410
				add_state_core = 421
				add_state_core = 419
				add_state_core = 412
				add_state_core = 411
				add_state_core = 417
				add_state_core = 420
				add_state_core = 266
				add_state_core = 418
				add_state_core = 414
				add_state_core = 410
				add_state_core = 416
			}
		}
	}
	
	
	expand_mittelost_dtk_1_arab = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 292
			has_global_flag = custom_flag_founded_mittelost_dtk
		}
		available = {
			owns_state = 859
			owns_state = 292
			owns_state = 857
			owns_state = 854
			owns_state = 855
			owns_state = 679
			owns_state = 678
			owns_state = 858
			owns_state = 856
		}
		remove_effect = {
			IRQ = {
				annex_country = { target = YEM }
				annex_country = { target = OMA }
				transfer_state = 859
				transfer_state = 292
				transfer_state = 857
				transfer_state = 854
				transfer_state = 855
				transfer_state = 679
				transfer_state = 678
				transfer_state = 858
				transfer_state = 856
				transfer_state = 293
				transfer_state = 294
				transfer_state = 1015
				transfer_state = 1016
				transfer_state = 992
				#cores
				add_state_core = 859
				add_state_core = 292
				add_state_core = 857
				add_state_core = 854
				add_state_core = 855
				add_state_core = 679
				add_state_core = 678
				add_state_core = 858
				add_state_core = 856
			}
		}
	}
	
	form_colonial_china_tradec_dtk = { #### HIDED IN ORDER TO MANTAIN FOCUS FUNCIONALITY ######
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = frankfurt_no_focus_tree_flag
			OR = {
				owns_state = 743
				owns_state = 613
				owns_state = 595
			}
		}
		available = {
			has_stability > 0.55
			owns_state = 743
			owns_state = 613
			owns_state = 595
			owns_state = 596
			owns_state = 598
			owns_state = 597
			owns_state = 614
			owns_state = 608
		}
		remove_effect = {
			hidden_effect = {
				annex_country = { target = CHI }
				CHI = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							CHI = {
								NOT = {
									has_cosmetic_tag = CHINA_KAISER
								}
							}
						}
						set_cosmetic_tag = CHINA_KAISER
						add_ideas = idea_german_settlers_ural_1
						add_ideas = idea_dtk_german_china
						create_country_leader = {
							name = CHI_KAISER_ALEXANDER
							desc = CHI_KAISER_ALEXANDER_DESC
							picture = "GFX_portrait_ALEXANDER_CHINA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
								chinese_allegiances_dtk
							}
						}
						transfer_state = 743
						transfer_state = 613
						transfer_state = 595
						transfer_state = 596
						transfer_state = 598
						transfer_state = 597
						transfer_state = 614
						transfer_state = 608
					}
					else = {
						transfer_state = 743
						transfer_state = 613
						transfer_state = 595
						transfer_state = 596
						transfer_state = 598
						transfer_state = 597
						transfer_state = 614
						transfer_state = 608
					}
				}
				set_autonomy = {
					target = CHI autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_china_dtk_company_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 593
			CHI = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 593
			owns_state = 592
			owns_state = 599
			owns_state = 594
			owns_state = 591
		}
		remove_effect = {
			CHI = {
				transfer_state = 593
				transfer_state = 592
				transfer_state = 599
				transfer_state = 594
				transfer_state = 591
			}
		}
	}
	expand_china_dtk_company_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 745
			owns_state = 609
			CHI = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 609
			owns_state = 610
			owns_state = 716
		}
		remove_effect = {
			CHI = {
				if = {
					limit = { country_exists = MAN }
					annex_country = { target = MAN}
				}
				transfer_state = 609
				transfer_state = 610
				transfer_state = 716
			}
		}
	}
	expand_china_dtk_company_3 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {			
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 527
			owns_state = 525
			CHI = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 527
			owns_state = 525
		}
		remove_effect = {
			CHI = {
				transfer_state = 527
				transfer_state = 525
				add_state_core = 527
				add_state_core = 525
			}
		}
	}
	
	#mid china xien sam ma
	form_grand_duchy_china_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			OR = {
				owns_state = 605
				owns_state = 604
			}
		}
		available = {
			has_stability > 0.55
			owns_state = 605
			owns_state = 749
			owns_state = 600
			owns_state = 602
			owns_state = 620
			owns_state = 606
			owns_state = 607
			owns_state = 744
			owns_state = 622
			owns_state = 750
			owns_state = 603
			owns_state = 748
			owns_state = 751
			owns_state = 752
			owns_state = 601
		}
		remove_effect = {
			hidden_effect = {
				annex_country = { target = XSM }
				XSM = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							XSM = {
								NOT = {
									has_cosmetic_tag = MIDCHINA_KAISER
								}
							}
						}
						set_cosmetic_tag = MIDCHINA_KAISER
						add_ideas = idea_colonial_exploitation_custom
						create_country_leader = {
							name = MIDCHINA_KAISER_CHIANG
							desc = MIDCHINA_KAISER_CHIANG_DESC
							picture = "GFX_portrait_CHIANG_MIDCHINA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								custom_imperial_duke_1
								chinese_allegiances_dtk
							}
						}
						transfer_state = 605
						transfer_state = 749
						transfer_state = 600
						transfer_state = 602
						transfer_state = 620
						transfer_state = 606
						transfer_state = 607
						transfer_state = 744
						transfer_state = 622
						transfer_state = 750
						transfer_state = 603
						transfer_state = 748
						transfer_state = 751
						transfer_state = 752
						transfer_state = 601
						#chinda d cima
						transfer_state = 753
						transfer_state = 283
						transfer_state = 754
						transfer_state = 604
						transfer_state = 755
						transfer_state = 616
						transfer_state = 756
						#cores do china d baixo
						add_state_core = 753
						add_state_core = 283
						add_state_core = 754
						add_state_core = 604
						add_state_core = 755
						add_state_core = 616
						add_state_core = 756
						set_capital = {
						  state = 605
						  remember_old_capital = no
						}
					}
					else = {
						transfer_state = 605
						transfer_state = 749
						transfer_state = 600
						transfer_state = 602
						transfer_state = 620
						transfer_state = 606
						transfer_state = 607
						transfer_state = 744
						transfer_state = 622
						transfer_state = 750
						transfer_state = 603
						transfer_state = 748
						transfer_state = 751
						transfer_state = 752
						transfer_state = 601
						#chinda d cima
						transfer_state = 753
						transfer_state = 283
						transfer_state = 754
						transfer_state = 604
						transfer_state = 755
						transfer_state = 616
						transfer_state = 756
						add_state_core = 753
						add_state_core = 283
						add_state_core = 754
						add_state_core = 604
						add_state_core = 755
						add_state_core = 616
						add_state_core = 756
					}
				}
				set_autonomy = {
					target = XSM autonomy_state = autonomy_puppet
				}
			}
		}
	}
	expand_china_dtk_duchy_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 325
			XSM = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 747
			owns_state = 325
		}
		remove_effect = {
			XSM = {
				transfer_state = 747
				transfer_state = 325
				#cores
				add_state_core = 747
				add_state_core = 325
			}
		}
	}
	expand_china_dtk_duchy_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			#owns_state = 615
			XSM = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 615
			owns_state = 621
			owns_state = 746
			owns_state = 611
		}
		remove_effect = {
			XSM = {
				transfer_state = 615
				transfer_state = 621
				transfer_state = 746
				transfer_state = 611
				#cores
				add_state_core = 615
				add_state_core = 621
				add_state_core = 746
			}
		}
	}
	expand_china_dtk_duchy_3 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 10
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 611
			XSM = {
				is_subject_of = GER
			}
			MON = {
				NOT = {
					is_subject_of = GER
				}
			}
		}
		available = {
			owns_state = 611
			owns_state = 612
		}
		remove_effect = {
			XSM = {
				transfer_state = 611
				transfer_state = 612
				#cores
				add_state_core = 611
				add_state_core = 612
			}
		}
	}
	expand_china_dtk_duchy_4 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 757
			XSM = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 757
			owns_state = 322
			owns_state = 758
		}
		remove_effect = {
			XSM = {
				transfer_state = 757
				transfer_state = 322
				transfer_state = 758
				#cores
				add_state_core = 757
				add_state_core = 322
				add_state_core = 758
			}
		}
	}
	expand_china_dtk_duchy_5 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 617
			XSM = {
				is_subject_of = GER
			}
		}
		available = {
			owns_state = 617
			owns_state = 759
			owns_state = 760
			owns_state = 618
			owns_state = 287
			owns_state = 619
		}
		remove_effect = {
			XSM = {
				transfer_state = 617
				transfer_state = 759
				transfer_state = 760
				transfer_state = 618
				transfer_state = 287
				transfer_state = 619
				#cores
				add_state_core = 617
				add_state_core = 759
				add_state_core = 760
				add_state_core = 618
				add_state_core = 287
				add_state_core = 619
			}
		}
	}
	
	form_mil_adm_mongolia_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			OR = {
				owns_state = 817
				owns_state = 330
			}
		}
		available = {
			has_stability > 0.55
			owns_state = 817
			owns_state = 330
			owns_state = 819
			owns_state = 818
			owns_state = 820
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = MON
					}
					annex_country = { target = MON }
				}
				MON = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							MON = {
								NOT = {
									has_cosmetic_tag = MON_KAISER
								}
							}
						}
						set_cosmetic_tag = MON_KAISER
						create_country_leader = {
							name = MONGOLIA_KAISER_MILITARY_ADM_1
							desc = MONGOLIA_KAISER_MILITARY_ADM_1_DESC
							picture = "GFX_portrait_DEFAULT_MILITARY_ADM_3.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								loyal_to_the_kaiser
							}
						}
						transfer_state = 817
						transfer_state = 330
						transfer_state = 819
						transfer_state = 818
						transfer_state = 820
						transfer_state = 612
						#core
						add_state_core = 817
						add_state_core = 330
						add_state_core = 819
						add_state_core = 818
						add_state_core = 820
						add_state_core = 612
					}
					else = {
						transfer_state = 817
						transfer_state = 330
						transfer_state = 819
						transfer_state = 818
						transfer_state = 820
						transfer_state = 612
						#core
						add_state_core = 817
						add_state_core = 330
						add_state_core = 819
						add_state_core = 818
						add_state_core = 820
						add_state_core = 612
					}
				}
				set_autonomy = {
					target = MON autonomy_state = autonomy_puppet
				}
			}
		}
	}
	
	#slav nation
	form_slav_union_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 107
		}
		available = {
			has_stability > 0.55
			owns_state = 107
			owns_state = 45
			owns_state = 109
			owns_state = 102
			owns_state = 853
			owns_state = 103
			owns_state = 104
			owns_state = 764
			owns_state = 107
			owns_state = 804
			owns_state = 105
			owns_state = 802
			owns_state = 108
			owns_state = 803
			owns_state = 106
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = YUG
					}
					annex_country = { target = YUG }
				}
				YUG = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							YUG = {
								NOT = {
									has_cosmetic_tag = SLAV_KAISER
								}
							}
						}
						set_cosmetic_tag = SLAV_KAISER
						create_country_leader = {
							name = SLAV_KAISER_ERNST
							desc = SLAV_KAISER_ERNST_DESC
							picture = "GFX_portrait_ERNST_SLAV_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								convicted_slav_dtk
							}
						}
						transfer_state = 107
						transfer_state = 45
						transfer_state = 109
						transfer_state = 102
						transfer_state = 853
						transfer_state = 103
						transfer_state = 104
						transfer_state = 764
						transfer_state = 107
						transfer_state = 804
						transfer_state = 105
						transfer_state = 802
						transfer_state = 108
						transfer_state = 803
						transfer_state = 106
						transfer_state = 970
						transfer_state = 934
					}
					else = {
						transfer_state = 107
						transfer_state = 45
						transfer_state = 109
						transfer_state = 102
						transfer_state = 853
						transfer_state = 103
						transfer_state = 104
						transfer_state = 764
						transfer_state = 107
						transfer_state = 804
						transfer_state = 105
						transfer_state = 802
						transfer_state = 108
						transfer_state = 803
						transfer_state = 106
						transfer_state = 970
						transfer_state = 934
					}
					#ideas remover 
					remove_ideas = { king_peter_1 YUG_idea_all_yugoslavian_regiments }
				}
				set_autonomy = {
					target = YUG autonomy_state = autonomy_puppet
				}
			}
		}
	}
	expand_slav_union_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 48
			YUG = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 48
			owns_state = 212
			owns_state = 801
			owns_state = 211
		}
		remove_effect = {
			YUG = {
				transfer_state = 48
				transfer_state = 212
				transfer_state = 801
				transfer_state = 211
			}
		}
	}
	expand_slav_union_2_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 44
			YUG = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 44
			owns_state = 805
		}
		remove_effect = {
			YUG = {
				transfer_state = 44
				transfer_state = 805
			}
		}
	}
	
	#romania
	form_romania_hohenzollern_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 46
		}
		available = {
			has_stability > 0.55
			owns_state = 76
			owns_state = 83
			owns_state = 84
			owns_state = 82
			owns_state = 81
			owns_state = 46
			owns_state = 77
			owns_state = 79
			owns_state = 80
			owns_state = 78
			owns_state = 766
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = ROM
					}
					annex_country = { target = ROM }
				}
				ROM = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							ROM = {
								NOT = {
									has_cosmetic_tag = ROM_KAISER
								}
							}
						}
						set_cosmetic_tag = ROM_KAISER
						create_country_leader = {
							name = ROM_KAISER_MICHAEL
							desc = ROM_KAISER_MICHAEL_DESC
							picture = "GFX_portrait_MICHAEL_ROM_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								von_hohenzollern_dtk
							}
						}
						transfer_state = 76
						transfer_state = 83
						transfer_state = 84
						transfer_state = 82
						transfer_state = 81
						transfer_state = 46
						transfer_state = 77
						transfer_state = 79
						transfer_state = 80
						transfer_state = 78
						transfer_state = 766
						transfer_state = 971
					}
					else = {
						transfer_state = 76
						transfer_state = 83
						transfer_state = 84
						transfer_state = 82
						transfer_state = 81
						transfer_state = 46
						transfer_state = 77
						transfer_state = 79
						transfer_state = 80
						transfer_state = 78
						transfer_state = 766
						transfer_state = 971
					}
					remove_ideas = {
						ROM_king_carol_ii_hedonist
					}
				}
				set_autonomy = {
					target = ROM autonomy_state = autonomy_puppet
				}
			}
		}
	}
	
	#greece
	form_grecia_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 47
		}
		available = {
			has_stability > 0.50
			owns_state = 47
			owns_state = 185
			owns_state = 186
			owns_state = 731
			owns_state = 184
		}
		remove_effect = {
			hidden_effect = {
				GER = {
					set_autonomy = {
						target = KGL autonomy_state = autonomy_puppet
					}
				}
				KGL = {
					load_focus_tree = generic_focus
					set_cosmetic_tag = GRECIA_KAISER
					create_country_leader = {
						name = GRE_KAISER_GEORGE
						desc = GRE_KAISER_GEORGE_DESC
						picture = "GFX_portrait_GEORGE_GRE_KAISER.dds"
						expire = "1965.1.1"
						ideology = oligarchism
						traits = { 
							german_simpatizer_dtk
						}
					}
					transfer_state = 47
					transfer_state = 185
					transfer_state = 186
					transfer_state = 731
					transfer_state = 184
				}
			}
		}
	}
	
	#west indies
	form_west_indies_dtk = { #needs loc
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 690
		}
		available = {
			has_stability > 0.55
			owns_state = 690
			owns_state = 693
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = OIF
					}
					annex_country = { target = OIF }
				}
				OIF = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							OIF = {
								NOT = {
									has_cosmetic_tag = WEST_INDIES_KAISER
								}
							}
						}
						set_cosmetic_tag = WEST_INDIES_KAISER
						add_ideas = idea_navy_with_a_state_dtk
						add_timed_idea = {
							idea = idea_recent_founded_colony_dtk
							days = 1295
						}
						create_country_leader = {
							name = WEST_INDIES_KAISER_LOOFF
							desc = WEST_INDIES_KAISER_LOOFF_DESC
							picture = "GFX_portrait_LOOFF_WEST_INDIES_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								custom_imperial_admiral_1
							}
						}
						transfer_state = 690
						transfer_state = 693
						690 = {
							add_extra_state_shared_building_slots = 10
							add_building_construction = {
								type = dockyard
								level = 10
								instant_build = yes
							}
						}
						693 = {
							add_extra_state_shared_building_slots = 7
							add_building_construction = {
								type = industrial_complex
								level = 7
								instant_build = yes
							}
						}
					}
					else = {
						transfer_state = 690
						transfer_state = 693
					}
				}
				set_autonomy = {
					target = OIF autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_west_indies_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 692
			OIF = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 692
			owns_state = 694
			owns_state = 689
			owns_state = 687
			owns_state = 310
		}
		remove_effect = {
			OIF = {
				transfer_state = 692
				transfer_state = 694
				transfer_state = 689
				transfer_state = 687
				transfer_state = 310
				#cores
				add_state_core = 692
				add_state_core = 694
				add_state_core = 689
				add_state_core = 687
				add_state_core = 310
			}
		}
	}
	expand_west_indies_dtk_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				has_global_flag = expanded_indies_dtk_bugged_1
			}
			OR = {
				NOT = {
					country_exists = HOL
				}
				HOL = {
					is_subject_of = GER
				}
			}
			has_government = neutrality
			OIF = {
				is_subject_of = GER
			}
		}
		available = {
			has_stability > 0.4
		}
		remove_effect = {
			OIF = {
				transfer_state = 309
				transfer_state = 695
				transfer_state = 691
				add_state_core = 309
				add_state_core = 695
				add_state_core = 691
			}
			hidden_effect = {
				set_global_flag = expanded_indies_dtk_bugged_1
			}
		}
	}
	expand_west_indies_dtk_3 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 315
			OIF = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 315
		}
		remove_effect = {
			OIF = {
				transfer_state = 315
				#cores
				add_state_core = 315
			}
		}
	}
	expand_west_indies_dtk_4 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 318
			OIF = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 318
			owns_state = 319
		}
		remove_effect = {
			OIF = {
				transfer_state = 318
				transfer_state = 319
				#cores
				add_state_core = 318
				add_state_core = 319
			}
		}
	}
	expand_west_indies_dtk_5 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 686
			OIF = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 686
			owns_state = 308
			owns_state = 309
		}
		remove_effect = {
			OIF = {
				transfer_state = 686
				transfer_state = 308
				transfer_state = 309
				#cores
				add_state_core = 686
				add_state_core = 308
			}
		}
	}
	
	#central america continent
	form_mexico_dtk = { #needs loc
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 277
		}
		available = {
			has_stability > 0.55
			owns_state = 277
			owns_state = 479 
			owns_state = 480
			owns_state = 481
			owns_state = 478
			owns_state = 485
			owns_state = 477
			owns_state = 476
			owns_state = 475
			owns_state = 474
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = MEX
					}
					annex_country = { target = MEX }
				}
				MEX = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							MEX = {
								NOT = {
									has_cosmetic_tag = CENTRAL_AMERICA_KAISER
								}
							}
						}
						set_cosmetic_tag = CENTRAL_AMERICA_KAISER
						add_timed_idea = {
							idea = idea_recent_founded_colony_dtk
							days = 1295
						}
						create_country_leader = {
							name = CENTRAL_AMERICA_KAISER_THYSSEN
							desc = CENTRAL_AMERICA_KAISER_THYSSEN_DESC
							picture = "GFX_portrait_THYSSEN_CENTRAL_AMERICA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
							}
						}
						transfer_state = 277
						transfer_state = 479 
						transfer_state = 480
						transfer_state = 482
						transfer_state = 481
						transfer_state = 478
						transfer_state = 485
						transfer_state = 477
						transfer_state = 476
						transfer_state = 475
						transfer_state = 474
						transfer_state = 483
						transfer_state = 311
						if = {
							limit = {
								HAW = {
									is_subject_of = GER
								}
							}
							HAW = {
								transfer_state = 484
								add_state_core = 484
							}
						}
					}
					else = {
						transfer_state = 277
						transfer_state = 479 
						transfer_state = 480
						transfer_state = 482
						transfer_state = 481
						transfer_state = 478
						transfer_state = 485
						transfer_state = 477
						transfer_state = 476
						transfer_state = 475
						transfer_state = 474
						transfer_state = 483
						transfer_state = 311
						if = {
							limit = {
								HAW = {
									is_subject_of = GER
								}
							}
							HAW = {
								transfer_state = 484
								add_state_core = 484
							}
						}
					}
				}
				set_autonomy = {
					target = MEX autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_mexico_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 313
				owns_state = 312
			}
			MEX = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 313
			owns_state = 312
			owns_state = 314
		}
		remove_effect = {
			MEX = {
				transfer_state = 313
				transfer_state = 312
				transfer_state = 314
				#cores
				add_state_core = 313
				add_state_core = 314
				add_state_core = 312
			}
		}
	}
	expand_mexico_dtk_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 317
				owns_state = 316
			}
			MEX = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 317
			owns_state = 316
		}
		remove_effect = {
			MEX = {
				transfer_state = 317
				transfer_state = 316
				#cores
				add_state_core = 317
				add_state_core = 316
			}
		}
	}
	
	#klein venedig north of south america
	form_klein_venedig_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 307
		}
		available = {
			has_stability > 0.55
			owns_state = 307
			owns_state = 489
			owns_state = 488
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = VEN
					}
					annex_country = { target = VEN }
				}
				VEN = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							VEN = {
								NOT = {
									has_cosmetic_tag = KLEIN_VENEDIG_KAISER
								}
							}
						}
						set_cosmetic_tag = KLEIN_VENEDIG_KAISER
						add_timed_idea = {
							idea = idea_recent_founded_colony_dtk
							days = 1295
						}
						create_country_leader = {
							name = KLEIN_VENEDIG_KAISER_HOHENLOHE
							desc = KLEIN_VENEDIG_KAISER_HOHENLOHE_DESC
							picture = "GFX_portrait_HOHENLOHE_KLEIN_VENEDIG_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
							}
						}
						transfer_state = 307
						transfer_state = 489
						transfer_state = 488
					}
					else = {
						transfer_state = 307
						transfer_state = 489
						transfer_state = 488
					}
				}
				set_autonomy = {
					target = VEN autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_klein_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 306
			VEN = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 306
			owns_state = 486
			owns_state = 493
		}
		remove_effect = {
			VEN = {
				transfer_state = 306
				transfer_state = 486
				transfer_state = 493
				#cores
				add_state_core = 486
				add_state_core = 306
				add_state_core = 493
			}
		}
	}
	expand_klein_dtk_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 10
		days_remove = 10
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 306
			VEN = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 304
		}
		remove_effect = {
			VEN = {
				transfer_state = 304
				#cores
				add_state_core = 304
			}
		}
	}
	expand_klein_dtk_3 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 5
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 491
				owns_state = 490
			}
			VEN = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 491
			owns_state = 490
		}
		remove_effect = {
			VEN = {
				transfer_state = 491
				transfer_state = 490
				#cores
				add_state_core = 491
				transfer_state = 490
			}
		}
	}
	expand_klein_dtk_4 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			VEN = {
				is_subject_of = GER
			}
			has_government = neutrality
			owns_state = 305
		}
		available = {
			owns_state = 305
		}
		remove_effect = {
			VEN = {
				transfer_state = 305
				#cores
				add_state_core = 305
			}
			hidden_effect = {
				GER = {
					if = {
						limit = {
							country_exists = ECU
						}
						annex_country = { target = ECU }
					}
					else = {
						transfer_state = 649
					}
				}
			}
		}
	}
	
	#turkey
	form_turkey_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 49
		}
		available = {
			has_stability > 0.55
			owns_state = 341
			owns_state = 797
			owns_state = 347
			owns_state = 340
			owns_state = 339
			owns_state = 343
			owns_state = 342
			owns_state = 346
			owns_state = 49
			owns_state = 356
			owns_state = 798
			owns_state = 345
			owns_state = 348
			owns_state = 344
			owns_state = 355
			owns_state = 349
			owns_state = 354
			owns_state = 353
			owns_state = 800
			owns_state = 352
			owns_state = 350
		}
		remove_effect = {
			hidden_effect = {
				TUR = { load_focus_tree = generic_focus }
				dropper_dtk_tag_turkey = yes
			}
		}
	}
	#iberian federation
	form_iberian_federation_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			owns_state = 41
		}
		available = {
			has_stability > 0.55
			owns_state = 41
			owns_state = 793
			owns_state = 166
			owns_state = 176
			owns_state = 791
			owns_state = 172
			owns_state = 792
			owns_state = 790
			owns_state = 171
			owns_state = 174
			owns_state = 788
			owns_state = 170
			owns_state = 169
			owns_state = 175
			owns_state = 789
			owns_state = 794
			owns_state = 165
			owns_state = 167
			owns_state = 168
			owns_state = 173
		}
		remove_effect = {
			hidden_effect = {
				SPR = { load_focus_tree = generic_focus }
				if = {
					limit = {
						country_exists = SPR
					}
					annex_country = { target = SPR }
				}
				dropper_dtk_tag_iberia = yes
			}
		}
	}
	expand_iberia_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 112
			SPR = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 112
			owns_state = 180
			owns_state = 181
			owns_state = 795
			owns_state = 179
		}
		remove_effect = {
			hidden_effect = {
				SPR = {
					if = {
						limit = { country_exists = POR }
						annex_country = { target = POR }
					}
					transfer_state = 112
					transfer_state = 180
					transfer_state = 181
					transfer_state = 795
					transfer_state = 179
					#cores
					add_state_core = 180
					add_state_core = 181
					add_state_core = 795
					add_state_core = 179
				}
			}
		}
	}
	
	#NORDIC COUNTRIES
	#SWEDEN
	form_sweden_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			SWE = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 141
				controls_state = 141
			}
		}
		available = {
			has_stability > 0.55
			OR = {
				AND = {
					owns_state = 138
					owns_state = 141
					owns_state = 139
					owns_state = 140 
					owns_state = 38
					owns_state = 666
					#1.13 log
					owns_state = 913
					owns_state = 915
					owns_state = 919
					owns_state = 916
					owns_state = 917
					owns_state = 918
				}
				AND = {
					controls_state = 138
					controls_state = 141
					controls_state = 139
					controls_state = 140 
					controls_state = 38
					controls_state = 666
					#log
					controls_state = 913
					controls_state = 915
					controls_state = 919
					controls_state = 916
					controls_state = 917
					controls_state = 918
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = SWE
					}
					annex_country = { target = SWE }
				}
				SWE = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							SWE = {
								NOT = {
									has_cosmetic_tag = SWE_KAISER
								}
							}
						}
						set_cosmetic_tag = SWE_KAISER
						#add_ideas = idea_nordic_legacy_dtk WIP
						create_country_leader = {
							name = SWE_KAISER_GUSTAF
							desc = SWE_KAISER_GUSTAF_DESC
							picture = "GFX_portrait_GUSTAF_SWE_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								german_simpatizer_dtk
							}
						}
						transfer_state = 138
						transfer_state = 141
						transfer_state = 139
						transfer_state = 140 
						transfer_state = 38
						transfer_state = 666
						#
						transfer_state = 913
						transfer_state = 915
						transfer_state = 919
						transfer_state = 916
						transfer_state = 917
						transfer_state = 918
					}
					else = {
						transfer_state = 138
						transfer_state = 141
						transfer_state = 139
						transfer_state = 140 
						transfer_state = 38
						transfer_state = 666
						transfer_state = 913
						transfer_state = 915
						transfer_state = 919
						transfer_state = 916
						transfer_state = 917
						transfer_state = 918
					}
				}
				set_autonomy = {
					target = SWE autonomy_state = autonomy_puppet
				}
			}
		}
	}
	form_norway_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOR = {
				NOT = {
					is_subject_of = GER
				}
			}
			OR = {
				owns_state = 110
				controls_state = 110
			}
		}
		available = {
			has_stability > 0.45
			OR = {
				AND = {
					owns_state = 110
					owns_state = 142
					owns_state = 143
					owns_state = 144
					#1.13.5
					owns_state = 922
					owns_state = 921
					owns_state = 920
					owns_state = 923
					owns_state = 924
				}
				AND = {
					controls_state = 110
					controls_state = 142
					controls_state = 143
					controls_state = 144
					controls_state = 922
					controls_state = 921
					controls_state = 920
					controls_state = 923
					controls_state = 924
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = NOR
					}
					annex_country = { target = NOR }
				}
				NOR = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							NOR = {
								NOT = {
									has_cosmetic_tag = NOR_KAISER
								}
							}
						}
						set_cosmetic_tag = NOR_KAISER
						create_country_leader = {
							name = NOR_KAISER_HAAKON
							desc = NOR_KAISER_HAAKON_DESC
							picture = "GFX_portrait_HAAKON_NOR_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								kaiserliche_konig_dtk
							}
						}
						transfer_state = 110
						transfer_state = 142
						transfer_state = 143
						transfer_state = 144
						#1.13
						transfer_state = 922
						transfer_state = 921
						transfer_state = 920
						transfer_state = 923
						transfer_state = 924
					}
					else = {
						transfer_state = 110
						transfer_state = 142
						transfer_state = 143
						transfer_state = 144
						transfer_state = 922
						transfer_state = 921
						transfer_state = 920
						transfer_state = 923
						transfer_state = 924
					}
				}
				set_autonomy = {
					target = NOR autonomy_state = autonomy_puppet
				}
			}
		}
	}

	#brazil
	form_brasilien_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			controls_state = 500
			GER = {
				NOT = {
					has_completed_focus = GER_encourage_coup_in_brazil
				}
			}
		}
		available = {
			has_stability > 0.45
			owns_state = 500
			owns_state = 496
			owns_state = 501
			owns_state = 503
			owns_state = 502
			owns_state = 499
			owns_state = 498
			owns_state = 497
			owns_state = 495
			owns_state = 505
			owns_state = 280
			owns_state = 504
			owns_state = 941 #1.15
			owns_state = 937
			owns_state = 936
			owns_state = 935
			owns_state = 943
			owns_state = 944
			owns_state = 938
			owns_state = 966
			owns_state = 965
			owns_state = 942
			owns_state = 939
			owns_state = 968
			owns_state = 969
			owns_state = 967
			owns_state = 962
			owns_state = 963
			owns_state = 940
			owns_state = 964
			owns_state = 961
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = BRA
					}
					annex_country = { target = BRA }
				}
				BRA = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							BRA = {
								NOT = {
									has_cosmetic_tag = BRA_KAISER
								}
							}
						}
						set_cosmetic_tag = BRA_KAISER
						add_ideas = idea_only_kingdom_america
						add_ideas = idea_german_settlers_brazil_dtk
						create_country_leader = {
							name = BRA_KAISER_PEDRO
							desc = BRA_KAISER_PEDRO_DESC
							picture = "GFX_portrait_PEDRO_BRA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								brazilian_king_dtk
								kaiserliche_konig_dtk
							}
						}
						transfer_state = 500
						transfer_state = 496
						transfer_state = 501
						transfer_state = 503
						transfer_state = 502
						transfer_state = 499
						transfer_state = 498
						transfer_state = 497
						transfer_state = 495
						transfer_state = 505
						transfer_state = 280
						transfer_state = 504
						transfer_state = 941 #1.15
						transfer_state = 937
						transfer_state = 936
						transfer_state = 935
						transfer_state = 943
						transfer_state = 944
						transfer_state = 938
						transfer_state = 966
						transfer_state = 965
						transfer_state = 942
						transfer_state = 939
						transfer_state = 968
						transfer_state = 969
						transfer_state = 967
						transfer_state = 962
						transfer_state = 963
						transfer_state = 940
						transfer_state = 964
						transfer_state = 961
					}
					else = {
						transfer_state = 500
						transfer_state = 496
						transfer_state = 501
						transfer_state = 503
						transfer_state = 502
						transfer_state = 499
						transfer_state = 498
						transfer_state = 497
						transfer_state = 495
						transfer_state = 505
						transfer_state = 280
						transfer_state = 504
						transfer_state = 941 #1.15
						transfer_state = 937
						transfer_state = 936
						transfer_state = 935
						transfer_state = 943
						transfer_state = 944
						transfer_state = 938
						transfer_state = 966
						transfer_state = 965
						transfer_state = 942
						transfer_state = 939
						transfer_state = 968
						transfer_state = 969
						transfer_state = 967
						transfer_state = 962
						transfer_state = 963
						transfer_state = 940
						transfer_state = 964
						transfer_state = 961
					}
				}
				set_autonomy = {
					target = BRA autonomy_state = autonomy_puppet
				}
			}
		}
	}
	expand_brasilien_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 300
			BRA = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 300
		}
		remove_effect = {
			hidden_effect = {
				BRA = {
					if = {
						limit = { country_exists = URG }
						annex_country = { target = URG }
					}
					transfer_state = 300
					transfer_state = 946
					transfer_state = 945
					#cores
					add_state_core = 300
				}
				300 = {
					set_state_name = "Cisplatina"
				}
			}
		}
	}
	form_argentinabayern_dtk = { #needs desc
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 25
		days_remove = 30
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			has_government = neutrality
			OR = {
				owns_state = 278
				owns_state = 279
			}
			ARG = {
				NOT = {
					is_subject_of = GER
				}
			}
		}
		available = {
			has_stability > 0.45
			owns_state = 278
			owns_state = 510
			owns_state = 512
			owns_state = 511
			owns_state = 509
			owns_state = 508
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						country_exists = ARG
					}
					annex_country = { target = ARG }
				}
				ARG = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							ARG = {
								NOT = {
									has_cosmetic_tag = NEU_BAYERN_KAISER
								}
							}
						}
						set_cosmetic_tag = NEU_BAYERN_KAISER
						add_timed_idea = {
							idea = idea_recent_founded_colony_dtk
							days = 1295
						}
						create_country_leader = {
							name = NEU_BAYERN_KAISER_WIRTH
							desc = NEU_BAYERN_KAISER_WIRTH_DESC
							picture = "GFX_portrait_WIRTH_NEU_BAYERN_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
								former_reichsklanzer_dtk
							}
						}
						transfer_state = 278
						transfer_state = 510
						transfer_state = 512
						transfer_state = 511
						transfer_state = 509
						transfer_state = 508
						transfer_state = 956 #1.15
						transfer_state = 958
						transfer_state = 960
						transfer_state = 955
						transfer_state = 954
						transfer_state = 957
						transfer_state = 959
					}
					else = {
						transfer_state = 278
						transfer_state = 510
						transfer_state = 512
						transfer_state = 511
						transfer_state = 509
						transfer_state = 508
						transfer_state = 956 #1.15
						transfer_state = 958
						transfer_state = 960
						transfer_state = 955
						transfer_state = 954
						transfer_state = 957
						transfer_state = 959
					}
				}
				set_autonomy = {
					target = ARG autonomy_state = autonomy_colony
				}
			}
		}
	}
	expand_neubayern_dtk_1 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 5
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 279
			ARG = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 279
			owns_state = 507
		}
		remove_effect = {
			hidden_effect = {
				ARG = {
					transfer_state = 279
					transfer_state = 507
					transfer_state = 950
					transfer_state = 949
					transfer_state = 952
					transfer_state = 506
					#cores
					add_state_core = 279
					add_state_core = 507
				}
			}
		}
	}
	expand_neubayern_dtk_2 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 5
		days_remove = 5
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 301
				owns_state = 688
			}
			ARG = {
				is_subject_of = GER
			}
			has_government = neutrality
		}
		available = {
			owns_state = 301
			owns_state = 688
		}
		remove_effect = {
			hidden_effect = {
				ARG = {
					if = {
						limit = {
							country_exists = PAR
						}
						annex_country = { target = PAR }
					}
					transfer_state = 301
					transfer_state = 688
					#cores
					add_state_core = 301
					add_state_core = 688
				}
			}
		}
	}
	
	#peru-bolivien
	form_prubol_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 20
		allowed = {
			original_tag = GER
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			OR = {
				owns_state = 303
				owns_state = 506
				owns_state = 302
			}
		}
		available = {
			has_stability > 0.45
			owns_state = 303
			owns_state = 506
			owns_state = 302
			owns_state = 492
			owns_state = 494
			owns_state = 487
		}
		remove_effect = {
			hidden_effect = {
				GER = {
					if = {
						limit = { country_exists = PRU }
						annex_country = PRU
					}
				}
				PRU = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							PRU = {
								NOT = {
									has_cosmetic_tag = PRUBOL_KAISER
								}
							}
						}
						set_cosmetic_tag = PRUBOL_KAISER
						add_timed_idea = {
							idea = idea_recent_founded_colony_dtk
							days = 1295
						}
						create_country_leader = {
							name = PRUBOL_KAISER_BRUNING
							desc = PRUBOL_KAISER_BRUNING_DESC
							picture = "GFX_portrait_BRUNING_PRUBOL_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
							}
						}
						transfer_state = 303
						transfer_state = 506
						transfer_state = 302
						transfer_state = 492
						transfer_state = 494
						transfer_state = 487
						transfer_state = 947
						transfer_state = 951
						
						add_state_core = 487
						add_state_core = 302
						add_state_core = 506
					}
					else = {
						transfer_state = 303
						transfer_state = 506
						transfer_state = 302
						transfer_state = 492
						transfer_state = 494
						transfer_state = 487
						transfer_state = 947
						transfer_state = 951
					}
				}
				set_autonomy = {
					target = PRU autonomy_state = autonomy_colony
				}
			}
		}
	}
	
	#filipines
	form_admiralty_of_philipines_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 20
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 327
			MTK = {
				is_subject_of = GER
			}
			NOT = {
				PHI = {
					is_subject_of = GER
				}
			}
		}
		available = {
			has_stability > 0.5
			owns_state = 327
			owns_state = 623
			owns_state = 624
			owns_state = 625
			owns_state = 627
			owns_state = 628 #future project - rebels
			owns_state = 626
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = { country_exists = PHI }
					annex_country = { target = PHI }
				}
				PHI = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							PHI = {
								NOT = {
									has_cosmetic_tag = PHI_KAISER
								}
							}
						}
						set_cosmetic_tag = PHI_KAISER
						create_country_leader = {
							name = PHI_KAISER_VON_PUTTKAMER
							desc = PHI_KAISER_VON_PUTTKAMER_DESC
							picture = "GFX_portrait_VON_PUTTKAMER_PHI_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								dtk_naval_officer
								loyal_to_the_kaiser
							}
						}
						transfer_state = 327
						transfer_state = 623
						transfer_state = 624
						transfer_state = 625
						transfer_state = 627
						transfer_state = 628
						transfer_state = 626
					}
					else = {
						transfer_state = 327
						transfer_state = 623
						transfer_state = 624
						transfer_state = 625
						transfer_state = 627
						transfer_state = 628
						transfer_state = 626
					}
				}
				MTK = {
					set_autonomy = {
						target = PHI autonomy_state = autonomy_puppet
					}
				}
			}
		}
	}
	
	#japan
	form_japan_puppet_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 20
		days_remove = 25
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 282
			NOT = {
				JAP = {
					is_subject_of = GER
				}
			}
			MTK = {
				is_subject_of = GER
			}
		}
		available = {
			has_stability > 0.5
			owns_state = 282
			owns_state = 532
			owns_state = 535
			owns_state = 534
			owns_state = 533
			owns_state = 536
			owns_state = 531
			owns_state = 529
			owns_state = 530
			owns_state = 528
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = { country_exists = JAP }
					annex_country = { target = JAP }
				}
				JAP = {
					load_focus_tree = generic_focus
					if = {
						limit = { has_dlc = "Man the Guns" }
						remove_ideas = { MTG_naval_treaty_cheating MTG_naval_treaty_adherent }
					}
					remove_ideas = { JAP_guide_the_zaibatsus JAP_lialson_conference JAP_red_brigades JAP_communist_volunteers JAP_militarism_shogunate JAP_hirohito JAP_reeducation_campaign }
					if = {
						limit = {
							JAP = {
								NOT = {
									has_cosmetic_tag = JAP_KAISER_DTK
								}
							}
						}
						set_cosmetic_tag = JAP_KAISER_DTK
						add_ideas = idea_hirohito_puppet_dtk
						set_cosmetic_tag = JAP_KAISER_DTK
						create_country_leader = {
							name = JAP_KAISER_TOJO
							desc = JAP_KAISER_TOJO_DESC
							picture = "GFX_portrait_TOJO_JAP_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								japanese_figure_dtk
							}
						}
						transfer_state = 282
						transfer_state = 532
						transfer_state = 535
						transfer_state = 534
						transfer_state = 533
						transfer_state = 536
						transfer_state = 531
						transfer_state = 529
						transfer_state = 530
						transfer_state = 528
					}
					else = {
						transfer_state = 282
						transfer_state = 532
						transfer_state = 535
						transfer_state = 534
						transfer_state = 533
						transfer_state = 536
						transfer_state = 531
						transfer_state = 529
						transfer_state = 530
						transfer_state = 528
					}
				}
				MTK = {
					set_autonomy = {
						target = JAP autonomy_state = autonomy_puppet
					}
				}
			}
		}
	}
	
	#ireland
	form_ireland_puppet_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 113
			NOT = {
				IRE = {
					is_subject_of = GER
				}
			}
		}
		available = {
			has_stability > 0.4
			owns_state = 113
			owns_state = 119
			owns_state = 134
			owns_state = 135
		}
		remove_effect = {
			hidden_effect = {
				if = {
					limit = { country_exists = IRE }
					annex_country = { target = IRE }
				}
				IRE = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							IRE = {
								NOT = {
									has_cosmetic_tag = IRE_KAISER_DTK
								}
							}
						}
						add_ideas = idea_german_investiments_dtk
						set_cosmetic_tag = IRE_KAISER_DTK
						create_country_leader = {
							name = IRE_KAISER_BRUCKNER
							desc = IRE_KAISER_BRUCKNER_DESC
							picture = "GFX_portrait_BRUCKNER_IRE_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								loyal_to_the_kaiser
								army_officer_dtk
							}
						}
						transfer_state = 113
						transfer_state = 119
						transfer_state = 134
						transfer_state = 135
					}
					else = {
						transfer_state = 113
						transfer_state = 119
						transfer_state = 134
						transfer_state = 135
					}
				}
				set_autonomy = {
					target = IRE autonomy_state = autonomy_puppet
				}
			}
		}
	}

	#swiss
	form_swiss_puppet_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 15
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			owns_state = 3
			NOT = {
				SWI = {
					is_subject_of = GER
				}
			}
		}
		available = {
			has_stability > 0.35
			owns_state = 3
			owns_state = 845
			owns_state = 847
			owns_state = 151
			owns_state = 846
		}
		remove_effect = {
			hidden_effect = {
				SWI = {
					remove_ideas = { SWI_foreign_fascist_propaganda SWI_swiss_neutrality }
					drop_cosmetic_tag = yes
				}
				if = {
					limit = { country_exists = SWI }
					annex_country = { target = SWI }
				}
				SWI = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							SWI = {
								NOT = {
									has_cosmetic_tag = SWI_KAISER_DTK
								}
							}
						}
						add_ideas = idea_german_investiments_dtk
						set_cosmetic_tag = SWI_KAISER_DTK
						create_country_leader = {
							name = SWI_KAISER_ETTER
							desc = SWI_KAISER_ETTER_DESC
							picture = "GFX_portrait_ETTER_SWI_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								loyal_to_the_kaiser
							}
						}
						transfer_state = 3
						transfer_state = 845
						transfer_state = 847
						transfer_state = 151
						transfer_state = 846
					}
					else = {
						transfer_state = 3
						transfer_state = 845
						transfer_state = 847
						transfer_state = 151
						transfer_state = 846
					}
				}
				set_autonomy = {
					target = SWI autonomy_state = autonomy_puppet
				}
			}
		}
	}

	#1.13.5 form costal china even if 
	form_costal_china_dtk_135 = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = no
		cost = 100
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			GER = { 
				OR = {
					has_cosmetic_tag = IMPERIAL_GERMANY_KAISER
					has_cosmetic_tag = GER_DTK_HRE_RESTORED
				}
			}
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			NOT = {
				has_global_flag = dtk_sinogerman_trade_123_viadecision
			}
		}
		available = {
			has_stability > 0.5
			NOT = {
				has_completed_focus = GER_form_the_sinogerman_trade_company
			}
			has_completed_focus = GER_claim_east_asia
			owns_state = 743
			owns_state = 613
			owns_state = 595
			owns_state = 596
			owns_state = 598
			owns_state = 597
			owns_state = 614
			owns_state = 608
		}
		remove_effect = {
			custom_effect_tooltip = 10_dtk_sino_german_tt
			hidden_effect = {
				set_global_flag = dtk_sinogerman_trade_123_viadecision
				remove_state_claim = 743
				remove_state_claim = 613
				remove_state_claim = 595
				remove_state_claim = 596
				remove_state_claim = 598
				remove_state_claim = 597
				remove_state_claim = 614
				remove_state_claim = 608
				annex_country = { target = CHI }
				CHI = {
					load_focus_tree = generic_focus
					if = {
						limit = {
							CHI = {
								NOT = {
									has_cosmetic_tag = CHINA_KAISER
								}
							}
						}
						set_cosmetic_tag = CHINA_KAISER
						add_ideas = idea_german_settlers_ural_1
						add_ideas = idea_dtk_german_china
						create_country_leader = {
							name = CHI_KAISER_ALEXANDER
							desc = CHI_KAISER_ALEXANDER_DESC
							picture = "GFX_portrait_ALEXANDER_CHINA_KAISER.dds"
							expire = "1965.1.1"
							ideology = oligarchism
							traits = { 
								imperial_governor_german_dtk
								chinese_allegiances_dtk
							}
						}
						transfer_state = 743
						transfer_state = 613
						transfer_state = 595
						transfer_state = 596
						transfer_state = 598
						transfer_state = 597
						transfer_state = 614
						transfer_state = 608
					}
					else = {
						transfer_state = 743
						transfer_state = 613
						transfer_state = 595
						transfer_state = 596
						transfer_state = 598
						transfer_state = 597
						transfer_state = 614
						transfer_state = 608
					}
				}
				set_autonomy = {
					target = CHI autonomy_state = autonomy_colony
				}
			}
		}
	}

	#integrate occitania into france 1.13.5 log
	integrate_occitania_into_france_dtk = {
		icon = GFX_decisions_frankfurter_icon_dtk
		fire_only_once = yes
		cost = 20
		days_remove = 15
		allowed = {
			original_tag = GER
			has_government = neutrality
		}
		visible = {
			OR = {
				has_global_flag = frankfurt_no_focus_tree_flag
				has_completed_focus = GER_frankfurter_versammlung
			}
			FTK = {
				is_subject_of = GER
			}
			OR = {
				AND = {
					owns_state = 21
					owns_state = 20
				}
				AND = {
					controls_state = 21
					controls_state = 20
				}
			}
		}
		available = {
			FTK = {
				AND = {
					exists = yes
					OR = {
						has_capitulated = no
						controls_state = 16
					}
				}
			}
			has_stability > 0.4
			OR = {
				AND = {
					owns_state = 20
					owns_state = 26
					owns_state = 33
					owns_state = 25
					owns_state = 32
					owns_state = 21
					owns_state = 22
					owns_state = 31
					owns_state = 806
				}
				AND = {
					controls_state = 20
					controls_state = 26
					controls_state = 33
					controls_state = 25
					controls_state = 32
					controls_state = 21
					controls_state = 22
					controls_state = 31
					controls_state = 806
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				FTK = {
					set_country_flag = dtk_integrated_occitania_france
				}
			}
			FTK = {
				transfer_state = 20
				transfer_state = 26
				transfer_state = 33
				transfer_state = 25
				transfer_state = 32
				transfer_state = 21
				transfer_state = 22
				transfer_state = 31
				transfer_state = 806
			}
		}
	}
}

activate_focustr_bug_dtk = {
	focu_bug_dtk_decis = {
		allowed = {
			original_tag = GER
		}
		visible = {
			NOT = {
				has_global_flag = dtk_activated_focus_via_event_bug
			}
		}
		remove_effect = {
			set_global_flag = dtk_activated_focus_via_event_bug
			custom_effect_tooltip = 40_germany_focus_tre_dtk_tool
			hidden_effect = {
				GER = {
					set_rule = { can_puppet = no }
					set_rule = { can_send_volunteers = no }
					set_rule = { can_lower_tension = yes }
					set_rule = { can_use_kamikaze_pilots = no }
					set_rule = { can_force_government = no }
					set_rule = { can_create_factions = no }
					set_rule = { can_only_justify_war_on_threat_country = yes } # TO DEAL WITH BUGGER PLAYERS # revise set_rule = { can_not_declare_war = yes } WIP
					load_focus_tree = DTK_kaiserreich_focus
				}
			}
		}
	}
}

wilhelms_portraits_dtk = {
	fix_dtk_mefo_25 = {
		fire_only_once = yes
		allowed = {
			original_tag = GER
		}
		visible = {
			GER ={
				OR = {
					has_idea = GER_mefo_bills_ended
					has_idea = GER_expatriated_communists_return_home_ns
					has_idea = GER_expatriated_communists_return_home_supressed_ns
				}
			}
		}
		remove_effect = {
			hidden_effect = {
				GER_stop_rearmament = yes
			}
			GER = {
				#GER_stop_rearmament = yes
				set_country_flag = ger_has_cancelled_mefo
				remove_ideas = GER_mefo_bills_ended
				remove_dynamic_modifier = { modifier = GER_recovering_economy_modifier } 
				remove_dynamic_modifier = { modifier = GER_army_modifier } #remove deutsches heer - last update gotterdamerung
				remove_dynamic_modifier = { modifier = GER_navy_modifier }
				remove_dynamic_modifier = { modifier = GER_navy_imperial_modifier }
				remove_dynamic_modifier = { modifier = GER_airforce_modifier }
				remove_dynamic_modifier = { modifier = GER_wirtschaftswunder_modifier }
				remove_ideas = { GER_expatriated_communists_return_home_ns GER_expatriated_communists_return_home_supressed_ns }
			}
		}
	}
	wilhelm_portrait_1_dtk = {
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = dtk_wilhelm_ii_choosed_by_player
			NOT = {
				has_global_flag = dtk_emperor_dies_for_portrait
			}
		}
		remove_effect = {
			GER = {
				set_country_leader_portrait = {
					ideology = neutrality
					portrait = GFX_portrait_KAISER_WILHELM_DTK_1
				}
			}
		}
	}
	wilhelm_portrait_2_dtk = {
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = dtk_wilhelm_ii_choosed_by_player
			NOT = {
				has_global_flag = dtk_emperor_dies_for_portrait
			}
		}
		remove_effect = {
			GER = {
				set_country_leader_portrait = {
					ideology = neutrality
					portrait = GFX_portrait_KAISER_WILHELM_DTK_2
				}
			}
		}
	}
	wilhelm_portrait_3_dtk = {
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = dtk_wilhelm_ii_choosed_by_player
			NOT = {
				has_global_flag = dtk_emperor_dies_for_portrait
			}
		}
		remove_effect = {
			GER = {
				set_country_leader_portrait = {
					ideology = neutrality
					portrait = GFX_portrait_KAISER_WILHELM_DTK_3
				}
			}
		}
	}
	wilhelm_portrait_4_dtk = {
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = dtk_wilhelm_ii_choosed_by_player
			NOT = {
				has_global_flag = dtk_emperor_dies_for_portrait
			}
		}
		remove_effect = {
			GER = {
				set_country_leader_portrait = {
					ideology = neutrality
					portrait = GFX_portrait_KAISER_WILHELM_DTK_4
				}
			}
		}
	}
	wilhelm_portrait_5_dtk = {
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = dtk_wilhelm_ii_choosed_by_player
			NOT = {
				has_global_flag = dtk_emperor_dies_for_portrait
			}
		}
		remove_effect = {
			GER = {
				set_country_leader_portrait = {
					ideology = neutrality
					portrait = GFX_portrait_KAISER_WILHELM_DTK_5
				}
			}
		}
	}

	wilhelm_portrait_default_dtk = {
		allowed = {
			original_tag = GER
		}
		visible = {
			has_global_flag = dtk_wilhelm_ii_choosed_by_player
			NOT = {
				has_global_flag = dtk_emperor_dies_for_portrait
			}
		}
		remove_effect = {
			GER = {
				set_country_leader_portrait = {
					ideology = neutrality
					portrait = GFX_portrait_KAISER_WILHELM_DTK_3_DEFAULT_1
				}
			}
		}
	}
}

