

zga_reshenie_problems = {
	zga_reshenie_problems_naseleniya = {
		fire_only_once = yes
		days_remove  = 70
		available = { }
		remove_effect  = {
			add_political_power = 100
			set_country_flag = zga_reshenie_problems_naseleniya
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_razreshit_nathional_conflicts = {
		fire_only_once = yes
		days_remove  = 70
		available = { has_country_flag = zga_reshenie_problems_naseleniya }
		remove_effect = {
			remove_ideas = zga_national_conflicts
			set_country_flag = zga_razreshit_nathional_conflicts
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_provokatori = {
		fire_only_once = yes
		days_remove = 70
		available = { has_country_flag = zga_razreshit_nathional_conflicts }
		remove_effect = { country_event = galicia.8 }
		ai_will_do = {
			base = 100		
		}
	}
	zga_problems_rojdaemosti = {
		fire_only_once = yes
		days_remove = 70
		available = { has_country_flag = zga_reshenie_problems_naseleniya }
		remove_effect = {
		set_country_flag = zga_problems_rojdaemosti
		add_stability = -0.03
		add_political_power = -40
		ai_will_do = {
			base = 100		
		}
		}
	}
	zga_zanyatsya_demography = {
		fire_only_once = yes
		days_remove = 70
		available = { has_country_flag = zga_problems_rojdaemosti }
		remove_effect = { country_event = galicia.7 }
		ai_will_do = {
			base = 100		
		}
	}
}

zga_ukazi_genriha = {
	zga_propoganda_jizni_genriha = {
		cost = 60
		available = { has_political_power > 60 }
		days_re_enable = mtth:zga_ukazi_genriha_cost
		days_remove = 49
		modifier = {
			tag = ZGA
			neutrality_drift  = 0.01
			stability_weekly = 0.01
		}
		ai_will_do = {
			factor = 0
		}
	}
	zga_provesti_ucheniya = {
		cost = 60
		available = { has_political_power > 60 }
		days_re_enable = mtth:zga_ukazi_genriha_cost
		days_remove = 49
		modifier = {
			tag = ZGA
			command_power_gain = 0.5
			war_support_weekly = 0.001
			army_defence_factor = 0.02
		}
		ai_will_do = {
			factor = 0
		}
	}
	zga_vkladi_v_economicy = {
		cost = 60
		available = { has_political_power > 60 }
		days_re_enable = mtth:zga_ukazi_genriha_cost
		days_remove = 49
		modifier = {
			tag = ZGA
			production_speed_buildings_factor = 0.05
			production_factory_efficiency_gain_factor = 0.05
			line_change_production_efficiency_factor = 0.05
		}
		ai_will_do = {
			factor = 0
		}
	}
	zga_obratitsya_k_nasel = {
		cost = 60
		available = { has_political_power > 60 }
		visible = { has_completed_focus = zga_zakonoproekti_genriha }
		days_re_enable = mtth:zga_ukazi_genriha_cost
		days_remove = 100
		modifier = {
			tag = ZGA
			army_attack_factor = 0.05
			army_defence_factor = 0.05
			political_power_factor = 0.1
			monthly_population = 0.3
			consumer_goods_factor = -0.05 
		}
		ai_will_do = {
			factor = 0
		}
	}
}



zga_nacionalizacia = { # 88 188 780 85 781 95 93 
	zga_nac_88 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 88
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			88 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_88_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_188 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 188
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			188 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_188_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_780 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 780
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			780 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_780_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_85 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 85
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			85 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_85_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_781 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 781
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			781 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_781_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_95 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 95
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			95 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_95_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_93 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			controls_state = 93
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			93 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_93_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	#######         97 92
	zga_nac_97 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			has_completed_focus = zga_nacionalizacia_rutenii
			controls_state = 97
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			97 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_97_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
	zga_nac_92 = {
		cost = 50
		visible = { has_completed_focus = zga_neskolko_nacii }
		available = {
			has_completed_focus = zga_nacionalizacia_rutenii
			controls_state = 92
			has_war = no
			has_political_power > 50
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			92 = {
				add_core_of = ZGA
			}
			add_stability = -0.01
			set_country_flag = zga_nationalizat_92_flag
		}
		ai_will_do = {
			base = 100		
		}
	}
}


zga_deportation_ger = {
	zga_deportation_776 = {
		cost = 25
		fire_only_once = yes
		available = {
			controls_state = 776
			has_war = no
			has_political_power > 25
		}
		remove_effect = {
			776 = {
				add_manpower = -41467
			}
			add_stability = 0.02
			add_war_support = 0.03
		}
	}
	zga_deportation_98 = {
		cost = 25
		fire_only_once = yes
		available = {
			controls_state = 98
			has_war = no
			has_political_power > 25
		}
		remove_effect = {
			98 = {
				add_manpower = -612237
			}
			add_stability = 0.02
			add_war_support = 0.03
		}
	}
	zga_deportation_87 = {
		cost = 25
		fire_only_once = yes
		available = {
			controls_state = 87
			has_war = no
			has_political_power > 25
		}
		remove_effect = {
			87 = {
				add_manpower = -50167
			}
			add_stability = 0.02
			add_war_support = 0.03
		}
	}
	zga_deportation_10 = {
		cost = 25
		fire_only_once = yes
		available = {
			controls_state = 10
			has_war = no
			has_political_power > 25
		}
		remove_effect = {
			10 = {
				add_manpower = -47074
			}
			add_stability = 0.02
			add_war_support = 0.03
		}
	}
	zga_deportation_90 = {
		cost = 25
		fire_only_once = yes
		available = {
			controls_state = 90
			has_war = no
			has_political_power > 25
		}
		remove_effect = {
			90 = {
				add_manpower = -85956
			}
			add_stability = 0.02
			add_war_support = 0.03
		}
	}
	zga_deportation_72 = {
		cost = 25
		fire_only_once = yes
		available = {
			controls_state = 72
			has_war = no
			has_political_power > 25
		}
		remove_effect = {
			72 = {
				add_manpower = -67894
			}
			add_stability = 0.02
			add_war_support = 0.03
		}
	}

	##########DOP
	zga_deportation_85 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 85
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			85 = {
				add_manpower = -49875
			}
			add_stability = 0.02
		}
	}
	zga_deportation_5 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 5
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			5 = {
				add_manpower = -35679
			}
			add_stability = 0.02
		}
	}
	zga_deportation_780 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 780
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			780 = {
				add_manpower = -67888
			}
			add_stability = 0.02
		}
	}
	zga_deportation_199 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 199
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			199 = {
				add_manpower = -49877
			}
			add_stability = 0.02
		}
	}
	zga_deportation_11 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 11
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			11 = {
				add_manpower = -23456
			}
			add_stability = 0.02
		}
	}
	zga_deportation_189 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 189
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			189 = {
				add_manpower = -35667
			}
			add_stability = 0.02
		}
	}
	zga_deportation_190 = {
		cost = 40
		fire_only_once = yes
		allowed = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 190
			has_war = no
			has_political_power > 40
		}
		remove_effect = {
			190 = {
				add_manpower = -79846
			}
			add_stability = 0.02
		}
	}
}


