#Gay Priesthood decisions



#Bottom Text
# I'm going to kill the one who wrote this code. (c) RuSKaz

GAY_candidate_mechanic_category = {
	GAY_Pavlov_side = { #Pavlov's Decisions here
		visible = {
			has_country_flag = GAY_candidate_mechanic
			NOT = {
				has_country_flag = GAY_izvekov_selected
				has_country_flag = GAY_antipin_selected	
				has_country_flag = GAY_pavlov_selected	
			}
		}

		available = {
			has_country_flag = GAY_candidate_mechanic
		}
		
		ai_will_do = {
			factor = 10
		}
		

		complete_effect = {
			set_country_flag = GAY_pavlov_selected
			custom_effect_tooltip = GAY_pavlov_route_tt			

		}
	}
	GAY_hold_sermon = {
		icon = GFX_decision_holy_icons
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_pavlov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_pavlov_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 10
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_hold_sermon"
			set_country_flag = GAY_candidate_action_in_progress
				set_temp_variable = { GAY_pavlov_power_temp = 5 }
				GAY_add_pavlov_power = yes
				hidden_effect = { GAY_ideologies_var = yes }
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_hold_sermon"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}
    GAY_our_values = {
		icon = GFX_decision_generic_shake_hands
	
		allowed = {
			tag = GAY
		}
		
		available = {
			has_country_flag = GAY_candidate_action_in_progress
			has_country_flag = GAY_pavlov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_pavlov_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 20
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_our_values"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_pavlov_power_temp = 7 }
			GAY_add_pavlov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_our_values"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}	
    GAY_provide_charity = {
		icon = GFX_decision_generic_political_discourse
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_pavlov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_pavlov_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 50
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_provide_charity"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_pavlov_power_temp = 10 }
			GAY_add_pavlov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_provide_charity"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}	
    GAY_stamp_down = {
		icon = GFX_decision_generic_political_discourse
	
		allowed = {
			tag = GAY
		}
		
		available = {
			AND = { NOT = {
				has_country_flag = GAY_candidate_action_in_progress
			}
			has_country_flag = GAY_pavlov_selected
			}
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_pavlov_selected
			check_variable = { GAY_pavlov_power > 70 }
			
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 75
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_provide_charity"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_pavlov_power_temp = 15 }
			GAY_add_pavlov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_provide_charity"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}		
	GAY_antipin_side = { #antipin's Decisions here
		visible = {
			has_country_flag = GAY_candidate_mechanic
			NOT = {
				has_country_flag = GAY_izvekov_selected
				has_country_flag = GAY_antipin_selected	
				has_country_flag = GAY_pavlov_selected
			}
		}

		available = {
			has_country_flag = GAY_candidate_mechanic
		}
		
		ai_will_do = {
			factor = 10
		}

		complete_effect = {
        	set_country_flag = GAY_antipin_selected
			custom_effect_tooltip = GAY_antipin_route_tt				 
		}
	}
	GAY_rouse_the_faithful = {
		icon = GFX_decision_generic_civil_support
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = {	has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_antipin_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_antipin_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 10
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_rouse_the_faithful"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_antipin_power_temp = 5 }
			GAY_add_antipin_power = yes
			hidden_effect = { GAY_ideologies_var = yes }
			custom_effect_tooltip = GAY_raising_militia_tt
												
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_rouse_the_faithful"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}
    GAY_righteous_cause = {
		icon = GFX_decision_generic_military_parade
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_antipin_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_antipin_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 20
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_righteous_cause"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_antipin_power_temp = 7 }
			GAY_add_antipin_power = yes
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_righteous_cause"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}	
    GAY_hold_excerise = {
		icon = GFX_decision_generic_prepare_civil_war
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_antipin_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_antipin_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 50
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_hold_excerise"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_antipin_power_temp = 10 }
			GAY_add_antipin_power = yes
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_hold_excerise"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}
    GAY_sway_the_military = {
		icon = GFX_decision_generic_military_parade
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_antipin_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_antipin_selected
			check_variable = { GAY_antipin_power > 40 }
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 75
		days_remove = 5
		fire_only_once = no
		days_re_enable = 40
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_sway_the_military"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_antipin_power_temp = 15 }
			GAY_add_antipin_power = yes
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_sway_the_military"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}		
	GAY_izvekov_side = { #Izvekov's Decisions here
		visible = {
			has_country_flag = GAY_candidate_mechanic
			NOT = {
				has_country_flag = GAY_izvekov_selected
				has_country_flag = GAY_antipin_selected
				has_country_flag = GAY_pavlov_selected
			}
		}

		available = {
			has_country_flag = GAY_candidate_mechanic			
		}
		
		ai_will_do = {
			factor = 10
		}

		complete_effect = {
			set_country_flag = GAY_izvekov_selected
			custom_effect_tooltip = GAY_izvekov_route_tt
		}
	}
	GAY_hold_a_speech = {
		icon = GFX_decision_generic_propaganda
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_izvekov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_izvekov_selected			
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 10
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_hold_a_speech"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_izvekov_power_temp = 5 }
			GAY_add_izvekov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }			
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_hold_a_speech"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}
    GAY_rally_the_people = {
		icon = GFX_decision_generic_political_action
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_izvekov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_izvekov_selected		
		}
		
		ai_will_do = {
			factor = 5
		}
	
		cost = 20
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_rally_the_people"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_izvekov_power_temp = 7 }
			GAY_add_izvekov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_rally_the_people"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}	
    GAY_spread_ideals_of_democracy = {
		icon = GFX_decision_generic_voting
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_izvekov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_izvekov_selected
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 50
		days_remove = 5
		fire_only_once = no
		days_re_enable = 21
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_spread_ideals_of_democracy"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_izvekov_power_temp = 10 }
			GAY_add_izvekov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_spread_ideals_of_democracy"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}
    GAY_denounce_the_army = {
		icon = GFX_decision_generic_voting
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			has_country_flag = GAY_izvekov_selected
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			has_country_flag = GAY_izvekov_selected	
			check_variable = { GAY_izvekov_power > 40 }
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 75
		days_remove = 5
		fire_only_once = no
		days_re_enable = 40
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_denounce_the_army"
			set_country_flag = GAY_candidate_action_in_progress
			set_temp_variable = { GAY_izvekov_power_temp = 15 }
			GAY_add_izvekov_power = yes
			hidden_effect = { GAY_ideologies_var = yes }
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_denounce_the_army"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}
    GAY_centralize_power = {
		icon = GFX_decision_generic_political_discourse
	
		allowed = {
			tag = GAY
		}
		
		available = {
			NOT = { has_country_flag = GAY_candidate_action_in_progress }
			OR = { 
				has_country_flag = GAY_pavlov_selected
				has_country_flag = GAY_izvekov_selected 
				has_country_flag = GAY_antipin_selected
			}
		}
		
		visible = {
			has_country_flag = GAY_candidate_mechanic
			OR = {
				has_country_flag = GAY_pavlov_selected
				has_country_flag = GAY_izvekov_selected
				has_country_flag = GAY_antipin_selected
			}
			if = { 
				limit = { has_country_flag = GAY_pavlov_selected }
				check_variable = { GAY_pavlov_power > 90 }
			}    
			else_if = { 
				limit = { has_country_flag = GAY_izvekov_selected }
				check_variable = { GAY_izvekov_power > 90 }
			}  	
			else_if = {
				limit = { has_country_flag = GAY_antipin_selected }
				check_variable = { GAY_antipin_power > 90 }
			}
		}
		
		ai_will_do = {
			factor = 5
		}
		
		cost = 75
		days_remove = 5
		fire_only_once = no
		days_re_enable = 50
		
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_centralize_power"
			set_country_flag = GAY_candidate_action_in_progress
			if = { 
				limit = { has_country_flag = GAY_pavlov_selected }
				set_temp_variable = { GAY_pavlov_power_temp = 15 }
				GAY_add_pavlov_power = yes
			}    
			else_if = { 
				limit = { has_country_flag = GAY_izvekov_selected }
				set_temp_variable = { GAY_izvekov_power_temp = 15 }
				GAY_add_izvekov_power = yes
			}  	
			else_if = {
				limit = { has_country_flag = GAY_antipin_selected }
				set_temp_variable = { GAY_antipin_power_temp = 15 }
				GAY_add_antipin_power = yes
			}
			hidden_effect = { GAY_ideologies_var = yes }				
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision remove GAY_centralize_power"
			clr_country_flag = GAY_candidate_action_in_progress
		}
	}			
	GAY_influence_increase_pavlov = {

		icon = GFX_decision_generic_propaganda

		allowed = {
			tag = GAY
		}

		visible = {
			has_country_flag = GAY_candidate_mechanic
			NOT = { has_country_flag = GAY_pavlov_selected }			
		}

		activation = {
			has_country_flag = GAY_candidate_mechanic
			NOT = { has_country_flag = GAY_pavlov_selected }
		}

		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = GAY_candidate_mechanic
					has_country_flag = GAY_pavlov_selected
				}
			}
		}

		days_mission_timeout = 20

		is_good = no

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Timeout GAY_influence_increase_pavlov"
			activate_mission = GAY_influence_increase_pavlov
			custom_effect_tooltip = GAY_influence_increase_tt
			hidden_effect = {
				random_list = {
					33 = {
                       set_temp_variable = { GAY_pavlov_power_temp = 5 }
					}
					34 = {
						set_temp_variable = { GAY_pavlov_power_temp = 10 }
					}
					33 = {
						set_temp_variable = { GAY_pavlov_power_temp = 15 }
					}
				}
				GAY_add_pavlov_power = yes
				hidden_effect = { GAY_ideologies_var = yes }
			}
		}
	}
	GAY_influence_increase_antipin = {

		icon = GFX_decision_generic_propaganda

		allowed = {
			tag = GAY
		}

		visible = {
			has_country_flag = GAY_candidate_mechanic
			NOT = { has_country_flag = GAY_antipin_selected }			
		}

		activation = {
			has_country_flag = GAY_candidate_mechanic
			NOT = { has_country_flag = GAY_antipin_selected }
		}

		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = GAY_candidate_mechanic
					has_country_flag = GAY_antipin_selected
				}
			}
		}

		days_mission_timeout = 20

		is_good = no

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Timeout GAY_influence_increase_antipin"
			activate_mission = GAY_influence_increase_antipin
			custom_effect_tooltip = GAY_influence_increase_tt
			hidden_effect = {
				random_list = {
					33 = {
                       set_temp_variable = { GAY_antipin_power_temp = 5 }
					}
					34 = {
						set_temp_variable = { GAY_antipin_power_temp = 10 }
					}
					33 = {
						set_temp_variable = { GAY_antipin_power_temp = 15 }
					}
				}
				GAY_add_antipin_power = yes				
				hidden_effect = { GAY_ideologies_var = yes }			
			}
		}
	}
	GAY_influence_increase_izvekov = {

		icon = GFX_decision_generic_propaganda

		allowed = {
			tag = GAY
		}

		visible = {
			has_country_flag = GAY_candidate_mechanic
			NOT = { has_country_flag = GAY_izvekov_selected }			
		}

		activation = {
			has_country_flag = GAY_candidate_mechanic
			NOT = { has_country_flag = GAY_izvekov_selected }
		}

		available = {
			hidden_trigger = {
				NOT = {
					has_country_flag = GAY_candidate_mechanic
					has_country_flag = GAY_izvekov_selected
				}
			}
		}

		days_mission_timeout = 20

		is_good = no

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision Timeout GAY_influence_increase_izvekov"
			activate_mission = GAY_influence_increase_izvekov
			custom_effect_tooltip = GAY_influence_increase_tt
			hidden_effect = {
				random_list = {
					33 = {
                       set_temp_variable = { GAY_izvekov_power_temp = 5 }
					}
					34 = {
						set_temp_variable = { GAY_izvekov_power_temp = 10 }
					}
					33 = {
						set_temp_variable = { GAY_izvekov_power_temp = 15 }
					}
				}
				GAY_add_izvekov_power = yes				
				hidden_effect = { GAY_ideologies_var = yes }				
			}
		}							
    }
}

GAY_purges_category = {
	GAY_purge_kostroma = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		
		available = {
			has_country_flag = GAY_purges_started
		}

		ai_will_do = { base = 50 }
		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 856
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}


		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_kostroma"
			856 = {
				add_manpower = -10321
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_kostroma remove"
		}
	}
	GAY_purge_viatka = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes


		highlight_states = {
			highlight_state_targets = {
				state = 400
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_viatka"
			400 = {
				add_manpower = -40121
			}
			752 = {
				add_manpower = -7520
			}
			399 = {
				add_manpower = -3991
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_viatka remove"
		}
	}
	GAY_purge_samara = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 850
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_samara"
			850 = {
				add_manpower = -85012
			}
			251 = {
				add_manpower = -21021
			}
			755 = {
				add_manpower = -7510
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_samara remove"
		}
	}
	GAY_purge_perm = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 753
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_perm"
			753 = {
				add_manpower = -1933
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_perm remove"
		}
	}
	GAY_purge_tyumen = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 572
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_tyumen"
			572 = {
				add_manpower = -137101
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_tyumen remove"
		}
	}
	GAY_purge_omsk = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 571
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_omsk"
			571 = {
				add_manpower = -666
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_omsk remove"
		}
	}

	GAY_purge_yugra = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 756
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_yugra"
			756 = {
				add_manpower = -7102
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_yugra remove"
		}
	}
	GAY_purge_gayny = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 866
			}
		}

		on_map_mode = map_and_decisions_view

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_gayny"
			866 = {
				add_manpower = -991
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_gayny remove"
		}
	}
	#Might add some decisions to purge regions from siberia and far east, later on
	
	GAY_purge_intelectuals = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_intelectuals"
			add_manpower = -5111
			TNO_worsen_admin_efficiency_med = yes
			TNO_improve_academic_base_high = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_intelectuals remove"
		}
	}
	GAY_purge_atheists = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_atheists"
			add_manpower = -5111
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_atheists remove"
		}
	}
	GAY_purge_heretics = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_heretics"
			add_manpower = -9121
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_heretics remove"
		}
	}
	GAY_purge_heathens = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_heathens"
			add_manpower = -30128
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_heathens remove"
		}
	}
	GAY_purge_sinners = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_sinners"
			add_manpower = -50121
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_sinners remove"
		}
	}
	GAY_purge_unloyal = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_unloyal"
			add_manpower = -9381
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_unloyal remove"
		}
	}
	GAY_purge_skeptics = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_skeptics"
			add_manpower = -9211
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_skeptics remove"
		}
	}
	GAY_purge_agnostics = {
		icon = GFX_decision_generic_use_force
		visible = {
			has_country_flag = GAY_purges_started
		}
		ai_will_do = { base = 50 }
		available = {
			has_country_flag = GAY_purges_started
		}

		cost = 25
		days_remove = 50
		fire_only_once = yes

		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_agnostics"
			add_manpower = -10112
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision GAY_purge_agnostics remove"
		}
	}
}