zga_nacionalizacia_pol = {
	zga_pol_nac_95 = {
		cost = 75
		available = {
			controls_state = 95
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			95 = {
				add_core_of = ZGA
				add_manpower = -15974
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_96 = {
		cost = 75
		available = {
			controls_state = 96
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			96 = {
				add_core_of = ZGA
				add_manpower = -60012
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_194 = {
		cost = 75
		available = {
			controls_state = 194
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			194 = {
				add_core_of = ZGA
				add_manpower = -18777
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_201 = {
		cost = 75
		available = {
			controls_state = 201
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			201 = {
				add_core_of = ZGA
				add_manpower = -48655
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_97 = {
		cost = 75
		available = {
			controls_state = 97
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			97 = {
				add_core_of = ZGA
				add_manpower = -15686
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_92 = {
		cost = 75
		available = {
			controls_state = 92
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			92 = {
				add_core_of = ZGA
				add_manpower = -39543
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_93 = {
		cost = 75
		available = {
			controls_state = 93
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			93 = {
				add_core_of = ZGA
				add_manpower = -70412
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_94 = {
		cost = 75
		available = {
			controls_state = 94
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			94 = {
				add_core_of = ZGA
				add_manpower = -10065
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_241 = {
		cost = 75
		available = {
			controls_state = 241
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			241 = {
				add_core_of = ZGA
				add_manpower = -12474
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_207 = {
		cost = 75
		available = {
			controls_state = 207
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			207 = {
				add_core_of = ZGA
				add_manpower = -26784
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_204 = {
		cost = 75
		available = {
			controls_state = 204
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			204 = {
				add_core_of = ZGA
				add_manpower = -61234
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_224 = {
		cost = 75
		available = {
			controls_state = 224
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			224 = {
				add_core_of = ZGA
				add_manpower = -20033
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_188 = {
		cost = 75
		available = {
			controls_state = 188
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			188 = {
				add_core_of = ZGA
				add_manpower = -56788
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_11 = {
		cost = 75
		available = {
			controls_state = 11
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			11 = {
				add_core_of = ZGA
				add_manpower = -12365
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_85 = {
		cost = 75
		available = {
			controls_state = 85
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			85 = {
				add_core_of = ZGA
				add_manpower = -74677
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_5 = {
		cost = 75
		available = {
			controls_state = 5
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			5 = {
				add_core_of = ZGA
				add_manpower = -14788
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_780 = {
		cost = 75
		available = {
			controls_state = 780
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			780 = {
				add_core_of = ZGA
				add_manpower = -34677
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_189 = {
		cost = 75
		available = {
			controls_state = 189
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			189 = {
				add_core_of = ZGA
				add_manpower = -13957
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_190 = {
		cost = 75
		available = {
			controls_state = 190
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			190 = {
				add_core_of = ZGA
				add_manpower = -67689
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_88 = {
		cost = 75
		available = {
			controls_state = 88
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			88 = {
				add_core_of = ZGA
				add_manpower = -24155
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_206 = {
		cost = 75
		available = {
			controls_state = 206
			has_war = no
			has_political_power > 75
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			206 = {
				add_core_of = ZGA
				add_manpower = -56554
			}
		}
		ai_will_do = { base = 100 }
	}
	########## zga_organ_deportacii
	zga_pol_nac_91 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 91
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			91 = {
				add_core_of = ZGA
				add_manpower = -65766
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_89 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 89
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			89 = {
				add_core_of = ZGA
				add_manpower = -23767
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_199 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 199
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			199 = {
				add_core_of = ZGA
				add_manpower = -54678
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_198 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 198
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			198 = {
				add_core_of = ZGA
				add_manpower = -76844
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_202 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 202
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			202 = {
				add_core_of = ZGA
				add_manpower = -2768
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_193 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 193
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			193 = {
				add_core_of = ZGA
				add_manpower = -14688
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_220 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 220
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			220 = {
				add_core_of = ZGA
				add_manpower = -43997
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_225 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 225
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			225 = {
				add_core_of = ZGA
				add_manpower = -87666
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_259 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 259
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			259 = {
				add_core_of = ZGA
				add_manpower = -45670
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_203 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 203
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			203 = {
				add_core_of = ZGA
				add_manpower = -38744
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_80 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 80
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			80 = {
				add_core_of = ZGA
				add_manpower = -24155
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_73 = {
		cost = 150
		visible = { has_country_flag = zga_organ_deportacii }
		available = {
			controls_state = 73
			has_war = no
			has_political_power > 150
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			73 = {
				add_core_of = ZGA
				add_manpower = -98432
			}
		}
		ai_will_do = { base = 100 }
	}

	################## zga_integraciya_rusin
	zga_pol_nac_91a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 91
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			91 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_89a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 89
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			89 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_199a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 199
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			199 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_198a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 198
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			198 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_202a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 202
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			202 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_193a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 193
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			193 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_220a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 220
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			220 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_225a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 225
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			225 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_259a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 259
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			259 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_203a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 203
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			203 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_80a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 80
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			80 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
	zga_pol_nac_73a = {
		cost = 70
		visible = { has_country_flag = zga_integraciya_rusin }
		available = {
			controls_state = 73
			has_war = no
			has_political_power > 70
		}
		fire_only_once = yes
		days_remove  = 100
		remove_effect = {
			73 = {
				add_core_of = ZGA
			}
		}
		ai_will_do = { base = 100 }
	}
}
zga_operacii = {
	zga_operacia_bartiya = {
		cost = 100
		available = {
			has_political_power > 100
			has_completed_focus = zga_t_o_v_bartii
			has_stability > 0.05
		}
		ai_will_do = { base = 100 }
		fire_only_once = yes
		days_remove  = 30
		remove_effect = {
			ZGA = {
				transfer_state = 188
			}
			add_stability = -0.05
		}
	}
	zga_operacia_zap_polesie = {
		cost = 100
		available = {
			has_political_power > 100
			has_completed_focus = zga_t_o_v_polesie
			has_stability > 0.05
		}
		ai_will_do = { base = 100 }
		fire_only_once = yes
		days_remove  = 30
		remove_effect = {
			ZGA = {
				transfer_state = 97
			}
			add_stability = -0.05
		}
	}
}
zga_voini_bismarka = {
	zga_upgrade_voini_bismarka1 = {
		fire_only_once = yes
		ai_will_do = { base = 100 }
		cost = 250
		days_remove = 45
		available = {
			has_political_power > 250
			has_idea = zga_voini_bismarka_1
		}
		targeted_modifier = {
			tag = ZGA
			production_factory_max_efficiency_factor = -0.3
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = zga_voini_bismarka_1
				add_idea = zga_voini_bismarka_2
			}
		}
	}
	zga_upgrade_voini_bismarka2 = {
		fire_only_once = yes
		ai_will_do = { base = 100 }
		cost = 100
		days_remove = 60
		available = {
			has_political_power > 100
			has_idea = zga_voini_bismarka_2
		}
		targeted_modifier = {
			tag = ZGA
			production_factory_max_efficiency_factor = -0.3
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = zga_voini_bismarka_2
				add_idea = zga_voini_bismarka_3
			}
		}
	}
	zga_upgrade_voini_bismarka3 = {
		fire_only_once = yes
		ai_will_do = { base = 100 }
		cost = 100
		days_remove = 100
		available = {
			has_political_power > 100
			has_idea = zga_voini_bismarka_3
		}
		targeted_modifier = {
			tag = ZGA
			production_factory_max_efficiency_factor = -0.3
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = zga_voini_bismarka_3
				add_idea = zga_voini_bismarka_4
			}
		}
	}
	zga_upgrade_voini_bismarka4 = {
		fire_only_once = yes
		ai_will_do = { base = 100 }
		cost = 200
		days_remove = 30
		available = {
			has_political_power > 200
			has_idea = zga_voini_bismarka_4
		}
		targeted_modifier = {
			tag = ZGA
			production_factory_max_efficiency_factor = -0.3
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = zga_voini_bismarka_4
				add_idea = zga_voini_bismarka_5
			}
		}
	}
	zga_upgrade_voini_bismarka5 = {
		fire_only_once = yes
		ai_will_do = { base = 100 }
		cost = 300
		available = {
			has_political_power > 300
			has_idea = zga_voini_bismarka_5
		}
		complete_effect = {
			swap_ideas = {
				remove_idea = zga_voini_bismarka_5
				add_idea = zga_voini_bismarka_6
			}
		}
	}
}


zga_imperia_bismarka = {
	zga_rim_ugroza = {
		fire_only_once = yes
		cost = 200
		visible = {
			has_completed_focus = zga_podchin_rim
		}
		available = {
			has_political_power > 200
		}
		remove_effect = {
			create_wargoal = {
				target = ZRI
				type = annex_everything
			}
		}
	}
	zga_slav_ugroza = {
		fire_only_once = yes
		cost = 200
		visible = {
			has_completed_focus = zga_podchin_rim
		}
		available = {
			has_political_power > 200
		}
		remove_effect = {
			create_wargoal = {
				target = ZSL
				type = annex_everything
			}
		}
	}
	

	zga_prot_ZKY = { # Ливляндия 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZBA
			}
			NOT = {
				country_exists = ZKY
			}
		}
		available = {
			has_political_power > 150
			controls_state = 189
			controls_state = 190
			controls_state = 11
		}
		complete_effect = {
			ZKY = {
				set_state_owner = 189
				set_state_owner = 190
				set_state_owner = 11
				set_cosmetic_tag = ZBA_ven
			}
			set_autonomy = {
				target = ZKY
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZKY = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZBA_venedia
					picture = "gfx/leaders/ZGA/ZBA_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_peredacha_ZKY = { # передача Ливляндии территоррий из славии
		fire_only_once = yes
		cost = 50
		visible = {
			ZKY = {
				is_puppet_of = ZGA
			}
		}
		available = {
			has_political_power > 50
			ZKY = {
				is_puppet_of = ZGA
			}
			controls_state = 12
			controls_state = 13
			controls_state = 191
		}
		complete_effect = {
			ZKY = {
				set_state_owner = 12
				set_state_owner = 13
				set_state_owner = 191
			}
			hidden_effect = {
				12 = { add_core_of = ZKY }
				13 = { add_core_of = ZKY }
				191 = { add_core_of = ZKY }
			}
		}
	}

	zga_prot_XAU = { # Норика 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = XAU
			}
		}
		available = {
			has_political_power > 150
			controls_state = 764
			controls_state = 152
			controls_state = 4
		}
		complete_effect = {
			XAU = {
				set_state_owner = 764
				set_state_owner = 152
				set_state_owner = 4
				set_cosmetic_tag = XAU_ven
			}
			set_autonomy = {
				target = XAU
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			XAU = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = XAU_venedia
					picture = "gfx/leaders/ZGA/XAU_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_prot_ZWI = { # Реция 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZWI
			}
		}
		available = {
			has_political_power > 150
			controls_state = 53
			controls_state = 52
			controls_state = 153
			controls_state = 151
			controls_state = 3
		}
		complete_effect = {
			ZWI = {
				set_state_owner = 53
				set_state_owner = 52
				set_state_owner = 153
				set_state_owner = 151
				set_state_owner = 3
				set_cosmetic_tag = ZWI_ven
			}
			set_autonomy = {
				target = ZWI
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZWI = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZWI_venedia
					picture = "gfx/leaders/ZGA/ZWI_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_prot_ZAU = { # Алемания 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZAU
			}
		}
		available = {
			has_political_power > 150
			controls_state = 50
			controls_state = 54
			controls_state = 55
			controls_state = 775
			controls_state = 42
			controls_state = 57
		}
		complete_effect = {
			ZAU = {
				set_state_owner = 50
				set_state_owner = 54
				set_state_owner = 55
				set_state_owner = 775
				set_state_owner = 42
				set_state_owner = 57
				set_cosmetic_tag = ZAU_ven
			}
			set_autonomy = {
				target = ZAU
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZAU = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZAU_venedia
					picture = "gfx/leaders/ZGA/ZAU_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_prot_ZDU = { # Словения 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZDU
			}
		}
		available = {
			has_political_power > 150
			controls_state = 771
			controls_state = 155
			controls_state = 43
			controls_state = 45
		}
		complete_effect = {
			ZDU = {
				set_state_owner = 771
				set_state_owner = 155
				set_state_owner = 43
				set_state_owner = 45
				set_cosmetic_tag = ZDU_ven
			}
			set_autonomy = {
				target = ZDU
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZDU = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZDU_venedia
					picture = "gfx/leaders/ZGA/ZDU_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_prot_TRA = { # Венгрия 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = TRA
			}
		}
		available = {
			has_political_power > 150
			controls_state = 73
			controls_state = 664
			controls_state = 154
			controls_state = 83
			controls_state = 82
			controls_state = 76
			controls_state = 84
			controls_state = 769
		}
		complete_effect = {
			TRA = {
				set_state_owner = 73
				set_state_owner = 664
				set_state_owner = 154
				set_state_owner = 83
				set_state_owner = 82
				set_state_owner = 76
				set_state_owner = 84
				set_state_owner = 769
				set_cosmetic_tag = TRA_ven
			}
			set_autonomy = {
				target = TRA
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			TRA = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = TRA_venedia
					picture = "gfx/leaders/ZGA/TRA_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
			hidden_effect = {
				73 = { add_core_of = TRA }
				664 = { add_core_of = TRA }
				154 = { add_core_of = TRA }
				83 = { add_core_of = TRA }
				82 = { add_core_of = TRA }
				76 = { add_core_of = TRA }
				84 = { add_core_of = TRA }
				769 = { add_core_of = TRA }
			}
		}
	}

	zga_prot_ZRU = { # Рутения 
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZRU
			}
		}
		available = {
			has_political_power > 150
			controls_state = 93
			controls_state = 91
			controls_state = 89
			controls_state = 199
		}
		complete_effect = {
			ZRU = {
				set_state_owner = 93
				set_state_owner = 91
				set_state_owner = 89
				set_state_owner = 199
				set_cosmetic_tag = ZRU_ven
			}
			set_autonomy = {
				target = ZRU
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZRU = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZRU_venedia
					picture = "gfx/leaders/ZGA/ZRU_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_prot_ZPV = { # Славия из КТН (ZPV)
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZPV
			}
		}
		available = {
			has_political_power > 150
			controls_state = 95
			controls_state = 96
			controls_state = 194
			controls_state = 206
			controls_state = 207
			controls_state = 201
			controls_state = 94
			controls_state = 241
			controls_state = 204
			controls_state = 224
		}
		complete_effect = {
			ZPV = {
				set_state_owner = 95
				set_state_owner = 96
				set_state_owner = 194
				set_state_owner = 206
				set_state_owner = 207
				set_state_owner = 201
				set_state_owner = 94
				set_state_owner = 241
				set_state_owner = 204
				set_state_owner = 224
				set_cosmetic_tag = ZSL_ven
			}
			set_autonomy = {
				target = ZPV
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZPV = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZSL_venedia
					picture = "gfx/leaders/ZGA/ZSL_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}
	zga_peredacha_ZPV = { # передача территорий славии
		fire_only_once = yes
		cost = 200
		visible = {
			ZPV = {
				is_puppet_of = ZGA
			}
		}
		available = {
			has_political_power > 200
			ZPV = {
				is_puppet_of = ZGA
			}
			controls_state = 210
			controls_state = 209
			controls_state = 208
			controls_state = 242
			controls_state = 205
			controls_state = 222
			controls_state = 223
			controls_state = 254
			controls_state = 219
			controls_state = 246
			controls_state = 263
			controls_state = 195
			controls_state = 111
			controls_state = 146
			controls_state = 215
			controls_state = 783
			controls_state = 216
			controls_state = 244
			controls_state = 264
			controls_state = 247
			controls_state = 248
			controls_state = 253
			controls_state = 243
			controls_state = 351
			controls_state = 214
			controls_state = 829
			controls_state = 828
			controls_state = 213
		}
		complete_effect = {
			ZPV = {
				set_state_owner = 210
				set_state_owner = 209
				set_state_owner = 208
				set_state_owner = 242
				set_state_owner = 205
				set_state_owner = 222
				set_state_owner = 223
				set_state_owner = 254
				set_state_owner = 219
				set_state_owner = 246
				set_state_owner = 263
				set_state_owner = 195
				set_state_owner = 111
				set_state_owner = 146
				set_state_owner = 215
				set_state_owner = 783
				set_state_owner = 216
				set_state_owner = 244
				set_state_owner = 264
				set_state_owner = 247
				set_state_owner = 248
				set_state_owner = 253
				set_state_owner = 243
				set_state_owner = 351
				set_state_owner = 214
				set_state_owner = 829
				set_state_owner = 828
				set_state_owner = 213

			}
			hidden_effect = {
				210 = { add_core_of = ZPV }
				209 = { add_core_of = ZPV }
				208 = { add_core_of = ZPV }
				242 = { add_core_of = ZPV }
				205 = { add_core_of = ZPV }
				222 = { add_core_of = ZPV }
				223 = { add_core_of = ZPV }
				254 = { add_core_of = ZPV }
				219 = { add_core_of = ZPV }
				246 = { add_core_of = ZPV }
				263 = { add_core_of = ZPV }
				195 = { add_core_of = ZPV }
				111 = { add_core_of = ZPV }
				146 = { add_core_of = ZPV }
				215 = { add_core_of = ZPV }
				783 = { add_core_of = ZPV }
				216 = { add_core_of = ZPV }
				244 = { add_core_of = ZPV }
				264 = { add_core_of = ZPV }
				247 = { add_core_of = ZPV }
				248 = { add_core_of = ZPV }
				253 = { add_core_of = ZPV }
				243 = { add_core_of = ZPV }
				351 = { add_core_of = ZPV }
				214 = { add_core_of = ZPV }
				829 = { add_core_of = ZPV }
				828 = { add_core_of = ZPV }
				213 = { add_core_of = ZPV }
			}
		}
	}

	zga_prot_ZRI = { # Рим
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = ZRI
			}
		}
		available = {
			has_political_power > 150
			controls_state = 736
			controls_state = 160
			controls_state = 39
			controls_state = 159
			controls_state = 161
			controls_state = 158
			controls_state = 735
			controls_state = 162
			controls_state = 762
			controls_state = 2
			controls_state = 157
			controls_state = 156
			controls_state = 117
			controls_state = 767
			controls_state = 115
			controls_state = 116
		}
		complete_effect = {
			ZRI = {
				set_state_owner = 736
				set_state_owner = 160
				set_state_owner = 39
				set_state_owner = 159
				set_state_owner = 161
				set_state_owner = 158
				set_state_owner = 735
				set_state_owner = 162
				set_state_owner = 762
				set_state_owner = 2
				set_state_owner = 157
				set_state_owner = 156
				set_state_owner = 117
				set_state_owner = 767
				set_state_owner = 115
				set_state_owner = 116
				set_cosmetic_tag = ZRI_ven
			}
			set_autonomy = {
				target = ZRI
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			ZRI = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = ZRI_venedia
					picture = "gfx/leaders/ZGA/ZRI_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
		}
	}

	zga_prot_XMZ = { # Иллирия
		fire_only_once = yes
		cost = 150
		visible = {
			NOT = {
				country_exists = XMZ
			}
			NOT = {
				country_exists = ZDI
			}
		}
		available = {
			has_political_power > 150
			controls_state = 102
			controls_state = 109
			controls_state = 104
			controls_state = 763
			controls_state = 107
			controls_state = 768
			controls_state = 108
			controls_state = 163
			controls_state = 103
			controls_state = 105
			controls_state = 44
			
		}
		complete_effect = {
			XMZ = {
				set_state_owner = 102
				set_state_owner = 109
				set_state_owner = 104
				set_state_owner = 763
				set_state_owner = 107
				set_state_owner = 768
				set_state_owner = 108
				set_state_owner = 163
				set_state_owner = 103
				set_state_owner = 105
				set_state_owner = 44
				set_cosmetic_tag = XYL_ELLYR_ven
			}
			set_autonomy = {
				target = XMZ
				autonomy_state = ar_protectorat_bismarka
				freedom_level = 0
			}
			XMZ = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				create_country_leader = {
					name = XYL_ELLYR_venedia
					picture = "gfx/leaders/ZGA/XYL_ELLYR_venedia.dds"
					ideology = patern_nazism
					expire = 2020.1.1
					traits = { }
				}
			}
			hidden_effect = {
				102 = { add_core_of = XMZ }
				109 = { add_core_of = XMZ }
				104 = { add_core_of = XMZ }
				763 = { add_core_of = XMZ }
				107 = { add_core_of = XMZ }
				768 = { add_core_of = XMZ }
				108 = { add_core_of = XMZ }
				163 = { add_core_of = XMZ }
				103 = { add_core_of = XMZ }
				105 = { add_core_of = XMZ }
				44 = { add_core_of = XMZ }
			}
		}
		
	}



	############ АЗИЯ

	zga_kill_asia_centr = {
		fire_only_once = yes
		cost = 500
		visible = { has_completed_focus = zga_ynich_star_zoni }
		available = {
			has_political_power > 500
		}
		complete_effect = {
			set_country_flag = zga_kill_asia_centr_flag
		}
	}
	zga_kil_ZCS = {
		fire_only_once = yes
		cost = 50
		visible = {
			has_country_flag = zga_kill_asia_centr_flag
		}
		available = { has_political_power > 50 }
		complete_effect = {
			declare_war_on = {
				target = ZCS
				type = puppet_wargoal_focus
			}
		}
	}
	zga_kil_ZMN = {
		fire_only_once = yes
		cost = 50
		visible = {
			has_country_flag = zga_kill_asia_centr_flag
		}
		available = { has_political_power > 50 }
		complete_effect = {
			declare_war_on = {
				target = ZMN
				type = puppet_wargoal_focus
			}
		}
	}
	zga_kil_ZJA = {
		fire_only_once = yes
		cost = 100
		visible = {
			has_country_flag = zga_kill_asia_centr_flag
		}
		available = { has_political_power > 100 }
		complete_effect = {
			declare_war_on = {
				target = ZJA
				type = puppet_wargoal_focus
			}
		}
	}
	zga_kil_ZHA = {
		fire_only_once = yes
		cost = 50
		visible = {
			has_country_flag = zga_kill_asia_centr_flag
		}
		available = { has_political_power > 50 }
		complete_effect = {
			declare_war_on = {
				target = ZHA
				type = puppet_wargoal_focus
			}
		}
	}
}







zga_nac_glob = {
	zga_nac_rus_dec = {
		on_map_mode = map_and_decisions_view
		state_target = yes
		targets = { 198 203 202 193 259 225 220 80 }
		cost = 100
		fire_only_once = yes
		days_remove = 25
		visible = { has_completed_focus = zga_vernut_rus }
		available = {
			has_political_power > 100
			controls_state = FROM
			has_completed_focus = zga_vernut_rus
		}
		remove_effect = {
			FROM  = {
				add_core_of = ZGA
			}
		}
	}
}




zga_formirovanie = {
	zga_form_kerona = {
		fire_only_once = yes
		visible = { has_completed_focus = zga_chetire_nacii }
		available = {
			ZGA = {
				controls_state = 780
				controls_state = 85
				controls_state = 781
				controls_state = 5
				controls_state = 11
				controls_state = 189
				controls_state = 190

				controls_state = 95
				controls_state = 96
				controls_state = 206
				controls_state = 207
				controls_state = 194
				controls_state = 201
				controls_state = 94
				controls_state = 241
				controls_state = 204
				controls_state = 224

				controls_state = 92
				controls_state = 93
				controls_state = 91
				controls_state = 89
				controls_state = 199
			}
		}
		complete_effect = {
			set_cosmetic_tag = ZGA_Korona_Chetyreh

			780 = { add_core_of = ZGA }
			85 = { add_core_of = ZGA }
			781 = { add_core_of = ZGA }
			5 = { add_core_of = ZGA }
			11 = { add_core_of = ZGA }
			189 = { add_core_of = ZGA }
			190 = { add_core_of = ZGA }
			95 = { add_core_of = ZGA }
			96 = { add_core_of = ZGA }
			206 = { add_core_of = ZGA }
			207 = { add_core_of = ZGA }
			194 = { add_core_of = ZGA }
			201 = { add_core_of = ZGA }
			94 = { add_core_of = ZGA }
			241 = { add_core_of = ZGA }
			204 = { add_core_of = ZGA }
			224 = { add_core_of = ZGA }
			92 = { add_core_of = ZGA }
			93 = { add_core_of = ZGA }
			91 = { add_core_of = ZGA }
			89 = { add_core_of = ZGA }
			199 = { add_core_of = ZGA }
		}
		
	}
	zga_form_nemec = {
		fire_only_once = yes
		visible = { has_completed_focus = zga_velik_nemec }
		available = {
			ZGA = {
				controls_state = 72
				controls_state = 70
				controls_state = 88

				controls_state = 780
				controls_state = 85
				controls_state = 781
				controls_state = 5
				controls_state = 63
				controls_state = 62

				controls_state = 92

				controls_state = 86
				controls_state = 66
				controls_state = 68
				controls_state = 64
				controls_state = 65
				controls_state = 61
				controls_state = 59
				controls_state = 60

				controls_state = 67
				controls_state = 74
				controls_state = 75
				controls_state = 9
				controls_state = 772
				controls_state = 69

				controls_state = 71
			}
		}
		complete_effect = {
			set_cosmetic_tag = ZGA_Great_Nemetsia
			add_ideas = zga_velikaya_nemeciya
			72 = { add_core_of = ZGA }
			70 = { add_core_of = ZGA }
			88 = { add_core_of = ZGA }
			780 = { add_core_of = ZGA }
			85 = { add_core_of = ZGA }
			781 = { add_core_of = ZGA }
			5 = { add_core_of = ZGA }
			63 = { add_core_of = ZGA }
			62 = { add_core_of = ZGA }
			92 = { add_core_of = ZGA }
			86 = { add_core_of = ZGA }
			66 = { add_core_of = ZGA }
			68 = { add_core_of = ZGA }
			64 = { add_core_of = ZGA }
			65 = { add_core_of = ZGA }
			61 = { add_core_of = ZGA }
			59 = { add_core_of = ZGA }
			60 = { add_core_of = ZGA }
			67 = { add_core_of = ZGA }
			74 = { add_core_of = ZGA }
			75 = { add_core_of = ZGA }
			9 = { add_core_of = ZGA }
			772 = { add_core_of = ZGA }
			69 = { add_core_of = ZGA }
			71 = { add_core_of = ZGA }
		}
	}
}


zga_otrichenie_pris = {
	zga_glas_king = {
		cost = 200
		days_remove = 3
		fire_only_once = yes
		available = {
			has_country_flag = zga_ybiem_vald
			has_political_power > 200
		}
		complete_effect = {
			set_country_flag = dec_zga_glas_king
		}
	}
	zga_vnedr_v_zad = {
		cost = 100
		days_remove = 30
		fire_only_once = yes
		available = {
			has_country_flag = dec_zga_glas_king
			has_political_power > 100
		}
		complete_effect = {
			set_country_flag = dec_zga_vnedr_v_zad
		}
	}
	zga_oper_ybistv = {
		cost = 300
		days_remove = 70
		fire_only_once = yes
		available = {
			has_country_flag = dec_zga_vnedr_v_zad
			has_political_power > 300
		}
		complete_effect = {
			set_country_flag = dec_zga_oper_ybistv
		}
	}
	zga_poglashenie = {
		cost = 50
		days_remove = 10
		fire_only_once = yes
		available = {
			has_country_flag = dec_zga_oper_ybistv
			has_political_power > 50
		}
		complete_effect = {
			annex_country = {
				target = ZBO
			}
		}
	}
}