GAY_debug_category = {

	GAY_load_starting_tree = {

		fire_only_once = no

		complete_effect = {
			load_focus_tree = GAY_oosg_warlord
		}
	}

	GAY_load_smuta_tree = {

		fire_only_once = no

		complete_effect = {
           load_focus_tree = GAY_warlord_war
		}
	}

	GAY_load_pav_regional = {

		fire_only_once = no

		complete_effect = {
           load_focus_tree = GAY_pavlov_regional
		   set_cosmetic_tag = GAY_regional_unifier_despotism
		}
	}

	GAY_load_izv_regional = {

		fire_only_once = no

		complete_effect = {
           load_focus_tree = GAY_izvekov_regional
		   set_cosmetic_tag = GAY_regional_unifier_conservatism
		}
	}

	GAY_load_ant_regional = {

		fire_only_once = no

		complete_effect = {
			load_focus_tree = GAY_antipin_regional
			set_cosmetic_tag = GAY_regional_unifier_ultranationalism
		}
	}

	GAY_load_pav_superregional = {

		fire_only_once = no

		complete_effect = {
           load_focus_tree = GAY_Pavlov_superregional
		   set_cosmetic_tag = GAY_RUS_despotism
		}
	}

	GAY_load_izv_superregional = {

		fire_only_once = no

		complete_effect = {
           load_focus_tree = GAY_Izvekov_superregional
		   set_cosmetic_tag = GAY_RUS_conservatism
		}
	}

	GAY_load_ant_superregional ={

		fire_only_once = no
		complete_effect = {
			load_focus_tree = GAY_Antipin_superregional
			set_cosmetic_tag = GAY_RUS_ultranationalism
		}
	}

	GAY_load_candidate = {
		fire_only_once = no
		complete_effect = {
			GAY_initialize_candidate = yes
		}
	}
}