PER_Iranian_elections_decision_category = {
	PER_endorse_a_candidate = {
		fire_only_once = yes
		visible = { has_completed_focus = PER_principles_of_vilayet_faqih }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_endorse_a_candidate"
			country_event = iranian_focus.36
		}

		cost = 100
		ai_will_do = { base = 0 }
	}

	PER_tv_ads_for_principalists = {
		days_re_enable = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_tv_ads_for_principalists"
			country_event = PER_election_events.22
		}

		cost = 130
		ai_will_do = { base = 0 }
	}

	PER_tv_ads_for_reformists = {
		days_re_enable = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_tv_ads_for_reformists"
			country_event = PER_election_events.23
		}

		cost = 130
		ai_will_do = { base = 0 }
	}

	PER_street_ads_for_principalists = {
		days_re_enable = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_street_ads_for_principalists"
			country_event = PER_election_events.24
		}

		cost = 100
		ai_will_do = { base = 0 }
	}

	PER_street_ads_for_reformists = {
		days_re_enable = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_street_ads_for_reformists"
			country_event = PER_election_events.25
		}

		cost = 100
		ai_will_do = { base = 0 }
	}

	PER_internet_ads_for_principalists = {
		days_re_enable = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_internet_ads_for_principalists"
			country_event = PER_election_events.26
		}

		cost = 50
		ai_will_do = { base = 0 }
	}

	PER_internet_ads_for_reformists = {
		days_re_enable = 30

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_internet_ads_for_reformists"
			country_event = PER_election_events.27
		}

		cost = 50
		ai_will_do = { base = 0 }
	}
}
PER_Iranian_president_info = {
	#Principalists
	PER_the_new_phase_of_economic_plans = {
		days_remove = 90
		icon = GFX_decision_generic_factory
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_check_on_peoples_situation
						has_decision = PER_send_diplomats_to_the_east
						has_decision = PER_increase_government_supervision
						has_decision = PER_showcase_our_efforts
						has_decision = PER_develop_the_military_industry
					}
				}
			}
		}

		visible = { emerging_hardline_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.50
			production_speed_buildings_factor = 0.10
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_the_new_phase_of_economic_plans"
			add_offsite_building = { type = industrial_complex level = 3 }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_the_new_phase_of_economic_plans"
			add_offsite_building = { type = industrial_complex level = -3 }
		}

		ai_will_do = { base = 1 }
	}

	PER_check_on_peoples_situation = {
		days_remove = 90
		icon = GFX_decision_generic_political_discourse
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_the_new_phase_of_economic_plans
						has_decision = PER_send_diplomats_to_the_east
						has_decision = PER_increase_government_supervision
						has_decision = PER_showcase_our_efforts
						has_decision = PER_develop_the_military_industry
					}
				}
			}
		}

		visible = { emerging_hardline_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			population_tax_income_multiplier_modifier = -0.05
			production_speed_infrastructure_factor = 0.20
			production_speed_internet_station_factor = 0.15
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_check_on_peoples_situation"
			set_temp_variable = { party_index = 9 }
			set_temp_variable = { party_popularity_increase = 0.02 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 1 }
	}

	PER_send_diplomats_to_the_east = {
		days_remove = 90
		icon = GFX_decision_generic_form_nation
		days_re_enable = 250

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_the_new_phase_of_economic_plans
						has_decision = PER_check_on_peoples_situation
						has_decision = PER_increase_government_supervision
						has_decision = PER_showcase_our_efforts
						has_decision = PER_develop_the_military_industry
					}
				}
			}
		}

		visible = { emerging_hardline_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.25
			opinion_gain_monthly_factor = 0.10
			foreign_influence_defense_modifier = 0.05
			army_attack_factor = 0.05
			army_morale = 5.00
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_send_diplomats_to_the_east"
			SOV = {
				add_opinion_modifier = {
					target = PER
					modifier = medium_increase
				}
			}
			newline = yes
			CHI = {
				add_opinion_modifier = {
					target = PER
					modifier = medium_increase
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	PER_increase_government_supervision = {
		days_remove = 90
		icon = GFX_decision_recruit_operative
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_the_new_phase_of_economic_plans
						has_decision = PER_check_on_peoples_situation
						has_decision = PER_send_diplomats_to_the_east
						has_decision = PER_showcase_our_efforts
						has_decision = PER_develop_the_military_industry
					}
				}
			}
		}

		visible = { emerging_hardline_shiite_are_in_power = yes }

		modifier = {
			police_cost_multiplier_modifier = 0.10
			stability_weekly = 0.001
			foreign_influence_defense_modifier = 0.20
			foreign_influence_home_continent_modifier = 0.15
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_increase_government_supervision"
			set_temp_variable = { percent_change = 3 }
			change_domestic_influence_percentage = yes
		}

		ai_will_do = { base = 1 }
	}

	PER_showcase_our_efforts = {
		days_remove = 90
		icon = GFX_decision_eng_propaganda_campaigns
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_the_new_phase_of_economic_plans
						has_decision = PER_check_on_peoples_situation
						has_decision = PER_send_diplomats_to_the_east
						has_decision = PER_increase_government_supervision
						has_decision = PER_develop_the_military_industry
					}
				}
			}
		}

		visible = { emerging_hardline_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			research_speed_factor = 0.15
			communism_drift = 0.2
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_showcase_our_efforts"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.10
			}
		}

		ai_will_do = { base = 1 }
	}

	# Principalists
	PER_develop_the_military_industry = {
		fixed_random_seed = no
		days_remove = 90
		icon = GFX_decision_generic_construction
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_the_new_phase_of_economic_plans
						has_decision = PER_check_on_peoples_situation
						has_decision = PER_send_diplomats_to_the_east
						has_decision = PER_increase_government_supervision
						has_decision = PER_showcase_our_efforts
					}
				}
			}
		}

		visible = { emerging_hardline_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 1.5
			personnel_cost_multiplier_modifier = 0.10
			industrial_capacity_factory = 0.05
			industrial_capacity_dockyard = 0.05
			production_speed_arms_factory_factor = 0.05
			production_speed_dockyard_factor = 0.05
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_develop_the_military_industry"
			random_list = {
				50 = { one_random_arms_factory = yes }
				25 = { one_random_dockyard = yes }
				25 = {
					# Nothing
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	#Reformists
	PER_new_phase_of_economic_plans_reformists = {
		fixed_random_seed = no
		days_remove = 90
		icon = GFX_decision_generic_factory
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_support_the_reform_plans_in_the_parliament
						has_decision = PER_send_diplomats_to_the_west
						has_decision = PER_start_the_new_phase_of_liberalization
						has_decision = PER_develop_the_economy
						has_decision = PER_factory_conversation
					}
				}
			}
		}

		visible = { emerging_moderate_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			production_factory_max_efficiency_factor = 0.05
			production_factory_efficiency_gain_factor = 0.05
			receiving_investment_cost_modifier = -0.10
			investment_cost_modifier = -0.05
			tax_gain_multiplier_modifier = 0.05
			offices_productivity = 0.1
			production_factory_start_efficiency_factor = 0.10
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_new_phase_of_economic_plans_reformists"
			random_list = {
				50 = { one_random_industrial_complex = yes }
				25 = { one_office_construction = yes }
				25 = {
					# Nothing
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	PER_support_the_reform_plans_in_the_parliament = {
		days_remove = 90
		icon = GFX_decision_zsr_parlament
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_new_phase_of_economic_plans_reformists
						has_decision = PER_send_diplomats_to_the_west
						has_decision = PER_start_the_new_phase_of_liberalization
						has_decision = PER_develop_the_economy
						has_decision = PER_factory_conversation
					}
				}
			}
		}

		visible = { emerging_moderate_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			police_cost_multiplier_modifier = -0.15
			productivity_growth_modifier = 1
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_support_the_reform_plans_in_the_parliament"
			add_political_power = 150
			newline = yes
			set_temp_variable = { party_index = 8 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 1 }
	}

	PER_send_diplomats_to_the_west = {
		days_remove = 90
		icon = GFX_decision_generic_form_nation
		days_re_enable = 250

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_new_phase_of_economic_plans_reformists
						has_decision = PER_support_the_reform_plans_in_the_parliament
						has_decision = PER_start_the_new_phase_of_liberalization
						has_decision = PER_develop_the_economy
						has_decision = PER_factory_conversation
					}
				}
			}
		}

		visible = { emerging_moderate_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 1
			opinion_gain_monthly_factor = 0.10
			trade_opinion_factor = 0.75
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_send_diplomats_to_the_west"
			USA = {
				add_opinion_modifier = {
					target = PER
					modifier = small_increase
				}
			}
			if = {
				limit = { USA = { has_opinion_modifier = beirut_bombing } }
				USA = {
					remove_opinion_modifier = {
						target = PER
						modifier = beirut_bombing
					}
				}
			}
			else_if = {
				limit = { USA = { has_opinion_modifier = iran_hostage_crisis } }
				USA = {
					remove_opinion_modifier = {
						target = PER
						modifier = iran_hostage_crisis
					}
				}
			}
			else_if = {
				limit = {
					PER = { has_completed_focus = PER_the_grand_bargain }
					USA = { has_opinion_modifier = no_diplomatic_ties }
				}
				USA = {
					remove_opinion_modifier = {
						target = PER
						modifier = no_diplomatic_ties
					}
				}
				PER = {
					remove_opinion_modifier = {
						target = USA
						modifier = no_diplomatic_ties
					}
				}
			}
			GER = {
				add_opinion_modifier = {
					target = PER
					modifier = medium_increase
				}
			}
			FRA = {
				add_opinion_modifier = {
					target = PER
					modifier = medium_increase
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	PER_start_the_new_phase_of_liberalization = {
		days_remove = 90
		icon = GFX_decision_generic_independence
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_new_phase_of_economic_plans_reformists
						has_decision = PER_support_the_reform_plans_in_the_parliament
						has_decision = PER_send_diplomats_to_the_west
						has_decision = PER_develop_the_economy
						has_decision = PER_factory_conversation
					}
				}
			}
		}

		visible = { emerging_moderate_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			police_cost_multiplier_modifier = -0.10
			research_speed_factor = 0.10
			education_cost_multiplier_modifier = -0.10
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_start_the_new_phase_of_liberalization"
			add_stability = 0.005
			set_temp_variable = { party_index = 8 }
			set_temp_variable = { party_popularity_increase = 0.01 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 1 }
	}

	PER_develop_the_economy = {
		days_remove = 90
		icon = GFX_decision_generic_factory
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_new_phase_of_economic_plans_reformists
						has_decision = PER_support_the_reform_plans_in_the_parliament
						has_decision = PER_send_diplomats_to_the_west
						has_decision = PER_start_the_new_phase_of_liberalization
						has_decision = PER_factory_conversation
					}
				}
			}
		}

		visible = { emerging_moderate_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			tax_gain_multiplier_modifier = 0.05
			population_tax_income_multiplier_modifier = 0.1
			econ_cycle_upg_cost_multiplier_modifier = -0.15
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_develop_the_economy"
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = 0.008 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 1 }
	}

	PER_factory_conversation = {
		days_remove = 90
		icon = GFX_decision_generic_construction
		days_re_enable = 180

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_new_phase_of_economic_plans_reformists
						has_decision = PER_support_the_reform_plans_in_the_parliament
						has_decision = PER_send_diplomats_to_the_west
						has_decision = PER_start_the_new_phase_of_liberalization
						has_decision = PER_develop_the_economy
					}
				}
			}
		}

		visible = { emerging_moderate_shiite_are_in_power = yes }

		modifier = {
			political_power_cost = 0.5
			production_speed_industrial_complex_factor = 0.35
			conversion_cost_mil_to_civ_factor = -0.20
		}

		ai_will_do = { base = 1 }
	}
}
PER_iraq_war_compensation = {
	PER_half_billion_weekly = {
		available = {
			IRQ = {
				influence_higher_20 = yes # Iran should have more than 20% influence.
				custom_trigger_tooltip = {
					tooltip = PER_half_billion_weekly_conditions_TT
					check_variable = { treasury_rate > -2.00 } # Should not lose more than 2 billions a week.
				}
			}
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = PER_one_billion_weekly
						has_decision = PER_two_billion_weekly
					}
				}
			}
		}

		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes
		cost = 75

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_half_billion_weekly"
			custom_effect_tooltip = PER_half_billion_weekly_TT
			set_country_flag = PER_ask_iraq_for_half_billion_weekly
			set_country_flag = PER_war_compensation_invisible
			IRQ = { country_event = iranian_events.13 }
			set_temp_variable = { percent_change = -3 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 0 }
	}

	PER_one_billion_weekly = {
		available = {
			IRQ = {
				influence_higher_30 = yes # Iran should have more than 30% influence.
				custom_trigger_tooltip = {
					tooltip = PER_one_billion_weekly_conditions_TT
					check_variable = { treasury_rate > 0.00 } # Should have positive weekly income.
				}
			}
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = PER_half_billion_weekly
						has_decision = PER_two_billion_weekly
					}
				}
			}
		}

		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes
		cost = 100

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_one_billion_weekly"
			custom_effect_tooltip = PER_one_billion_weekly_TT
			set_country_flag = PER_ask_iraq_for_one_billion_weekly
			set_country_flag = PER_war_compensation_invisible
			IRQ = { country_event = iranian_events.13 }
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 0 }
	}

	PER_two_billion_weekly = {
		available = {
			IRQ = {
				influence_higher_40 = yes # Iran should have more than 40% influence.
				custom_trigger_tooltip = {
					tooltip = PER_two_billion_weekly_conditions_TT
					check_variable = { treasury_rate > 1.00 } # Should make more than 1 billion a week.
				}
			}
			hidden_trigger = {
				NOT = {
					OR = {
						has_decision = PER_half_billion_weekly
						has_decision = PER_one_billion_weekly
					}
				}
			}
		}

		icon = GFX_decision_eng_trade_unions_demand
		fire_only_once = yes
		cost = 150

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_two_billion_weekly"
			custom_effect_tooltip = PER_two_billion_weekly_TT
			set_country_flag = PER_ask_iraq_for_two_billion_weekly
			set_country_flag = PER_war_compensation_invisible
			IRQ = { country_event = iranian_events.13 }
			set_temp_variable = { percent_change = -8 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 0 }
	}
}
PER_border_fortification = {
	PER_pakistan_border_decision = {
		days_remove = 50
		fire_only_once = yes

		available = {
			treasury_higher_than_2 = yes
			416 = { is_controlled_by = PAK }
			401 = { is_controlled_by = PER }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_pakistan_border_decision"
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_pakistan_border_decision"
			401 = {
				if = {
					limit = { is_controlled_by = PER }
					custom_effect_tooltip = PER_fortress_pak_border_TT
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 2070
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 10782
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 13082
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 4891
							instant_build = yes
						}
					}
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	PER_afghanistan_border_decision = {
		days_remove = 60
		fire_only_once = yes

		available = {
			treasury_higher_than_3 = yes
			OR = {
				AND = {
					415 = { is_controlled_by = AFG }
					409 = { is_controlled_by = AFG }
				}
				AND = {
					415 = { is_controlled_by = TAL }
					409 = { is_controlled_by = TAL }
				}
			}
			402 = { is_controlled_by = PER }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_afghanistan_border_decision"
			set_temp_variable = { treasury_change = -3 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_afghanistan_border_decision"
			401 = {
				if = {
					limit = { is_controlled_by = PER }
					custom_effect_tooltip = PER_fortress_afg_border_TT
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 12895
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 3979
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 12739
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 7990
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 10806
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 2000
							instant_build = yes
						}
					}
				}
			}
		}

		ai_will_do = { base = 0 }
	}

	PER_turkmenistan_border_decision = {
		days_remove = 60
		fire_only_once = yes

		available = {
			treasury_higher_than_2 = yes
			729 = { is_controlled_by = TRK }
			728 = { is_controlled_by = TRK }
			402 = { is_controlled_by = PER }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_turkmenistan_border_decision"
			set_temp_variable = { treasury_change = -2 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_turkmenistan_border_decision"
			402 = {
				if = {
					limit = { is_controlled_by = PER }
					custom_effect_tooltip = PER_fortress_trk_border_TT
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 10351
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 1521
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 5029
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 2000
							instant_build = yes
						}
					}
				}
			}
			403 = {
				if = {
					limit = { is_controlled_by = PER }
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 7602
							instant_build = yes
						}
					}
				}
			}
		}

		ai_will_do = { base = 0 }
	}
}
PER_resitance_axis = {
	PER_ask_hezbollah_to_start_a_border_war = {
		days_re_enable = 100
		cost = 20

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HEZ = { is_ally_with = PER }
			country_exists = ISR
			ISR = {
				NOT = {
					OR = {
						has_war_with = HEZ
						has_border_war_with = HEZ
						is_ally_with = PER
					}
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_ask_hezbollah_to_start_a_border_war"
			HEZ = { country_event = axis_of_resistance_events.4 }
		}

		ai_will_do = { base = 0 }
	}

	PER_invite_syria = {
		days_re_enable = 100
		cost = 25

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			SYR = {
				is_in_faction = no
				has_government = communism
				has_idea = shia
				NOT = { has_war_with = PER }
			}
		}

		available = {
			SYR = {
				has_idea = shia
				OR = {
					emerging_autocracy_are_in_power = yes
					nationalist_military_junta_are_in_power = yes
				}
				influence_higher_20 = yes
				has_opinion = { target = PER value > 25 }
			}
			has_opinion = { target = SYR value > 9 }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_syria"
			set_country_flag = invited_syria
			SYR = { country_event = axis_of_resistance_events.1 }
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
				SYR = { check_variable = { treasury_rate > 0 } }
			}
		}
	}

	PER_shia_influence_in_iraqi_government = {
		days_re_enable = 500
		cost = 300

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			IRQ = {
				is_in_faction = no
				NOT = {
					OR = {
						has_war_with = PER
						has_idea = shia
					}
				}
			}
		}

		available = {
			IRQ = { influence_higher_30 = yes }
			has_opinion = { target = IRQ value > 9 }
			IRQ = {
				has_opinion = { target = PER value > 9 }
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_shia_influence_in_iraqi_government"
			IRQ = {
				swap_ideas = {
					remove_idea = sunni
					add_idea = shia
				}
			}
			remove_opinion_modifier = {
				target = IRQ
				modifier = oppresses_shiites
			}
		}

		ai_will_do = { base = 0 }
	}

	PER_invite_iraq = {
		days_re_enable = 100
		cost = 25

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			IRQ = {
				is_in_faction = no
				NOT = { has_war_with = PER }
			}
		}

		available = {
			has_idea = shia
			has_government = communism
			has_opinion = { target = IRQ value > 9 }
			IRQ = {
				has_opinion = { target = PER value > 9 }
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_iraq"
			set_country_flag = invited_iraq
			IRQ = { country_event = axis_of_resistance_events.1 }
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
			}
		}
	}

	PER_invite_houthis = {
		days_re_enable = 100
		cost = 25

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HOU = {
				is_in_faction = no
				has_government = communism
				has_idea = shia
				NOT = { has_war_with = PER }
			}
		}

		available = {
			has_opinion = { target = HOU value > 9 }
			HOU = {
				has_opinion = { target = PER value > 9 }
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_houthis"
			set_country_flag = invited_houthis
			HOU = { country_event = axis_of_resistance_events.1 }
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
			}
		}
	}

	PER_invite_hezbollah = {
		days_re_enable = 100
		cost = 25

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HEZ = {
				is_in_faction = no
				NOT = { has_war_with = PER }
			}
		}

		available = {
			has_government = communism
			has_idea = shia
			has_opinion = { target = HEZ value > 9 }
			HEZ = {
				has_opinion = { target = PER value > 9 }
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_hezbollah"
			set_country_flag = invited_hezbollah
			HEZ = { country_event = axis_of_resistance_events.1 }
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
			}
		}
	}

	PER_invite_azerbaijan = {
		days_re_enable = 100
		cost = 25

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			AZE = {
				is_in_faction = no
				has_government = communism
				has_idea = shia
				NOT = { has_war_with = PER }
			}
		}

		available = {
			has_opinion = { target = AZE value > 9 }
			AZE = {
				has_opinion = { target = PER value > 9 }
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_azerbaijan"
			set_country_flag = invited_azerbaijan
			AZE = { country_event = axis_of_resistance_events.1 }
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
			}
		}
	}

	PER_invite_turkey = {
		days_re_enable = 100
		cost = 25

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			TUR = {
				is_in_faction = no
				has_government = communism
				has_idea = shia
				NOT = { has_war_with = PER }
			}
		}

		available = {
			has_opinion = { target = TUR value > 9 }
			TUR = {
				has_opinion = { target = PER value > 9 }
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_turkey"
			set_country_flag = invited_turkey
			TUR = { country_event = axis_of_resistance_events.1 }
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
			}
		}
	}

	PER_give_arms_to_hezbollah = {
		days_remove = 10
		days_re_enable = 50
		custom_cost_trigger = { check_variable = { treasury > 1.4 } }
		custom_cost_text = cost_1_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HEZ = { is_in_faction_with = PER }
		}

		available = { NOT = { has_country_flag = PER_financial_aid_to_hezbollah_d } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_hezbollah"
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
			set_country_flag = PER_give_arms_to_hezbollah_d
		}

		modifier = { civilian_factory_use = 1 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_hezbollah"
			clr_country_flag = PER_give_arms_to_hezbollah_d
			HEZ = {
				country_event = message_from_iran.1
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 500
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = cnc_equipment_2 #C3
					amount = 200
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
					amount = 30
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Anti_Air_1 #Stinger
					amount = 30
					producer = USA
				}
				add_equipment_to_stockpile = {
					type = artillery_1 #D-30
					amount = 10
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = util_vehicle_1 #Khawar
					amount = 10
					producer = PER
				}
				hidden_effect = {
					add_equipment_to_stockpile = {
						type = infantry_weapons_type
						amount = -500
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = cnc_equipment_2 #C3
						amount = -200
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
						amount = -30
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Anti_Air_1 #Stinger
						amount = -30
						producer = USA
					}
					add_equipment_to_stockpile = {
						type = artillery_1 #D-30
						amount = -10
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = util_vehicle_1 #Khawar
						amount = -10
						producer = PER
					}
				}
			}
			set_temp_variable = { percent_change = 0.2 }
			set_temp_variable = { influence_target = HEZ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 30 }
	}

	PER_financial_aid_to_hezbollah = {
		days_remove = 5
		days_re_enable = 25
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HEZ = { is_in_faction_with = PER }
		}

		available = { NOT = { has_country_flag = PER_give_arms_to_hezbollah_d } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_hezbollah"
			set_country_flag = PER_financial_aid_to_hezbollah_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_hezbollah"
			clr_country_flag = PER_financial_aid_to_hezbollah_d
			HEZ = {
				country_event = message_from_iran.2
				set_temp_variable = { treasury_change = 2.5 }
				modify_treasury_effect = yes
				hidden_effect = {
					set_temp_variable = { treasury_change = -2.5 }
					modify_treasury_effect = yes
				}
			}
			set_temp_variable = { percent_change = 0.5 }
			set_temp_variable = { influence_target = HEZ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 20 }
	}

	PER_give_arms_to_iraq = {
		days_remove = 10
		days_re_enable = 50
		custom_cost_trigger = { check_variable = { treasury > 1.4 } }
		custom_cost_text = cost_1_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			IRQ = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_financial_aid_to_iraq_d
					has_country_flag = PER_iraq_military_industry_increase_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_iraq"
			set_country_flag = PER_give_arms_to_iraq_d
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
		}

		modifier = { civilian_factory_use = 1 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_iraq"
			clr_country_flag = PER_give_arms_to_iraq_d
			IRQ = {
				country_event = message_from_iran.1
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 500
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = cnc_equipment_2 #C3
					amount = 200
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
					amount = 30
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Anti_Air_1 #Stinger
					amount = 30
					producer = USA
				}
				add_equipment_to_stockpile = {
					type = artillery_1 #D-30
					amount = 10
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = util_vehicle_1 #Khawar
					amount = 10
					producer = PER
				}
				hidden_effect = {
					add_equipment_to_stockpile = {
						type = infantry_weapons_type
						amount = -500
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = cnc_equipment_2 #C3
						amount = -200
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
						amount = -30
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Anti_Air_1 #Stinger
						amount = -30
						producer = USA
					}
					add_equipment_to_stockpile = {
						type = artillery_1 #D-30
						amount = -10
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = util_vehicle_1 #Khawar
						amount = -10
						producer = PER
					}
				}
				set_temp_variable = { treasury_change = 1.0 }
				modify_treasury_effect = yes
			}
			set_temp_variable = { percent_change = 0.2 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 5 }
	}

	PER_financial_aid_to_iraq = {
		days_remove = 5
		days_re_enable = 25
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			IRQ = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_give_arms_to_iraq_d
					has_country_flag = PER_iraq_military_industry_increase_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_iraq"
			set_country_flag = PER_financial_aid_to_iraq_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_iraq"
			clr_country_flag = PER_financial_aid_to_iraq_d
			IRQ = {
				country_event = message_from_iran.2
				set_temp_variable = { treasury_change = 2.5 }
				modify_treasury_effect = yes
				hidden_effect = {
					set_temp_variable = { treasury_change = -2.5 }
					modify_treasury_effect = yes
				}
			}
			set_temp_variable = { percent_change = 0.7 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 5 }
	}

	PER_iraq_military_industry_increase = {
		days_remove = 30
		days_re_enable = 150
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			IRQ = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_give_arms_to_iraq_d
					has_country_flag = PER_financial_aid_to_iraq_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_iraq_military_industry_increase"
			set_country_flag = PER_iraq_military_industry_increase_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		modifier = { civilian_factory_use = 5 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_iraq_military_industry_increase"
			clr_country_flag = PER_iraq_military_industry_increase_d
			IRQ = {
				country_event = message_from_iran.3
				add_offsite_building = { type = arms_factory level = 1 }
				hidden_effect = {
					add_offsite_building = { type = arms_factory level = -1 }
				}
			}
			set_temp_variable = { percent_change = 1.2 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 2 }
	}

	PER_give_arms_to_syria = {
		days_remove = 10
		days_re_enable = 50
		custom_cost_trigger = { check_variable = { treasury > 1.4 } }
		custom_cost_text = cost_1_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			SYR = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_financial_aid_to_syria_d
					has_country_flag = PER_syria_military_industry_increase_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_syria"
			set_country_flag = PER_give_arms_to_syria_d
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
		}

		modifier = { civilian_factory_use = 1 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_syria"
			clr_country_flag = PER_give_arms_to_syria_d
			SYR = {
				country_event = message_from_iran.1
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 500
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = cnc_equipment_2 #C3
					amount = 200
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
					amount = 30
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Anti_Air_1 #Stinger
					amount = 30
					producer = USA
				}
				add_equipment_to_stockpile = {
					type = artillery_1 #D-30
					amount = 10
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = util_vehicle_1 #Khawar
					amount = 10
					producer = PER
				}
				hidden_effect = {
					add_equipment_to_stockpile = {
						type = infantry_weapons_type
						amount = -500
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = cnc_equipment_2 #C3
						amount = -200
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
						amount = -30
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Anti_Air_1 #Stinger
						amount = -30
						producer = USA
					}
					add_equipment_to_stockpile = {
						type = artillery_1 #D-30
						amount = -10
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = util_vehicle_1 #Khawar
						amount = -10
						producer = PER
					}
				}
				set_temp_variable = { treasury_change = 1.0 }
				modify_treasury_effect = yes
			}
			set_temp_variable = { percent_change = 0.2 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 5 }
	}

	PER_financial_aid_to_syria = {
		days_remove = 5
		days_re_enable = 25
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			SYR = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_give_arms_to_syria_d
					has_country_flag = PER_syria_military_industry_increase_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_syria"
			set_country_flag = PER_financial_aid_to_syria_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_syria"
			clr_country_flag = PER_financial_aid_to_syria_d
			SYR = {
				country_event = message_from_iran.2
				set_temp_variable = { treasury_change = 2.5 }
				modify_treasury_effect = yes
				hidden_effect = {
					set_temp_variable = { treasury_change = -2.5 }
					modify_treasury_effect = yes
				}
			}
			set_temp_variable = { percent_change = 0.7 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 5 }
	}

	PER_syria_military_industry_increase = {
		days_remove = 30
		days_re_enable = 150
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			SYR = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_give_arms_to_syria_d
					has_country_flag = PER_financial_aid_to_syria_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_syria_military_industry_increase"
			set_country_flag = PER_syria_military_industry_increase_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		modifier = { civilian_factory_use = 5 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_syria_military_industry_increase"
			clr_country_flag = PER_syria_military_industry_increase_d
			SYR = {
				country_event = message_from_iran.3
				add_offsite_building = { type = arms_factory level = 1 }
				hidden_effect = {
					add_offsite_building = { type = arms_factory level = -1 }
				}
			}
			set_temp_variable = { percent_change = 1.2 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 2 }
	}

	PER_give_arms_to_houthis = {
		days_remove = 10
		days_re_enable = 50
		custom_cost_trigger = { check_variable = { treasury > 1.4 } }
		custom_cost_text = cost_1_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HOU = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_financial_aid_to_houthis_d
					has_country_flag = PER_houthis_military_industry_increase_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_houthis"
			set_country_flag = PER_give_arms_to_houthis_d
			set_temp_variable = { treasury_change = -1.5 }
			modify_treasury_effect = yes
		}

		modifier = { civilian_factory_use = 1 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_give_arms_to_houthis"
			clr_country_flag = PER_give_arms_to_houthis_d
			HOU = {
				country_event = message_from_iran.1
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 500
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = cnc_equipment_2 #C3
					amount = 200
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
					amount = 30
					producer = PER
				}
				add_equipment_to_stockpile = {
					type = Anti_Air_1 #Stinger
					amount = 30
					producer = USA
				}
				add_equipment_to_stockpile = {
					type = artillery_1 #D-30
					amount = 10
					producer = SOV
				}
				add_equipment_to_stockpile = {
					type = util_vehicle_1 #Khawar
					amount = 10
					producer = PER
				}
				hidden_effect = {
					add_equipment_to_stockpile = {
						type = infantry_weapons_type
						amount = -500
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = cnc_equipment_2 #C3
						amount = -200
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Heavy_Anti_tank_2 #Toophan 5/Towsan-1
						amount = -30
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Anti_Air_1 #Stinger
						amount = -30
						producer = USA
					}
					add_equipment_to_stockpile = {
						type = artillery_1 #D-30
						amount = -10
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = util_vehicle_1 #Khawar
						amount = -10
						producer = PER
					}
				}
				set_temp_variable = { treasury_change = 1.0 }
				modify_treasury_effect = yes
			}
			set_temp_variable = { percent_change = 0.2 }
			set_temp_variable = { influence_target = HOU }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 5 }
	}

	PER_financial_aid_to_houthis = {
		days_remove = 5
		days_re_enable = 25
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HOU = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_give_arms_to_houthis_d
					has_country_flag = PER_houthis_military_industry_increase_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_houthis"
			set_country_flag = PER_financial_aid_to_houthis_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_financial_aid_to_houthis"
			clr_country_flag = PER_financial_aid_to_houthis_d
			HOU = {
				country_event = message_from_iran.2
				set_temp_variable = { treasury_change = 2.5 }
				modify_treasury_effect = yes
				hidden_effect = {
					set_temp_variable = { treasury_change = -2.5 }
					modify_treasury_effect = yes
				}
			}
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { influence_target = HOU }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 5 }
	}

	PER_houthis_military_industry_increase = {
		days_remove = 30
		days_re_enable = 150
		custom_cost_trigger = { check_variable = { treasury > 2.4 } }
		custom_cost_text = cost_2_5

		visible = {
			has_completed_focus = PER_veins_of_the_revolution
			HOU = { is_in_faction_with = PER }
		}

		available = {
			NOT = {
				OR = {
					has_country_flag = PER_give_arms_to_houthis_d
					has_country_flag = PER_financial_aid_to_houthis_d
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_houthis_military_industry_increase"
			set_country_flag = PER_houthis_military_industry_increase_d
			set_temp_variable = { treasury_change = -2.5 }
			modify_treasury_effect = yes
		}

		modifier = { civilian_factory_use = 5 }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_houthis_military_industry_increase"
			clr_country_flag = PER_houthis_military_industry_increase_d
			HOU = {
				country_event = message_from_iran.3
				add_offsite_building = { type = arms_factory level = 1 }
				hidden_effect = {
					add_offsite_building = { type = arms_factory level = -1 }
				}
			}
			set_temp_variable = { percent_change = 1.2 }
			set_temp_variable = { influence_target = HOU }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 2 }
	}

	#Palestinian frontism
	PER_invite_hamas = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			has_country_flag = HAMAS_not_scoped_support
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_hamas"
			clr_country_flag = HAMAS_not_scoped_support
			custom_effect_tooltip = HAMAS_invite_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_kick_hamas = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			NOT = { has_country_flag = HAMAS_not_scoped_support }
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kick_hamas"
			set_country_flag = HAMAS_not_scoped_support
			custom_effect_tooltip = HAMAS_kick_tt
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 3
				threat > 0.04
				SYR = { has_war = yes }
			}
		}
	}

	PER_invite_PFLP = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			has_country_flag = PFLP_not_scoped_support
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_PFLP"
			clr_country_flag = PFLP_not_scoped_support
			custom_effect_tooltip = PFLP_invite_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_kick_PFLP = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			NOT = { has_country_flag = PFLP_not_scoped_support }
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kick_PFLP"
			set_country_flag = PFLP_not_scoped_support
			custom_effect_tooltip = PFLP_kick_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_invite_PRC = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			has_country_flag = PRC_not_scoped_support
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_PRC"
			clr_country_flag = PRC_not_scoped_support
			custom_effect_tooltip = PRC_invite_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_kick_PRC = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			NOT = { has_country_flag = PRC_not_scoped_support }
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kick_PRC"
			set_country_flag = PRC_not_scoped_support
			custom_effect_tooltip = PRC_kick_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_invite_PIJ = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			has_country_flag = PIJ_not_scoped_support
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_PIJ"
			clr_country_flag = PIJ_not_scoped_support
			custom_effect_tooltip = PIJ_invite_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_kick_PIJ = {
		days_re_enable = 100
		cost = 100

		visible = {
			has_completed_focus = PER_palestinian_frontism
			NOT = { has_country_flag = PIJ_not_scoped_support }
		}

		available = { has_completed_focus = PER_palestinian_frontism }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kick_PIJ"
			set_country_flag = PIJ_not_scoped_support
			custom_effect_tooltip = PIJ_kick_tt
		}

		ai_will_do = { base = 0 }
	}

	PER_overthrow_saudi = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		war_with_on_complete = QTF
		visible = { has_completed_focus = PER_topple_gulf_monarchies }

		available = {
			SAU = {
				influence_higher_60 = yes
				NOT = { is_subject_of = PER }
			}
			has_war_with = SAU
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_overthrow_saudi"
			custom_effect_tooltip = PER_qatif_uprising_TT
			set_temp_variable = { treasury_change = -60 }
			modify_treasury_effect = yes
			hidden_effect = {
				QTF = {
					add_ideas = lacks_international_recognition
					transfer_state = 174
					add_ideas = iranian_aid
					set_politics = {
						ruling_party = communism
						elections_allowed = no
					}
					set_political_party = {
						ideology = communism
						popularity = 100
					}
					set_temp_variable = { party_index = 9 }
					set_temp_variable = { party_popularity_increase = 1.00 }
					change_relative_party_popularity = yes
					add_equipment_to_stockpile = {
						type = APC_1
						amount = 300
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = cnc_equipment_1
						amount = 500
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = Heavy_Anti_tank_1
						amount = 200
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = infantry_weapons_1
						amount = 10000
						producer = PER
					}
					add_equipment_to_stockpile = {
						type = util_vehicle_1
						amount = 300
						producer = PER
					}
					load_oob = "QTF_uprising"
					division_template = {
						name = "IRGC Quds Unit"
						regiments = {
							Special_Forces = { x = 0 y = 0 }
							Special_Forces = { x = 0 y = 1 }
							Special_Forces = { x = 0 y = 2 }
							Special_Forces = { x = 0 y = 3 }
							Special_Forces = { x = 1 y = 0 }
							Special_Forces = { x = 1 y = 1 }
							Special_Forces = { x = 1 y = 2 }
							Special_Forces = { x = 1 y = 3 }
						}
						priority = 2
					}
					capital_scope = {
						create_unit = {
							division = "name = \"IRGC Quds Unit\" division_template = \"IRGC Quds Unit\" start_experience_factor = 1.0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
							owner = QTF
							count = 2
						}
					}
					175 = { add_core_of = QTF }
					176 = { add_core_of = QTF }
					173 = { add_core_of = QTF }
					933 = { add_core_of = QTF }
					932 = { add_core_of = QTF }
					177 = { add_core_of = QTF }
					178 = { add_core_of = QTF }
					remove_ideas = non_state_actor
				}
				set_temp_variable = { percent_change = 30.00 }
				set_temp_variable = { influence_target = QTF }
				change_influence_percentage = yes
				if = {
					limit = { PER = { is_faction_leader = yes } }
					PER = { add_to_faction = QTF }
				}
				set_temp_variable = { treasury_change = -20 }
				modify_treasury_effect = yes
				SAU = {
					declare_war_on = {
						target = QTF
						type = civil_war
					}
					set_province_controller = 12749
					set_province_controller = 3462
					set_province_controller = 7995
					set_province_controller = 9032
					set_province_controller = 5024
					set_province_controller = 3374
					set_province_controller = 3522
					set_province_controller = 4932
					set_province_controller = 9175
					set_province_controller = 14557
					set_province_controller = 12821
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_overthrow_uae = {
		icon = GFX_decision_generic_form_nation
		visible = { has_completed_focus = PER_topple_gulf_monarchies }
		fire_only_once = yes
		war_with_on_complete = UAE

		available = {
			425 = { is_owned_and_controlled_by = HRM }
			UAE = {
				influence_higher_60 = yes
				NOT = { is_subject_of = PER }
			}
			has_war_with = UAE
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_overthrow_uae"
			custom_effect_tooltip = PER_topple_UAE_TT
			hidden_effect = {
				425 = {
					add_core_of = HRM
					transfer_state_to = HRM
				}
				179 = { transfer_state_to = HRM }
				HRM = {
					declare_war_on = {
						target = UAE
						type = puppet_wargoal_focus
					}
					load_oob = HRM_uprising
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_overthrow_oman = {
		icon = GFX_decision_generic_form_nation
		visible = { has_completed_focus = PER_topple_gulf_monarchies }
		fire_only_once = yes
		war_with_on_complete = QIM

		available = {
			OMA = {
				influence_higher_60 = yes
				NOT = { is_subject_of = PER }
			}
			has_war_with = OMA
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_overthrow_oman"
			custom_effect_tooltip = PER_topple_oman_TT
			OMA = {
				hidden_effect = {
					create_dynamic_country = {
						original_tag = OMA
						set_country_flag = OMA_QIM
						copy_tag = OMA
						set_cosmetic_tag = OMA_AUTH
						set_variable = { dynamic_flag_variant = 2 }
						set_popularities = { communism = 100 }
						set_politics = {
							ruling_party = communism
							last_election = "1997.6.8"
							election_frequency = 48
							elections_allowed = no
						}
						start_politics_input = yes
						set_variable = { party_pop_array^9 = 1 } #Vilayat_e_Faqih -> Principalists
						### Ruling Party
						set_variable = { ruling_party = 9 }
						startup_politics = yes
					}
					1082 = { transfer_state_to = QIM }
					OMA = {
						declare_war_on = {
							target = QIM
							type = civil_war
						}
					}
					QIM = {
						create_country_leader = {
							name = "Saeed bin Khalfan Al-Muqbali"
							picture = "middleeast_009.dds"
							ideology = Vilayat_e_Faqih
							traits = {
								emerging_Vilayat_e_Faqih
							}
						}
						division_template = {
							name = "Quwat Milishiawiyah"
							priority = 0
							template_counter = 0
							regiments = {
								Militia_Bat = { x = 0 y = 0 }
								Militia_Bat = { x = 0 y = 1 }
								Militia_Bat = { x = 0 y = 2 }
								Militia_Bat = { x = 0 y = 3 }
							}
							support = {
								L_Recce_Comp = { x = 0 y = 0 }
							}
						}
						capital_scope = {
							create_unit = {
								division = "name = \"1st. Quwat Milishiawiyah\" division_template = \"Quwat Milishiawiyah\""
								count = 1
								prioritize_location = 2103
								owner = QIM
							}
							create_unit = {
								division = "name = \"2nd. Quwat Milishiawiyah\" division_template = \"Quwat Milishiawiyah\""
								count = 1
								prioritize_location = 2103
								owner = QIM
							}
							create_unit = {
								division = "name = \"3rd. Quwat Milishiawiyah\" division_template = \"Quwat Milishiawiyah\""
								count = 1
								prioritize_location = 2103
								owner = QIM
							}
							create_unit = {
								division = "name = \"4th. Quwat Milishiawiyah\" division_template = \"Quwat Milishiawiyah\""
								count = 1
								prioritize_location = 3477
								owner = QIM
							}
							create_unit = {
								division = "name = \"5th. Quwat Milishiawiyah\" division_template = \"Quwat Milishiawiyah\""
								count = 1
								prioritize_location = 3512
								owner = QIM
							}
							create_unit = {
								division = "name = \"6th. Quwat Milishiawiyah\" division_template = \"Quwat Milishiawiyah\""
								count = 1
								prioritize_location = 11402
								owner = QIM
							}
						}
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}
}
PER_domestic_politics = {
	PER_kurdish_promise_army = {
		activation = { always = no }

		available = {
			979 = { arms_factory > 0 }
			408 = { arms_factory > 1 }
			1139 = { arms_factory > 1 }
		}

		days_mission_timeout = 800
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_kurdish_promise_army"
			set_country_flag = PER_promise_achieved_army
			custom_effect_tooltip = PER_kurdish_army_TT
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kurdish_promise_army"
			add_stability = -0.10
		}
	}

	PER_kurdish_promise_economy = {
		activation = { always = no }

		available = {
			979 = { industrial_complex > 1 }
			408 = { industrial_complex > 0 }
			1139 = { industrial_complex > 0 }
		}

		days_mission_timeout = 800
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_kurdish_promise_economy"
			979 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
				}
			}
			408 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
				}
			}
			1139 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
				}
			}
			1039 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
				}
			}
			1138 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
				}
			}
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kurdish_promise_economy"
			add_stability = -0.10
		}
	}

	PER_rebellion_in_azerbaijan = {
		activation = { always = no }

		available = {
			controls_province = 1896
			controls_province = 4901
			controls_province = 7604
		}

		days_mission_timeout = 900
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_rebellion_in_azerbaijan"
			army_experience = 100
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = TUR }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = AZE }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			newline = yes
			annex_country = { target = SAZ }
			hidden_effect = { white_peace = TUR }
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_rebellion_in_azerbaijan"
			white_peace = SAZ
			white_peace = TUR
			newline = yes
			407 = { remove_core_of = PER }
			hidden_effect = {
				TUR = {
					country_event = {
						id = iranian_events.2282
						days = 5
					}
				}
				AZE = {
					country_event = {
						id = iranian_events.2282
						days = 5
					}
				}
			}
		}
	}

	PER_rebellion_in_balochistan = {
		activation = { always = no }
		available = { NOT = { country_exists = BLC } }
		days_mission_timeout = 150
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_rebellion_in_balochistan"
			army_experience = 100
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = SAU }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = PAK }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_rebellion_in_balochistan"
			white_peace = BLC
			newline = yes
			401 = { remove_core_of = PER }
		}
	}

	PER_rebellion_in_arabistan = {
		activation = { always = no }
		available = { NOT = { country_exists = ARA } }
		days_mission_timeout = 150
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_rebellion_in_arabistan"
			army_experience = 100
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = SAU }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_rebellion_in_arabistan"
			white_peace = ARA
			newline = yes
			401 = { remove_core_of = PER }
		}
	}

	PER_rebellion_in_kordestan = {
		activation = { always = no }
		available = { NOT = { country_exists = IKR } }
		days_mission_timeout = 150
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_rebellion_in_kordestan"
			army_experience = 100
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = USA }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { tag_index = ISR }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_rebellion_in_kordestan"
			white_peace = IKR
			newline = yes
			979 = { remove_core_of = PER }
			408 = { remove_core_of = PER }
			1139 = { remove_core_of = PER }
		}
	}

	PER_establish_hardliner_control = {
		fire_only_once = yes
		days_remove = 60
		available = { 90_percent_government_popularity = yes }
		visible = { has_completed_focus = PER_guided_by_faith }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_establish_hardliner_control"
			set_country_flag = PER_presidency_abolished
			set_country_flag = PER_majles_abolished
			custom_effect_tooltip = PER_abolish_president_and_majles_TT
			newline = yes
			add_stability = -0.15
			newline = yes
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.50
			}
			newline = yes
			country_event = iranian_focus.39
			hidden_effect = {
				PER_scripted_effect_update_principalists_popularity_variable = yes
				set_temp_variable = { rul_party_temp = 9 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				PER_scripted_effect_finish_election = yes
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_lift_the_fatwa = {
		fire_only_once = yes
		days_remove = 60
		visible = { has_country_flag = PER_no_nuclear }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_lift_the_fatwa"
			clr_country_flag = PER_no_nuclear
			custom_effect_tooltip = PER_lift_fatwa_TT
			newline = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_political_modifier }
			add_to_variable = { PER_nuclear_energy_generation_modifier = -0.10 tooltip = nuclear_energy_generation_modifier_tt }
			if = {
				limit = { country_exists = USA }
				USA = {
					set_country_flag = {
						flag = PER_iran_misbehaved
						days = 270
						value = 1
					}
					country_event = {
						id = nuclear_iran.27
						days = 1
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_the_national_flag = {
		cost = 100

		visible = {
			emerging_hardline_shiite_are_in_power = no
			emerging_moderate_shiite_are_in_power = no
			emerging_reactionaries_are_in_power = no
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_the_national_flag"
			country_event = iranian_focus.169
		}

		ai_will_do = { base = 10 }
	}

	PER_separatist_warning = {
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_separatist_warning"
			country_event = iranian_focus.167
		}

		ai_will_do = { base = 10 }
	}

	PER_complete_milad_tower = {
		icon = GFX_decision_generic_construction
		highlight_states = { highlight_state_targets = { state = 405 } }
		visible = { 405 = { is_owned_and_controlled_by = PER } }

		available = {
			405 = {
				infrastructure > 2
				internet_station > 2
				offices > 4
			}
		}

		fire_only_once = yes
		days_remove = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_complete_milad_tower"
			custom_effect_tooltip = PER_milad_tower_TT
			newline = yes
			set_temp_variable = { treasury_change = -22.49 }
			modify_treasury_effect = yes
			hidden_effect = {
				405 = {
					add_building_construction = {
						type = landmark_milad
						province = 16215
						level = 1
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_tehran_international_fairground = {
		icon = GFX_decision_generic_form_nation
		highlight_states = { highlight_state_targets = { state = 405 } }
		cost = 40
		visible = { 405 = { is_owned_and_controlled_by = PER } }

		available = {
			405 = {
				infrastructure > 2
				offices > 2
			}
		}

		days_remove = 60
		days_re_enable = 365

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_tehran_international_fairground"
			country_event = iranian_focus.1000
		}

		ai_will_do = { base = 5 }
	}

	PER_reestablish_savak = {
		cost = 200

		visible = {
			nationalist_monarchists_are_in_power = yes
			has_dlc = "La Resistance"
		}

		fire_only_once = yes
		days_remove = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_reestablish_savak"
			custom_effect_tooltip = PER_savak_tt
			hidden_effect = {
				create_intelligence_agency = {
					name = "Sazman-e Etela'at Va Amniat-e Keshvar (SAVAK)"
					icon = GFX_intelligence_agency_logo_per1
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_request_pahlavi_tomb = {
		cost = 50
		visible = { nationalist_monarchists_are_in_power = yes }
		fire_only_once = yes
		days_remove = 20

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_request_pahlavi_tomb"
			405 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			newline = yes
			add_stability = 0.05
		}

		ai_will_do = { base = 10 }
	}

	PER_distribute_leader_photos = {
		cost = 150

		visible = {
			emerging_hardline_shiite_are_in_power = no
			emerging_moderate_shiite_are_in_power = no
		}

		fire_only_once = yes
		days_remove = 70

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_distribute_leader_photos"
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			set_temp_variable = { treasury_change = -2.00 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_redesign_the_gulf = {
		cost = 150

		visible = {
			978 = { is_owned_and_controlled_by = PER }
			emerging_hardline_shiite_are_in_power = no
			emerging_moderate_shiite_are_in_power = no
			978 = { infrastructure < 4 }
		}

		fire_only_once = yes
		days_remove = 200

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_redesign_the_gulf"
			978 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -11.00 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_establish_support_in_yemen = {
		cost = 150

		visible = {
			country_exists = YEM
			NOT = { has_war_with = YEM }
			emerging_hardline_shiite_are_in_power = no
			emerging_moderate_shiite_are_in_power = no
		}

		fire_only_once = yes
		days_remove = 100

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_establish_support_in_yemen"
			set_temp_variable = { percent_change = 8 }
			set_temp_variable = { influence_target = YEM }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_move_capital_esfahan = {
		cost = 150

		visible = {
			976 = { is_owned_and_controlled_by = PER }
			OR = {
				nationalist_monarchists_are_in_power = yes
				nationalist_right_wing_populists_are_in_power = yes
			}
		}

		fire_only_once = yes
		days_remove = 360

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_move_capital_esfahan"
			set_capital = { state = 976 }
			add_victory_points = {
				province = 8074
				value = 10
			}
			add_victory_points = {
				province = 10837
				value = -10
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_integrate_turkmenistan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12
		visible = { has_completed_focus = PER_reunification }

		available = {
			729 = { is_owned_and_controlled_by = PER }
			728 = { is_owned_and_controlled_by = PER }
			core_compliance = {
				occupied_country_tag = TRK
				value > 80
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_integrate_turkmenistan"
			728 = {
				set_state_name = "Marv"
				add_core_of = PER
			}
			newline = yes
			729 = {
				set_state_name = "Ešqābād"
				add_core_of = PER
			}
			newline = yes
			set_province_name = { id = 12333 name = "Ešqābād" }
			newline = yes
			set_province_name = { id = 7491 name = "Tajān" }
			newline = yes
			set_province_name = { id = 10359 name = "Sārdar" }
			newline = yes
			set_province_name = { id = 1593 name = "Balkānābād" }
			newline = yes
			set_province_name = { id = 7477 name = "Torkmānšāh" }
			newline = yes
			set_province_name = { id = 10485 name = "Dašābād" }
			newline = yes
			set_province_name = { id = 10357 name = "Marv" }
			newline = yes
			set_province_name = { id = 10414 name = "Mehrābād" }
			newline = yes
			set_province_name = { id = 4549 name = "Atāmirād" }
		}

		ai_will_do = { base = 10 }
	}

	PER_integrate_armenia = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12
		visible = { has_completed_focus = PER_reunification }

		available = {
			709 = { is_owned_and_controlled_by = PER }
			1034 = { is_owned_and_controlled_by = PER }
			1035 = { is_owned_and_controlled_by = PER }
			core_compliance = {
				occupied_country_tag = ARM
				value > 80
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_integrate_armenia"
			709 = {
				set_state_name = "Armanestan-e Shomali"
				add_core_of = PER
			}
			newline = yes
			1034 = {
				set_state_name = "Armanestan-e Sharghi"
				add_core_of = PER
			}
			newline = yes
			1035 = {
				set_state_name = "Armanestan-e Junubi"
				add_core_of = PER
			}
			newline = yes
			1033 = { add_core_of = PER }
			newline = yes
			set_province_name = { id = 4660 name = "Kohanābād" }
			newline = yes
			set_province_name = { id = 12320 name = "Ārāvān" }
			newline = yes
			set_province_name = { id = 12441 name = "Gomrānšāhr" }
			newline = yes
			set_province_name = { id = 12380 name = "Vānāzar" }
			newline = yes
			set_province_name = { id = 6642 name = "Gāvāran" }
		}

		ai_will_do = { base = 10 }
	}

	PER_integrate_azerbaijan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12
		visible = { has_completed_focus = PER_reunification }

		available = {
			1038 = { is_owned_and_controlled_by = PER }
			712 = { is_owned_and_controlled_by = PER }
			713 = { is_owned_and_controlled_by = PER }
			1206 = { is_owned_and_controlled_by = PER }
			711 = { is_owned_and_controlled_by = PER }
			core_compliance = {
				occupied_country_tag = AZE
				value > 80
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_integrate_azerbaijan"
			713 = {
				set_state_name = "Badkube"
				add_core_of = PER
			}
			newline = yes
			712 = {
				set_state_name = "Ganjabad"
				add_core_of = PER
			}
			newline = yes
			1206 = {
				set_state_name = "Lazgastan"
				add_core_of = PER
			}
			newline = yes
			711 = {
				set_state_name = "Nakhjavan"
				add_core_of = PER
			}
			newline = yes
			set_province_name = { id = 7661 name = "Bādkube" }
			newline = yes
			set_province_name = { id = 4477 name = "Šahr-e Cherāq" }
			newline = yes
			set_province_name = { id = 4473 name = "Langarkunān" }
			newline = yes
			set_province_name = { id = 3711 name = "Azādšaki" }
			newline = yes
			set_province_name = { id = 11674 name = "Ganje" }
			newline = yes
			set_province_name = { id = 6997 name = "Nakhjavān" }
		}

		ai_will_do = { base = 10 }
	}

	PER_reintegrate_south_azerbaijan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12

		visible = {
			407 = {
				NOT = { is_core_of = PER }
				is_controlled_by = PER
			}
		}

		available = {
			407 = { is_owned_and_controlled_by = PER }
			core_compliance = {
				occupied_country_tag = SAZ
				value > 80
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_reintegrate_south_azerbaijan"
			407 = { add_core_of = PER }
		}

		ai_will_do = { base = 10 }
	}

	PER_integrate_basrah_maysan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12
		visible = { has_completed_focus = PER_break_the_iraqi_hand }

		available = {
			171 = {
				is_owned_and_controlled_by = PER
				compliance > 80
			}
			1124 = {
				is_owned_and_controlled_by = PER
				compliance > 80
			}
			NOT = { has_war_with = IRQ }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_integrate_basrah_maysan"
			171 = {
				set_state_name = "Basiran"
				add_core_of = PER
			}
			newline = yes
			1124 = {
				set_state_name = "Amaran"
				add_core_of = PER
			}
			newline = yes
			set_province_name = { id = 14401 name = "Āmārān" }
			newline = yes
			set_province_name = { id = 2089 name = "Basirān" }
			newline = yes
			set_province_name = { id = 9045 name = "Zoubārestān" }
		}

		ai_will_do = { base = 10 }
	}

	PER_socialist_union_with_iraq = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12

		visible = {
			neutrality_neutral_communism_are_in_power = yes
			has_completed_focus = PER_workers_party_of_iraq
		}

		available = {
			IRQ = {
				influence_higher_20 = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_socialist_union_with_iraq"
			IRQ = { country_event = iranian_focus.92 }
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
		}

		ai_will_do = { base = 10 }
	}

	PER_reza_pahlavi = {
		icon = GFX_decision_eng_propaganda_campaigns
		fire_only_once = yes
		days_remove = 12

		visible = {
			western_autocrats_are_in_power = yes
			has_completed_focus = PER_loose_cloak_of_democracy
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_reza_pahlavi"
			add_ideas = PER_reza_pahlavi
			newline = yes
			custom_effect_tooltip = PER_coalition_pahlavi_TT
			set_temp_variable = { add_col_one = 23 }
			add_coalition_members_effect = yes
			hidden_effect = {
				country_event = {
					id = iranian_focus.108
					days = 35
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_utilize_party_support = {
		icon = GFX_decision_eng_propaganda_campaigns
		days_re_enable = 365
		days_remove = 60

		visible = {
			nationalist_right_wing_populists_are_in_power = yes
			has_completed_focus = PER_paramilitary_structure
		}

		available = {
			has_war = yes
			50_percent_government_popularity = yes
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_utilize_party_support"
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.25 }
			set_temp_variable = { temp_outlook_increase = -0.25 }
			change_relative_party_popularity = yes
			newline = yes
			custom_effect_tooltip = PER_idea_TT
			hidden_effect = {
				add_dynamic_modifier = { modifier = PER_pan_iranist_attack }
				PER_pan_iran_sf = yes
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_utilize_party_support"
			if = { limit = { has_dynamic_modifier = { modifier = PER_pan_iranist_attack } } remove_dynamic_modifier = { modifier = PER_pan_iranist_attack } }
		}

		ai_will_do = { base = 10 }
	}

	PER_kurdish_troops = {
		icon = GFX_decision_eng_propaganda_campaigns
		days_re_enable = 365
		days_remove = 60
		cost = 200

		visible = {
			nationalist_right_wing_populists_are_in_power = yes
			has_country_flag = PER_promise_achieved_army
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kurdish_troops"
			division_template = {
				name = "Lêşkerî Rojhelat"
				priority = 0
				regiments = {
					Militia_Bat = { x = 0 y = 0 }
					Militia_Bat = { x = 0 y = 1 }
					Militia_Bat = { x = 0 y = 2 }
					Arty_Bat = { x = 0 y = 3 }
					Militia_Bat = { x = 1 y = 0 }
					Militia_Bat = { x = 1 y = 1 }
					Militia_Bat = { x = 1 y = 2 }
					Arty_Bat = { x = 1 y = 3 }
					Militia_Bat = { x = 2 y = 0 }
					Militia_Bat = { x = 2 y = 1 }
					Militia_Bat = { x = 2 y = 2 }
					Arty_Bat = { x = 2 y = 3 }
				}
				support = {
					L_Recce_Comp = { x = 0 y = 0 }
					L_Engi_Comp = { x = 0 y = 1 }
					combat_service_support_company = { x = 0 y = 2 }
					Arty_Battery = { x = 0 y = 3 }
				}
			}
			979 = {
				if = { limit = { has_dynamic_modifier = { modifier = PER_kurd_separatism } } remove_dynamic_modifier = { modifier = PER_kurd_separatism } }
				create_unit = {
					division = "name = \"1st. Lêşkerî Azadî\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 7604
				}
				create_unit = {
					division = "name = \"2nd. Lêşkerî Rojhilat\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 1822
				}
				create_unit = {
					division = "name = \"3rd. Lêşkerî Pêşmerge\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 14268
				}
				create_unit = {
					division = "name = \"4th. Komelî Şoreşger\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 14314
				}
			}
			408 = {
				if = { limit = { has_dynamic_modifier = { modifier = PER_kurd_separatism } } remove_dynamic_modifier = { modifier = PER_kurd_separatism } }
				create_unit = {
					division = "name = \"5th. Şoreşgeranî Welat\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 4943
				}
				create_unit = {
					division = "name = \"6th. Komelî Gelê Azad\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 14313
				}
				create_unit = {
					division = "name = \"7th. Lêşkerî Zagros\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 5098
				}
				create_unit = {
					division = "name = \"8th. Lêşkerî Sanandaj\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 16216
				}
			}
			1139 = {
				if = { limit = { has_dynamic_modifier = { modifier = PER_kurd_separatism } } remove_dynamic_modifier = { modifier = PER_kurd_separatism } }
				create_unit = {
					division = "name = \"9th. Lêşkerî Dersim\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 16155
				}
				create_unit = {
					division = "name = \"10th. Lêşkerî Simko\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 12773
				}
				create_unit = {
					division = "name = \"11th. Lêşkerî Mîrê Şeref\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 4008
				}
				create_unit = {
					division = "name = \"12th. Komelî Bîrîndarî\" division_template = \"Lêşkerî Rojhelat\" start_experience_factor = 1.0 start_equipment_factor = 0.8"
					owner = IKR
					prioritize_location = 16155
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_economic_backup = {
		fire_only_once = yes
		days_remove = 12
		visible = { has_country_flag = PER_econ_backup }

		available = {
			NOT = {
				OR = {
					has_idea = stable_growth
					has_idea = fast_growth
					has_idea = economic_boom
				}
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_economic_backup"
			if = {
				limit = { has_idea = depression }
				swap_ideas = {
					remove_idea = depression
					add_idea = stable_growth
				}
			}
			else_if = {
				limit = { has_idea = recession }
				swap_ideas = {
					remove_idea = recession
					add_idea = stable_growth
				}
			}
			else_if = {
				limit = { has_idea = stagnation }
				swap_ideas = {
					remove_idea = stagnation
					add_idea = stable_growth
				}
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_political_backup = {
		cost = 100
		fire_only_once = yes
		days_remove = 12
		visible = { has_country_flag = PER_political_backup }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_political_backup"
			set_temp_variable = { party_popularity_increase = 0.15 }
			set_temp_variable = { temp_outlook_increase = 0.15 }
			change_relative_party_popularity = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_yazd_to_bushehr_railway = {
		cost = 100
		fire_only_once = yes
		days_remove = 12
		visible = { has_completed_focus = PER_iran_on_the_move }

		highlight_states = {
			highlight_state_targets = {
				state = 1147
				state = 400
				state = 1146
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_yazd_to_bushehr_railway"
			build_railway = {
				level = 2
				path = { 14673 8031 10881 14682 14670 569 10797 }
				start_state = 1147
				target_state = 1146
			}
			newline = yes
			set_temp_variable = { treasury_change = -4.50 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_qom_to_ilam_railway = {
		cost = 100
		fire_only_once = yes
		days_remove = 12
		visible = { has_completed_focus = PER_iran_on_the_move }

		highlight_states = {
			highlight_state_targets = {
				state = 1144
				state = 404
				state = 1148
				state = 1139
				state = 1138
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_qom_to_ilam_railway"
			build_railway = {
				level = 2
				path = { 14664 4154 8040 7215 3988 16155 12773 829 }
				start_state = 1144
				target_state = 1138
			}
			newline = yes
			1138 = {
				add_building_construction = {
					type = supply_node
					level = 1
					province = 829
					instant_build = yes
				}
			}
			newline = yes
			set_temp_variable = { treasury_change = -9.50 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_kerman_to_chabahar = {
		cost = 100
		fire_only_once = yes
		days_remove = 12

		highlight_states = {
			highlight_state_targets = {
				state = 977
				state = 401
			}
		}

		visible = { has_completed_focus = PER_iran_on_the_move }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_kerman_to_chabahar"
			build_railway = {
				level = 2
				path = { 1986 552 12895 2070 13082 14262 14944 }
				start_state = 977
				target_state = 401
			}
			newline = yes
			set_temp_variable = { treasury_change = -3.50 }
			modify_treasury_effect = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_attack_saz = {
		fire_only_once = yes
		war_with_on_remove = PER
		days_remove = 12

		highlight_states = {
			highlight_state_targets = {
				state = 407
				state = 1039
				state = 979
			}
		}

		visible = {
			has_country_flag = PER_attack_later
			NOT = { has_civil_war = yes }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_attack_saz"
			SAZ = {
				declare_war_on = {
					target = PER
					type = annex_everything
				}
			}
			activate_mission = PER_rebellion_in_azerbaijan
		}

		ai_will_do = { base = 10 }
	}

	PER_attack_ikr = {
		fire_only_once = yes
		war_with_on_remove = IKR
		days_remove = 12

		highlight_states = {
			highlight_state_targets = {
				state = 1138
				state = 1139
				state = 408
			}
		}

		visible = {
			IKR = { has_autonomy_state = autonomy_federal_state_iran }
			NOT = { has_war = yes }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_attack_ikr"
			PER = {
				if = {
					limit = {
						country_exists = IKR
						IKR = { is_subject_of = PER }
					}
					end_puppet = IKR
				}
				declare_war_on = {
					target = IKR
					type = annex_everything
				}
			}
			newline = yes
			add_stability = -0.15
			1138 = { add_core_of = PER }
			1139 = { add_core_of = PER }
			408 = { add_core_of = PER }
		}

		ai_will_do = { base = 10 }
	}

	PER_block_hormuz = {
		days_remove = 12
		days_re_enable = 1000

		highlight_states = {
			highlight_state_targets = {
				state = 407
				state = 1039
				state = 979
			}
		}

		available = {
			OR = {
				978 = { is_controlled_by = PER }
				425 = { is_controlled_by = PER }
			}
		}

		visible = {
			NOT = { has_global_flag = HORMUZ_BLOCKED }
			has_war = yes
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_block_hormuz"
			set_global_flag = HORMUZ_BLOCKED
			news_event = iranian_events.910
			add_threat = 10
			newline = yes
			#An immediate spike only: recalculate_resources_price rebuilds oil_price from supply/demand at the
			#next monthly tick. The lasting rise comes from PER_hormuz_blocked_gang's export penalty.
			set_temp_variable = {
				new_price = {
					value = global.oil_price
					multiply = 1.15
				}
				tooltip = oil_new_price_tt
			}
			set_variable = { global.oil_price = new_price }
		}

		ai_will_do = {
			base = 0
			modifier = {
				has_war_with = USA
				add = 10
			}
		}
	}

	PER_reopen_hormuz = {
		days_remove = 12

		highlight_states = {
			highlight_state_targets = {
				state = 407
				state = 1039
				state = 979
			}
		}

		visible = { has_global_flag = HORMUZ_BLOCKED }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_reopen_hormuz"
			clr_global_flag = HORMUZ_BLOCKED
			news_event = iranian_events.911
			#No manual price correction here: the monthly recalculate_resources_price rebuilds oil_price from scratch each month, so once PER_hormuz_blocked_gang's export penalty lapses supply/demand alone renormalizes it
		}

		ai_will_do = {
			base = 0
			modifier = {
				has_war = no
				add = 10
			}
		}
	}
}
PER_Iranian_prime_ministers_elections = {
	# Conservatives
	PER_appoint_hashem_sabbaghian = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_hashem_sabbaghian_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_hashem_sabbaghian"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_hashem_sabbaghian_minister
			hidden_effect = { add_ideas = PER_sabbaghian_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_sabbaghian_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_sabbaghian_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_mohammad_tavasoli = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_mohammad_tavasoli_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_mohammad_tavasoli"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_mohammad_tavasoli_minister
			hidden_effect = { add_ideas = PER_tavasoli_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_tavasoli_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_tavasoli_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_mostafa_moein = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_mostafa_moein_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_mostafa_moein"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_mostafa_moein_minister
			hidden_effect = { add_ideas = PER_moein_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_moein_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_meoin_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_mostafa_tajzade = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_mostafa_tajzade_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_mostafa_tajzade"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_mostafa_tajzade_minister
			hidden_effect = { add_ideas = PER_tajzade_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_tajzade_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_tajzade_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	# Leftists
	PER_appoint_hedayatollah_matin_daftari = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_hedayatollah_matin_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_hedayatollah_matin_daftari"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_hedayatollah_matin_minister
			hidden_effect = { add_ideas = PER_matin_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_daftari_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_matin_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_seyed_hasan_amin = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_seyed_hassan_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_seyed_hasan_amin"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_seyed_hassan_minister
			hidden_effect = { add_ideas = PER_amin_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_seyed_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_amin_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_ali_khavari = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_ali_khavari_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_ali_khavari"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_ali_khavari_minister
			hidden_effect = { add_ideas = PER_khavari_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_khavari_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_khavari_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_hashem_aghajari = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_hashem_aghajari_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_hashem_aghajari"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_hashem_aghajari_minister
			hidden_effect = { add_ideas = PER_aghajari_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_aghajari_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_aghajari_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_mohsen_makhmalbaf = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_mohsen_makhmalbaf_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_mohsen_makhmalbaf"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_mohsen_makhmalbaf_minister
			hidden_effect = { add_ideas = PER_makhmalbaf_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_makhmalbaf_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_makhmalbalf_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	# Liberals
	PER_appoint_abdolali_bazargan = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_abdolali_bazargan_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_abdolali_bazargan"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_abdolali_bazargan_minister
			hidden_effect = { add_ideas = PER_bazargan_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_bazargan_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_bazargan_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_amir_etemadi = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_amir_etemadi_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_amir_etemadi"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_amir_etemadi_minister
			hidden_effect = { add_ideas = PER_etemadi_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_etemadi_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_etemadi_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_hassan_shariatmadari = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_hassan_shariatmadari_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_hassan_shariatmadari"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_hassan_shariatmadari_minister
			hidden_effect = { add_ideas = PER_shariatmadari_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_shariatmadari_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_shariatmadari_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_roozbeh_farahinpour = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_roozbeh_farahinpour_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_roozbeh_farahinpour"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_roozbeh_farahinpour_minister
			hidden_effect = { add_ideas = PER_farahanipour_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_farahanipour_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_farahanipour_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	# Nationalists/Monarchists
	PER_appoint_abulqasem_porhashmi = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_abulqasem_porhashmi_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_abulqasem_porhashmi"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_abulqasem_porhashmi_minister
			hidden_effect = { add_ideas = PER_porhashmi_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_porhashmi_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_porhashmi_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_alireza_kiani = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_alireza_kiani_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_alireza_kiani"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_alireza_kiani_minister
			hidden_effect = { add_ideas = PER_kiani_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_kiani_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_kiani_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_hamed_sheibanyard = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_ezatollah_sahabi_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_hamed_sheibanyard"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_ezatollah_sahabi_minister
			hidden_effect = { add_ideas = PER_rahmani_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_sheibanyard_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_rahmani_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_reza_pirzadeh = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			NOT = { has_country_flag = PER_reza_pirzadeh_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_reza_pirzadeh"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_reza_pirzadeh_minister
			hidden_effect = { add_ideas = PER_zahedi_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_pirzadeh_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_zahedi_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_appoint_jamshid_amouzegar = {
		cost = 125

		visible = {
			has_country_flag = PER_minister_selection
			has_completed_focus = PER_reshuffle_the_deck
			NOT = { has_country_flag = PER_foad_pashei_minister }
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_jamshid_amouzegar"
			clr_country_flag = PER_minister_selection
			# Clear current Prime Minister
			PER_minister_clear = yes
			# Prime Minister Flag
			set_country_flag = PER_foad_pashei_minister
			hidden_effect = { add_ideas = PER_jamshid_amouzegar_idea }
			# Update GUI
			add_to_variable = { iranian_president_change = 1 }
			custom_effect_tooltip = PER_amouzegar_gets_appointed
			newline = yes
			custom_effect_tooltip = PER_amouzegar_modifiers
			if = {
				limit = { NOT = { has_country_flag = PER_appointed_pm } }
				set_country_flag = PER_appointed_pm
			}
		}

		ai_will_do = { base = 10 }
	}
}
PER_Iranian_prime_ministers = {
	PER_crack_down_on_crime = {
		visible = {
			# Conservatives
			OR = {
				has_country_flag = PER_hashem_sabbaghian_minister
				has_country_flag = PER_hedayatollah_matin_minister
				has_country_flag = PER_mohammad_tavasoli_minister
				has_country_flag = PER_mostafa_moein_minister
				has_country_flag = PER_mostafa_tajzade_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_housing_projects
						has_decision = PER_appease_clerics
						has_decision = PER_rural_development
						has_decision = PER_regional_consolidation
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_crack_down_on_crime"
			set_temp_variable = { temp_opinion = 5 }
			change_small_medium_business_owners_opinion = yes
			newline = yes
			set_temp_variable = { temp_opinion = 5 }
			change_the_military_opinion = yes
			newline = yes
			set_temp_variable = { temp_opinion = 5 }
			change_the_ulema_opinion = yes
		}

		modifier = {
			police_cost_multiplier_modifier = 0.05
			stability_weekly_factor = 0.002
			corruption_cost_factor = -0.15
			propaganda_campaign_cost_modifier = -0.25
			production_speed_buildings_factor = 0.10
		}

		ai_will_do = { base = 10 }
	}

	PER_housing_projects = {
		visible = {
			# Conservatives
			OR = {
				has_country_flag = PER_hashem_sabbaghian_minister
				has_country_flag = PER_hedayatollah_matin_minister
				has_country_flag = PER_mohammad_tavasoli_minister
				has_country_flag = PER_mostafa_moein_minister
				has_country_flag = PER_mostafa_tajzade_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_crack_down_on_crime
						has_decision = PER_appease_clerics
						has_decision = PER_rural_development
						has_decision = PER_regional_consolidation
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_housing_projects"
			set_temp_variable = { party_popularity_increase = 0.015 }
			set_temp_variable = { temp_outlook_increase = 0.025 }
			change_relative_party_popularity = yes
			newline = yes
			set_temp_variable = { temp_productivity_change = 10 }
			every_core_state = { state_flat_productivity_change_effect = yes }
		}

		modifier = {
			population_tax_income_multiplier_modifier = -0.05
			production_speed_infrastructure_factor = 0.20
			production_speed_internet_station_factor = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_appease_clerics = {
		visible = {
			# Conservatives
			OR = {
				has_country_flag = PER_hashem_sabbaghian_minister
				has_country_flag = PER_hedayatollah_matin_minister
				has_country_flag = PER_mohammad_tavasoli_minister
				has_country_flag = PER_mostafa_moein_minister
				has_country_flag = PER_mostafa_tajzade_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_crack_down_on_crime
						has_decision = PER_housing_projects
						has_decision = PER_rural_development
						has_decision = PER_regional_consolidation
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appease_clerics"
			add_manpower = 5000
			newline = yes
			set_temp_variable = { temp_opinion = 10 }
			change_the_ulema_opinion = yes
		}

		modifier = {
			research_speed_factor = -0.10
			education_cost_multiplier_modifier = -0.10
			foreign_influence_defense_modifier = 0.05
			army_attack_factor = 0.05
			army_morale = 5.00
		}

		ai_will_do = { base = 10 }
	}

	PER_rural_development = {
		visible = {
			# Conservatives
			OR = {
				has_country_flag = PER_hashem_sabbaghian_minister
				has_country_flag = PER_hedayatollah_matin_minister
				has_country_flag = PER_mohammad_tavasoli_minister
				has_country_flag = PER_mostafa_moein_minister
				has_country_flag = PER_mostafa_tajzade_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_crack_down_on_crime
						has_decision = PER_housing_projects
						has_decision = PER_appease_clerics
						has_decision = PER_regional_consolidation
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180
		fixed_random_seed = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_rural_development"
			one_random_agriculture_district = yes
		}

		modifier = {
			political_power_cost = 0.75
			agriculture_tax_modifier = 0.20
			agriculture_district_income_tax_modifier = 0.15
			agricolture_productivity_modifier = 0.15
			monthly_population = 0.05
		}

		ai_will_do = { base = 10 }
	}

	PER_regional_consolidation = {
		visible = {
			# Conservatives
			OR = {
				has_country_flag = PER_hashem_sabbaghian_minister
				has_country_flag = PER_hedayatollah_matin_minister
				has_country_flag = PER_mohammad_tavasoli_minister
				has_country_flag = PER_mostafa_moein_minister
				has_country_flag = PER_mostafa_tajzade_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_crack_down_on_crime
						has_decision = PER_housing_projects
						has_decision = PER_appease_clerics
						has_decision = PER_rural_development
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_regional_consolidation"
			custom_effect_tooltip = PER_influence_neighbors2
			every_neighbor_country = {
				limit = { NOT = { has_war_with = PER } }
				hidden_effect = {
					set_temp_variable = { percent_change = 2 }
					set_temp_variable = { influence_target = THIS }
					change_influence_percentage = yes
				}
			}
		}

		modifier = {
			political_power_cost = 0.5
			foreign_influence_modifier = 0.15
			foreign_influence_home_continent_modifier = 0.15
		}

		ai_will_do = { base = 10 }
	}

	# Socialists/Leftists
	PER_wealth_redistribution = {
		visible = {
			# Leftists
			OR = {
				has_country_flag = PER_seyed_hassan_minister
				has_country_flag = PER_ali_khavari_minister
				has_country_flag = PER_hashem_aghajari_minister
				has_country_flag = PER_mohsen_makhmalbaf_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_corporate_regulations
						has_decision = PER_expand_workers_rights
						has_decision = PER_nationalize_industries
						has_decision = PER_nationalize_resource_industries
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_wealth_redistribution"
			add_stability = 0.01
		}

		modifier = {
			social_cost_multiplier_modifier = 0.10
			office_park_income_tax_modifier = 0.10
			expected_welfare_modifier = -1.00
			expected_healthcare_modifier = -1.00
			political_power_gain = 1.50
		}

		ai_will_do = { base = 10 }
	}

	PER_corporate_regulations = {
		visible = {
			# Leftists
			OR = {
				has_country_flag = PER_seyed_hassan_minister
				has_country_flag = PER_ali_khavari_minister
				has_country_flag = PER_hashem_aghajari_minister
				has_country_flag = PER_mohsen_makhmalbaf_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_wealth_redistribution
						has_decision = PER_expand_workers_rights
						has_decision = PER_nationalize_industries
						has_decision = PER_nationalize_resource_industries
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		modifier = {
			offices_productivity = -0.1
			production_factory_max_efficiency_factor = 0.15
			production_factory_start_efficiency_factor = 0.15
			production_factory_efficiency_gain_factor = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_expand_workers_rights = {
		visible = {
			# Leftists
			OR = {
				has_country_flag = PER_seyed_hassan_minister
				has_country_flag = PER_ali_khavari_minister
				has_country_flag = PER_hashem_aghajari_minister
				has_country_flag = PER_mohsen_makhmalbaf_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_wealth_redistribution
						has_decision = PER_corporate_regulations
						has_decision = PER_nationalize_industries
						has_decision = PER_nationalize_resource_industries
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		modifier = {
			political_power_cost = 0.50
			corruption_cost_factor = -0.20
			social_budget_cost_factor = -0.1
			health_budget_cost_factor = -0.1
			civilian_factories_productivity = 0.15
			military_factories_productivity = 0.15
			agricolture_productivity_modifier = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_nationalize_industries = {
		visible = {
			# Leftists
			OR = {
				has_country_flag = PER_seyed_hassan_minister
				has_country_flag = PER_ali_khavari_minister
				has_country_flag = PER_hashem_aghajari_minister
				has_country_flag = PER_mohsen_makhmalbaf_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_wealth_redistribution
						has_decision = PER_corporate_regulations
						has_decision = PER_expand_workers_rights
						has_decision = PER_nationalize_resource_industries
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180
		fixed_random_seed = no

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_nationalize_industries"
			random = {
				chance = 20
				one_random_industrial_complex = yes
			}
		}

		modifier = {
			political_power_cost = 0.50
			production_speed_industrial_complex_factor = 0.15
			production_speed_agriculture_district_factor = 0.15
			production_speed_dockyard_factor = 0.15
			production_speed_fossil_powerplant_factor = 0.25
		}

		ai_will_do = { base = 10 }
	}

	PER_nationalize_resource_industries = {
		visible = {
			# Leftists
			OR = {
				has_country_flag = PER_seyed_hassan_minister
				has_country_flag = PER_ali_khavari_minister
				has_country_flag = PER_hashem_aghajari_minister
				has_country_flag = PER_mohsen_makhmalbaf_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_wealth_redistribution
						has_decision = PER_corporate_regulations
						has_decision = PER_expand_workers_rights
						has_decision = PER_nationalize_industries
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180
		fixed_random_seed = no

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_nationalize_resource_industries"
			random_list = {
				10 = {
					random_core_state = {
						add_resource = {
							type = steel
							amount = 5
						}
					}
				}
				10 = {
					random_core_state = {
						add_resource = {
							type = oil
							amount = 6
						}
					}
				}
				10 = {
					random_core_state = {
						add_resource = {
							type = aluminium
							amount = 4
						}
					}
				}
				10 = {
					random_core_state = {
						add_resource = {
							type = tungsten
							amount = 5
						}
					}
				}
				10 = {
					random_core_state = {
						add_resource = {
							type = rubber
							amount = 2
						}
					}
				}
				10 = {
					random_core_state = {
						add_resource = {
							type = chromium
							amount = 2
						}
					}
				}
				20 = { one_random_fossil_fuel_powerplant = yes }
				20 = {
					# Nothing happens
				}
			}
		}

		modifier = { political_power_cost = 1.00 }
		ai_will_do = { base = 10 }
	}

	# Liberals
	PER_civil_liberty_expansion = {
		visible = {
			# Liberals
			OR = {
				has_country_flag = PER_abdolali_bazargan_minister
				has_country_flag = PER_amir_etemadi_minister
				has_country_flag = PER_hassan_shariatmadari_minister
				has_country_flag = PER_roozbeh_farahinpour_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_secularist_policies
						has_decision = PER_expansion_of_universities
						has_decision = PER_open_borders
						has_decision = PER_cut_back_military_spending
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		modifier = {
			political_power_cost = 0.50
			police_cost_multiplier_modifier = -0.15
			productivity_growth_modifier = 1
			trade_opinion_factor = 0.50
		}

		ai_will_do = { base = 10 }
	}

	PER_secularist_policies = {
		fixed_random_seed = no

		visible = {
			# Liberals
			OR = {
				has_country_flag = PER_abdolali_bazargan_minister
				has_country_flag = PER_amir_etemadi_minister
				has_country_flag = PER_hassan_shariatmadari_minister
				has_country_flag = PER_roozbeh_farahinpour_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_civil_liberty_expansion
						has_decision = PER_expansion_of_universities
						has_decision = PER_open_borders
						has_decision = PER_cut_back_military_spending
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_secularist_policies"
			random_list = {
				10 = { one_office_construction = yes }
				15 = { one_random_network_infrastructure = yes }
				15 = { one_random_renewable_energy_infra = yes }
				10 = { one_random_infrastructure = yes }
				50 = {
					# Nothing happens
				}
			}
		}

		modifier = {
			tax_gain_multiplier_modifier = 0.05
			monthly_population = -0.02
			democratic_drift = 0.05
		}

		ai_will_do = { base = 10 }
	}

	PER_expansion_of_universities = {
		fixed_random_seed = no

		visible = {
			# Liberals
			OR = {
				has_country_flag = PER_abdolali_bazargan_minister
				has_country_flag = PER_amir_etemadi_minister
				has_country_flag = PER_hassan_shariatmadari_minister
				has_country_flag = PER_roozbeh_farahinpour_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_civil_liberty_expansion
						has_decision = PER_secularist_policies
						has_decision = PER_open_borders
						has_decision = PER_cut_back_military_spending
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_expansion_of_universities"
			random_list = {
				25 = {
					add_breakthrough_progress = {
						specialization = specialization_nuclear
						value = 0.30
					}
				}
				25 = {
					add_breakthrough_progress = {
						specialization = specialization_air
						value = 0.30
					}
				}
				25 = {
					add_breakthrough_progress = {
						specialization = specialization_land
						value = 0.30
					}
				}
				25 = {
					add_breakthrough_progress = {
						specialization = specialization_naval
						value = 0.30
					}
				}
			}
		}

		modifier = {
			research_speed_factor = 0.2
			education_cost_multiplier_modifier = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_open_borders = {
		fixed_random_seed = no

		visible = {
			# Liberals
			OR = {
				has_country_flag = PER_abdolali_bazargan_minister
				has_country_flag = PER_amir_etemadi_minister
				has_country_flag = PER_hassan_shariatmadari_minister
				has_country_flag = PER_roozbeh_farahinpour_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_civil_liberty_expansion
						has_decision = PER_secularist_policies
						has_decision = PER_expansion_of_universities
						has_decision = PER_cut_back_military_spending
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_open_borders"
			set_temp_variable = { temp_productivity_change = 50 }
			random_core_state = { state_flat_productivity_change_effect = yes }
			newline = yes
			random_list = {
				20 = { one_random_industrial_complex = yes }
				20 = { one_random_agriculture_district = yes }
				60 = {
					# Nothing happens
				}
			}
		}

		modifier = {
			migration_rate_value_factor = 0.25
			stability_weekly = -0.001
		}

		ai_will_do = { base = 10 }
	}

	PER_cut_back_military_spending = {
		visible = {
			# Liberals
			OR = {
				has_country_flag = PER_abdolali_bazargan_minister
				has_country_flag = PER_amir_etemadi_minister
				has_country_flag = PER_hassan_shariatmadari_minister
				has_country_flag = PER_roozbeh_farahinpour_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_civil_liberty_expansion
						has_decision = PER_secularist_policies
						has_decision = PER_expansion_of_universities
						has_decision = PER_open_borders
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		modifier = {
			conscription = -0.02
			personnel_cost_multiplier_modifier = -0.15
		}

		ai_will_do = { base = 10 }
	}

	# Nationalists
	PER_cultural_preservation = {
		visible = {
			# Nationalists
			OR = {
				has_country_flag = PER_abulqasem_porhashmi_minister
				has_country_flag = PER_alireza_kiani_minister
				has_country_flag = PER_foad_pashei_minister
				has_country_flag = PER_reza_pirzadeh_minister
				has_country_flag = PER_ezatollah_sahabi_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_military_infrastructure
						has_decision = PER_arms_industry_expansion
						has_decision = PER_deport_illegals
						has_decision = PER_promotion_of_militaristic_ideals
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_cultural_preservation"
			add_stability = 0.02
		}

		modifier = {
			political_power_cost = 0.5
			productivity_growth_modifier = 0.15
			civilian_intel_factor = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_military_infrastructure = {
		fixed_random_seed = no

		visible = {
			# Nationalists
			OR = {
				has_country_flag = PER_abulqasem_porhashmi_minister
				has_country_flag = PER_alireza_kiani_minister
				has_country_flag = PER_foad_pashei_minister
				has_country_flag = PER_reza_pirzadeh_minister
				has_country_flag = PER_ezatollah_sahabi_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_cultural_preservation
						has_decision = PER_arms_industry_expansion
						has_decision = PER_deport_illegals
						has_decision = PER_promotion_of_militaristic_ideals
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_military_infrastructure"
			random_list = {
				25 = {
					random_core_state = {
						limit = { anti_air_building < 5 }
						add_building_construction = {
							type = anti_air_building
							level = 1
						}
						ROOT = {
							set_temp_variable = { treasury_change = -3.25 }
							modify_treasury_effect = yes
						}
					}
				}
				25 = {
					random_core_state = {
						limit = { rocket_site < 7 }
						add_building_construction = {
							type = rocket_site
							level = 1
						}
						ROOT = {
							set_temp_variable = { treasury_change = -3.00 }
							modify_treasury_effect = yes
						}
					}
				}
				25 = {
					random_core_state = {
						limit = { radar_station < 6 }
						add_building_construction = {
							type = radar_station
							level = 1
						}
						ROOT = {
							set_temp_variable = { treasury_change = -1.75 }
							modify_treasury_effect = yes
						}
					}
				}
				25 = {
					random_core_state = {
						limit = { air_base < 10 }
						add_building_construction = {
							type = air_base
							level = 1
						}
						ROOT = {
							set_temp_variable = { treasury_change = -2.50 }
							modify_treasury_effect = yes
						}
					}
				}
			}
		}

		modifier = {
			personnel_cost_multiplier_modifier = 0.10
			production_speed_arms_factory_factor = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_arms_industry_expansion = {
		visible = {
			# Nationalists
			OR = {
				has_country_flag = PER_abulqasem_porhashmi_minister
				has_country_flag = PER_alireza_kiani_minister
				has_country_flag = PER_foad_pashei_minister
				has_country_flag = PER_reza_pirzadeh_minister
				has_country_flag = PER_ezatollah_sahabi_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_cultural_preservation
						has_decision = PER_military_infrastructure
						has_decision = PER_deport_illegals
						has_decision = PER_promotion_of_militaristic_ideals
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180
		fixed_random_seed = no

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_arms_industry_expansion"
			random = {
				chance = 20
				one_random_arms_factory = yes
			}
		}

		modifier = {
			military_industry_tax_modifier = -0.30
			industrial_capacity_factory = 0.15
			industrial_capacity_dockyard = 0.15
		}

		ai_will_do = { base = 10 }
	}

	PER_deport_illegals = {
		visible = {
			# Nationalists
			OR = {
				has_country_flag = PER_abulqasem_porhashmi_minister
				has_country_flag = PER_alireza_kiani_minister
				has_country_flag = PER_foad_pashei_minister
				has_country_flag = PER_reza_pirzadeh_minister
				has_country_flag = PER_ezatollah_sahabi_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_cultural_preservation
						has_decision = PER_military_infrastructure
						has_decision = PER_arms_industry_expansion
						has_decision = PER_promotion_of_militaristic_ideals
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deport_illegals"
			random_core_state = { add_manpower = -450 }
			random_neighbor_country = { random_core_state = { add_manpower = 450 } }
			newline = yes
			set_temp_variable = { party_popularity_increase = 0.02 }
			set_temp_variable = { temp_outlook_increase = 0.03 }
			change_relative_party_popularity = yes
		}

		modifier = {
			stability_weekly = 0.002
			migration_rate_value_factor = -0.1
			foreign_influence_monthly_domestic_independence_gain_modifier = 0.20
		}

		ai_will_do = { base = 10 }
	}

	PER_promotion_of_militaristic_ideals = {
		visible = {
			# Nationalists
			OR = {
				has_country_flag = PER_abulqasem_porhashmi_minister
				has_country_flag = PER_alireza_kiani_minister
				has_country_flag = PER_foad_pashei_minister
				has_country_flag = PER_reza_pirzadeh_minister
				has_country_flag = PER_ezatollah_sahabi_minister
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = {
					OR = {
						has_decision = PER_cultural_preservation
						has_decision = PER_military_infrastructure
						has_decision = PER_arms_industry_expansion
						has_decision = PER_deport_illegals
					}
				}
			}
		}

		days_remove = 90
		days_re_enable = 180

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_promotion_of_militaristic_ideals"
			set_temp_variable = { temp_opinion = 3 }
			change_the_military_opinion = yes
		}

		modifier = {
			political_power_cost = -1.00
			conscription_factor = 0.05
			compliance_growth = 0.15
		}

		ai_will_do = { base = 10 }
	}

	# Appoint new Prime Minister
	PER_appoint_new_prime_minister = {
		visible = { has_country_flag = PER_iranian_minister_given }
		days_remove = 10
		days_re_enable = 360

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_appoint_new_prime_minister"
			if = {
				limit = { has_country_flag = PER_minister_selection }
				country_event = PER_majlis.401
			}
			set_country_flag = PER_minister_selection
		}

		ai_will_do = { base = 10 }
	}
}
PER_new_majlis = {
	PER_move_to_baharestan = {
		visible = { 405 = { is_owned_and_controlled_by = PER } }
		icon = GFX_decision_generic_political_discourse
		highlight_states = { highlight_state_targets = { state = 405 } }
		available = { 405 = { infrastructure > 2 } }
		days_remove = 70
		fire_only_once = yes

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_move_to_baharestan"
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
			newline = yes
			increase_centralization = yes
			decrease_corruption = yes
		}

		ai_will_do = { base = 1 }
	}

	PER_reschedule_session = {
		icon = eng_propaganda_campaigns

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_not_less_than_3_months_TT
				check_variable = { PER_session_var > 2 }
			}
		}

		days_remove = 20
		days_re_enable = 720

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_reschedule_session"
			custom_effect_tooltip = PER_reschedule_session_TT
			add_to_variable = { var = PER_session_var value = -2 }
			clamp_variable = { var = PER_session_var min = 0 max = 48 }
		}

		ai_will_do = { base = 1 }
	}

	PER_dissolve_the_parliament = {
		icon = generic_nationalism

		available = {
			has_idea = bureau_04
			40_percent_government_popularity = yes
			custom_trigger_tooltip = {
				tooltip = PER_not_less_than_6_months_away_TT
				check_variable = { PER_election_var > 6 }
			}
		}

		days_remove = 20
		days_re_enable = 2922

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_dissolve_the_parliament"
			custom_effect_tooltip = PER_dissolves_majlis_TT
			hidden_effect = {
				country_event = {
					id = PER_majlis.1
					days = 1
				}
			}
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_constitutionalists_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^0 > 1 }
				check_variable = { PER_majlis_seats^2 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_constitutionalists_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.10
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_west_conservatives_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^1 > 1 }
				check_variable = { PER_majlis_seats^14 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_west_conservatives_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.11
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_socialist_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^3 > 1 }
				check_variable = { PER_majlis_seats^19 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_socialist_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.12
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_radical_leftist_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^4 > 1 }
				check_variable = { PER_majlis_seats^5 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_radical_leftist_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.14
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_neo_islamist_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^6 > 1 }
				check_variable = { PER_majlis_seats^7 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_neo_islamist_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.15
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_moderate_islamist_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^18 > 1 }
				check_variable = { PER_majlis_seats^12 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_moderate_islamist_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.16
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_libertarian_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^13 > 1 }
				check_variable = { PER_majlis_seats^16 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_libertarian_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.17
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_monarchist_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			OR = {
				check_variable = { PER_majlis_seats^20 > 1 }
				check_variable = { PER_majlis_seats^23 > 1 }
			}
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_monarchist_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.20
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_green_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			check_variable = { PER_majlis_seats^17 > 1 }
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_green_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.18
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_corporate_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			check_variable = { PER_majlis_seats^15 > 1 }
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_corporate_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.19
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_ultra_nationalist_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			check_variable = { PER_majlis_seats^21 > 15 }
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_ultra_nationalist_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.21
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_artesh_proposal = {
		visible = {
			PER_majlis_non_ir_proposal_visible = yes
			check_variable = { PER_majlis_seats^22 > 1 }
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_artesh_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.22
		}

		ai_will_do = { base = 1 }
	}

	# I.R.
	PER_accept_reformists_proposal = {
		visible = {
			PER_majlis_ir_proposal_visible = yes
			check_variable = { PER_majlis_seats^8 > 1 }
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_reformists_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.23
		}

		ai_will_do = { base = 1 }
	}

	PER_accept_principalists_proposal = {
		visible = {
			PER_majlis_ir_proposal_visible = yes
			check_variable = { PER_majlis_seats^9 > 1 }
		}

		icon = GFX_decision_generic_political_discourse
		days_re_enable = 720

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_accept_principalists_proposal"
			PER_majlis_begin_proposal = yes
			country_event = PER_majlis.24
		}

		ai_will_do = { base = 1 }
	}

# Liberal Bloc
	PER_purging_the_remnants = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_islamists_less_than_5_TT
				check_variable = { party_pop_array^6 < 0.05 }
				check_variable = { party_pop_array^7 < 0.05 }
				check_variable = { party_pop_array^8 < 0.05 }
				check_variable = { party_pop_array^9 < 0.05 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_purging_the_remnants"
			set_temp_variable = { temp_opinion = 10 }
			change_intelligence_community_opinion = yes
			newline = yes
			add_ideas = PER_political_grip
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_purging_the_remnants"
			clr_country_flag = PER_doing_proposal
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			set_country_flag = PER_did_lib_1
		}
	}

	PER_turning_the_clock_forward = {
		activation = { always = no }
		available = { all_core_state = { internet_station > 0 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_turning_the_clock_forward"
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_economy_modifier }
			add_to_variable = { PER_centralization_cost = -0.025 tooltip = bureaucracy_cost_multiplier_modifier_tt }
			add_stability = 0.1
			decrease_corruption = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_turning_the_clock_forward"
			clr_country_flag = PER_doing_proposal
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			set_country_flag = PER_did_lib_2
		}
	}

	PER_deep_pockets_deeper_ties = {
		activation = { always = no }

		available = {
			OR = {
				RAJ = { has_opinion_modifier = mutual_trade_agreement }
				GER = { has_opinion_modifier = mutual_trade_agreement }
				FRA = { has_opinion_modifier = mutual_trade_agreement }
				ITA = { has_opinion_modifier = mutual_trade_agreement }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_deep_pockets_deeper_ties"
			increase_economic_growth = yes
			add_stability = 0.05
			newline = yes
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = RAJ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = GER }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = FRA }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 1 }
			set_temp_variable = { influence_target = ITA }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_deep_pockets_deeper_ties"
			clr_country_flag = PER_doing_proposal
			decrease_economic_growth = yes
			set_country_flag = PER_did_lib_3
		}
	}

	PER_the_iranian_lobby = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = USA }
				USA = { influence_higher_5 = yes }
			}
			if = {
				limit = { country_exists = ISR }
				ISR = { influence_higher_5 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_iranian_lobby"
			add_ideas = PER_strength_of_our_lobby
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_iranian_lobby"
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = USA }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = ISR }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_4
		}
	}

	PER_the_shift_never_ends = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_employment_TT
				check_variable = { total_unemployed_percentage_display < 0.2 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_shift_never_ends"
			add_ideas = PER_jobs_abode
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_shift_never_ends"
			set_temp_variable = { temp_opinion = -10 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_5
		}
	}

	PER_clean_records = {
		activation = { always = no }

		available = {
			has_idea = economic_boom
			OR = {
				has_idea = corruption_level_03
				has_idea = corruption_level_02
				has_idea = corruption_level_01
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_clean_records"
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_clean_records"
			increase_corruption = yes
			decrease_economic_growth = yes
			hidden_effect = {
				increase_corruption = yes
				decrease_economic_growth = yes
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_6
		}
	}

	PER_is_this_thing_on = {
		activation = { always = no }

		available = {
			if = {
				limit = { 401 = { is_owned_and_controlled_by = PER } }
				401 = { internet_station > 1 }
			}
			if = {
				limit = { 977 = { is_owned_and_controlled_by = PER } }
				977 = { internet_station > 1 }
			}
			if = {
				limit = { 1151 = { is_owned_and_controlled_by = PER } }
				1151 = { internet_station > 1 }
			}
			if = {
				limit = { 402 = { is_owned_and_controlled_by = PER } }
				402 = { internet_station > 1 }
			}
			if = {
				limit = { 1149 = { is_owned_and_controlled_by = PER } }
				1149 = { internet_station > 1 }
			}
			if = {
				limit = { 1147 = { is_owned_and_controlled_by = PER } }
				1147 = { internet_station > 1 }
			}
			if = {
				limit = { 978 = { is_owned_and_controlled_by = PER } }
				978 = {
					offices > 0
					internet_station > 1
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_is_this_thing_on"
			two_office_construction = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_is_this_thing_on"
			set_temp_variable = { party_popularity_increase = -0.15 }
			set_temp_variable = { temp_outlook_increase = -0.15 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_7
		}
	}

	PER_disparity_has_no_place_here = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1039 = { is_owned_and_controlled_by = PER } }
				1039 = { infrastructure > 4 }
			}
			if = {
				limit = { 401 = { is_owned_and_controlled_by = PER } }
				401 = { infrastructure > 4 }
			}
			if = {
				limit = { 408 = { is_owned_and_controlled_by = PER } }
				408 = { infrastructure > 4 }
			}
			if = {
				limit = { 1138 = { is_owned_and_controlled_by = PER } }
				1138 = { infrastructure > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_disparity_has_no_place_here"
			three_random_industrial_complex = yes
			newline = yes
			add_stability = 0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_8
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_disparity_has_no_place_here"
			set_temp_variable = { party_popularity_increase = -0.15 }
			set_temp_variable = { temp_outlook_increase = -0.15 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_lib_8
		}
	}

# Moderate Conservative Bloc
	PER_iran_is_full = {
		activation = { always = no }

		available = {
			OR = {
				has_idea = heavily_regulated_immigration
				has_idea = closed_borders
			}
			401 = { arms_factory > 0 }
		}

		highlight_states = { highlight_state_targets = { state = 401 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_iran_is_full"
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_1
			add_ideas = PER_tough_luck
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_iran_is_full"
			clr_country_flag = PER_doing_proposal
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			set_country_flag = PER_did_mcon_1
		}
	}

	PER_the_green_pastures = {
		activation = { always = no }

		available = {
			if = {
				limit = { 408 = { is_owned_and_controlled_by = PER } }
				408 = { agriculture_district > 0 }
			}
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = { agriculture_district > 0 }
			}
			if = {
				limit = { 406 = { is_owned_and_controlled_by = PER } }
				406 = { agriculture_district > 0 }
			}
			if = {
				limit = { 404 = { is_owned_and_controlled_by = PER } }
				404 = { agriculture_district > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_green_pastures"
			add_ideas = PER_green_fields
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_green_pastures"
			clr_country_flag = PER_doing_proposal
			set_temp_variable = { party_index = 8 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			newline = yes
			set_temp_variable = { party_index = 9 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			set_country_flag = PER_did_mcon_2
		}
	}

	PER_safety_security_stability = {
		activation = { always = no }

		available = {
			has_stability > 0.64
			OR = {
				has_idea = police_04
				has_idea = police_05
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_safety_security_stability"
			add_ideas = PER_safety_security_stability_idea
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_safety_security_stability"
			clr_country_flag = PER_doing_proposal
			block_police_change = yes
			add_stability = -0.05
			set_country_flag = PER_did_mcon_3
		}
	}

	PER_our_left_hand = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = KUR }
				KUR = { influence_higher_15 = yes }
			}
			if = {
				limit = { country_exists = SYR }
				SYR = { influence_higher_15 = yes }
			}
			if = {
				limit = { country_exists = IRQ }
				IRQ = { influence_higher_15 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_left_hand"
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = KUR }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = JOR }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_left_hand"
			clr_country_flag = PER_doing_proposal
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = KUR }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = JOR }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
			set_country_flag = PER_did_mcon_4
		}
	}

	PER_the_socialist_threat = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_leftists_less_than_5_TT
				check_variable = { party_pop_array^3 < 0.05 }
				check_variable = { party_pop_array^4 < 0.05 }
				check_variable = { party_pop_array^5 < 0.05 }
				check_variable = { party_pop_array^19 < 0.05 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_socialist_threat"
			set_temp_variable = { temp_opinion = 10 }
			change_the_military_opinion = yes
			newline = yes
			set_temp_variable = { temp_opinion = 10 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_socialist_threat"
			clr_country_flag = PER_doing_proposal
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			set_country_flag = PER_did_mcon_5
		}
	}

	PER_the_arteries_of_iran = {
		activation = { always = no }

		available = {
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = {
					infrastructure > 4
					fuel_silo > 4
				}
			}
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = {
					infrastructure > 4
					fuel_silo > 4
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_arteries_of_iran"
			399 = {
				add_resource = {
					type = oil
					amount = 17
				}
			}
			1146 = {
				add_resource = {
					type = oil
					amount = 15
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_arteries_of_iran"
			clr_country_flag = PER_doing_proposal
			399 = {
				add_resource = {
					type = oil
					amount = -10
				}
			}
			1146 = {
				add_resource = {
					type = oil
					amount = -10
				}
			}
			set_country_flag = PER_did_mcon_6
		}
	}

	PER_chess = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = SAU }
				SAU = { influence_higher_20 = yes }
			}
			set_temp_variable = { temp_value = 84.99 }
			has_domestic_independence_greater_than = yes
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_chess"
			add_ideas = PER_our_interests
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_chess"
			set_temp_variable = { percent_change = -15 }
			change_domestic_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_mcon_7
		}
	}

# Socialist Bloc Proposal
	PER_productive_minds = {
		activation = { always = no }

		available = {
			overall_productivity_greater_than_650 = yes
			has_idea = edu_05
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_productive_minds"
			two_office_construction = yes
			newline = yes
			custom_effect_tooltip = PER_50_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = 50 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_productive_minds"
			custom_effect_tooltip = PER_less_50_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = -50 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_1
		}
	}

	PER_open_hearts = {
		activation = { always = no }

		available = {
			OR = {
				has_idea = social_04
				has_idea = social_05
				has_idea = social_06
			}
			if = {
				limit = { 1151 = { is_owned_and_controlled_by = PER } }
				1151 = {
					infrastructure > 2
					industrial_complex > 0
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_open_hearts"
			two_random_industrial_complex = yes
			newline = yes
			add_stability = 0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_open_hearts"
			block_social_change = yes
			block_migration_law_change = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_2
		}
	}

	PER_centers_of_innovation = {
		activation = { always = no }

		available = {
			if = {
				limit = { 400 = { is_owned_and_controlled_by = PER } }
				400 = {
					infrastructure > 3
					offices > 1
					internet_station > 1
				}
			}
			if = {
				limit = { 976 = { is_owned_and_controlled_by = PER } }
				976 = {
					infrastructure > 3
					offices > 1
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_centers_of_innovation"
			add_ideas = PER_centers_of_innovation_idea
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_centers_of_innovation"
			add_timed_idea = {
				idea = PER_lack_of_innovation
				days = 500
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_3
		}
	}

	PER_green_feel_to_paper = {
		activation = { always = no }
		available = { interest_rate_lower_than_2 = yes }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_green_feel_to_paper"
			add_ideas = PER_debt_combatants
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_green_feel_to_paper"
			decrease_economic_growth = yes
			add_stability = -0.05
			hidden_effect = { decrease_economic_growth = yes }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_4
		}
	}

	PER_eyes_on_the_future = {
		activation = { always = no }

		available = {
			if = {
				limit = { 401 = { is_owned_and_controlled_by = PER } }
				401 = { radar_station > 3 }
			}
			if = {
				limit = { 1150 = { is_owned_and_controlled_by = PER } }
				1150 = { radar_station > 3 }
			}
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = { radar_station > 3 }
			}
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = { radar_station > 5 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_eyes_on_the_future"
			one_office_construction = yes
			add_tech_bonus = {
				name = PER_eyes_on_the_future
				bonus = 0.5
				uses = 2
				category = CAT_artificial_intelligence
				category = CAT_information_technology
				category = CAT_internet
			} hidden_effect = { rq_eb_e6fc2f7f59 = yes }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_eyes_on_the_future"
			random_owned_controlled_state = {
				limit = { free_shared_building_slots = yes }
				add_extra_state_shared_building_slots = -1
				add_building_construction = {
					type = offices
					level = -1
					instant_build = yes
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_5
		}
	}

	PER_rights_of_workers = {
		activation = { always = no }
		available = { has_idea = labour_unions }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_rights_of_workers"
			add_ideas = PER_favorable_unions
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_rights_of_workers"
			block_edu_change = yes
			block_bureau_change = yes
			block_police_change = yes
			block_social_change = yes
			block_health_change = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_6
		}
	}

	PER_the_lights_shine_bright = {
		activation = { always = no }

		available = {
			if = {
				limit = { 977 = { is_owned_and_controlled_by = PER } }
				977 = { renewable_energy_infra > 0 }
			}
			if = {
				limit = { 1147 = { is_owned_and_controlled_by = PER } }
				1147 = { renewable_energy_infra > 0 }
			}
			custom_trigger_tooltip = {
				tooltip = PER_generate_electricity_TT
				check_variable = { energy_sum > 79.99 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_lights_shine_bright"
			two_random_renewable_energy_infra = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_lights_shine_bright"
			add_stability = -0.10
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_7
		}
	}

	PER_no_place_for_fascists = {
		activation = { always = no }
		available = { nationalist < 0.10 }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_no_place_for_fascists"
			set_temp_variable = { party_popularity_increase = 0.15 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_8
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_no_place_for_fascists"
			set_temp_variable = { party_popularity_increase = -0.15 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_soc_8
		}
	}

# Radical Leftists
	PER_old_friends = {
		activation = { always = no }
		available = { SOV = { influence_higher_15 = yes } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_old_friends"
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = TRK }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = UZB }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = KAZ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = AZE }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = GEO }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_old_friends"
			set_temp_variable = { percent_change = -15 }
			change_domestic_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_1
		}
	}

	PER_the_pride_of_kordestan = {
		activation = { always = no }

		available = {
			if = {
				limit = { 408 = { is_owned_and_controlled_by = PER } }
				408 = { industrial_complex > 0 }
			}
			if = {
				limit = { 1139 = { is_owned_and_controlled_by = PER } }
				1139 = { industrial_complex > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_pride_of_kordestan"
			two_random_industrial_complex = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_pride_of_kordestan"
			add_stability = -0.10
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_2
		}
	}

	PER_health_knowledge_and_prosperity = {
		activation = { always = no }

		available = {
			has_idea = health_06
			has_idea = social_06
			has_idea = edu_05
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_health_knowledge_and_prosperity"
			add_ideas = PER_the_cost_of_safety
			block_edu_change = yes
			block_health_change = yes
			block_social_change = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_health_knowledge_and_prosperity"
			add_ideas = PER_broken_promises
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_3
		}
	}

	PER_puppet_kurdistan = {
		activation = { always = no }

		available = {
			OR = {
				KUR = { is_subject_of = PER }
				PUK = { is_subject_of = PER }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_puppet_kurdistan"
			KUR = {
				add_autonomy_ratio = {
					value = -0.5
					localization = influence_for_autonomy_decision_autonomy
				}
			}
			PUK = {
				add_autonomy_ratio = {
					value = -0.5
					localization = influence_for_autonomy_decision_autonomy
				}
			}
			newline = yes
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_puppet_kurdistan"
			set_temp_variable = { percent_change = 8 }
			set_temp_variable = { tag_index = KUR }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_4
		}
	}

	PER_help_the_kurds = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1039 = { is_owned_and_controlled_by = PER } }
				1039 = { infrastructure > 4 }
			}
			if = {
				limit = { 979 = { is_owned_and_controlled_by = PER } }
				979 = { infrastructure > 4 }
			}
			if = {
				limit = { 408 = { is_owned_and_controlled_by = PER } }
				408 = { infrastructure > 4 }
			}
			if = {
				limit = { 1139 = { is_owned_and_controlled_by = PER } }
				1139 = { infrastructure > 4 }
			}
			if = {
				limit = { 1138 = { is_owned_and_controlled_by = PER } }
				1138 = { infrastructure > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_help_the_kurds"
			add_ideas = PER_the_hammer_swings_both_ways
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_help_the_kurds"
			set_temp_variable = { percent_change = 15 }
			set_temp_variable = { tag_index = KUR }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_5
		}
	}

	PER_kermanshahs_supply = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_kermanshah_TT
				1139 = {
					any_province_building_level = {
						province = { id = 16155 }
						building = supply_node
						level > 0
					}
				}
			}
		}

		days_mission_timeout = 340
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_kermanshahs_supply"
			three_random_industrial_complex = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_kermanshahs_supply"
			add_stability = -0.05
			newline = yes
			979 = {
				if = {
					limit = { infrastructure > 0 }
					damage_building = {
						type = infrastructure
						damage = 5.0
					}
				}
			}
			1139 = {
				if = {
					limit = { infrastructure > 0 }
					damage_building = {
						type = infrastructure
						damage = 5.0
					}
				}
			}
			1138 = {
				if = {
					limit = { infrastructure > 0 }
					damage_building = {
						type = infrastructure
						damage = 5.0
					}
				}
			}
			1039 = {
				if = {
					limit = { infrastructure > 0 }
					damage_building = {
						type = infrastructure
						damage = 5.0
					}
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_6
		}
	}

	PER_military_loyalty = {
		activation = { always = no }

		available = {
			NOT = { has_idea = the_military }
			custom_trigger_tooltip = {
				tooltip = PER_reduce_artesh_TT
				check_variable = { party_pop_array^22 < 0.05 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_military_loyalty"
			add_ideas = PER_military_loyalty
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_military_loyalty"
			set_temp_variable = { temp_opinion = -10 }
			change_the_military_opinion = yes
			set_temp_variable = { temp_opinion = -10 }
			change_intelligence_community_opinion = yes
			set_temp_variable = { temp_opinion = -10 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_left_7
		}
	}

# Neo IR
	PER_our_old_leverage = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = IRQ }
				IRQ = { influence_higher_15 = yes }
			}
			if = {
				limit = { country_exists = SYR }
				SYR = { influence_higher_15 = yes }
			}
			if = {
				limit = { country_exists = LEB }
				LEB = { influence_higher_15 = yes }
			}
		}

		days_mission_timeout = 340
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_old_leverage"
			add_ideas = PER_old_leverage
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_ir_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_old_leverage"
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = HEZ }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = IRQ }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_ir_1
		}
	}

	PER_our_thorns = {
		activation = { always = no }

		available = {
			if = {
				limit = { 403 = { is_owned_and_controlled_by = PER } }
				403 = { rocket_site > 4 }
			}
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = { rocket_site > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_thorns"
			add_ideas = PER_the_thorns
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_ir_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_thorns"
			set_temp_variable = { treasury_change = -47.50 }
			modify_treasury_effect = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_ir_2
		}
	}

	PER_explosive_deterrent = {
		activation = { always = no }
		available = { is_special_project_completed = sp:sp_nuclear_warhead_program }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_explosive_deterrent"
			add_ideas = PER_deterrent
			clr_country_flag = PER_doing_proposal
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_explosive_deterrent"
			increase_corruption = yes
			clr_country_flag = PER_doing_proposal
		}
	}

	# PER_a_return_to_the_past = {
	# 	activation = {
	# 		always = no
	# 	}
	# 	available = {
	# 		power_balance_value = {
	# 			id = PER_clergy_balance_of_power_category
	# 			value > 0.3
	# 		}
	# 	}
	# 	days_mission_timeout = 500
	# 	is_good = no
	# 	complete_effect = {
	# 		log = "[GetDateText]: [Root.GetName]: Decision timeout PER_a_return_to_the_past"
	# 		set_temp_variable = { party_popularity_increase = 0.1 }
	# 		set_temp_variable = { temp_outlook_increase = 0.1 }
	# 		change_relative_party_popularity = yes
	# 		newline = yes
	# 		set_temp_variable = { percent_change = 5 }
	# 		change_domestic_influence_percentage = yes
	# 		clr_country_flag = PER_doing_proposal
	# 		set_country_flag = PER_did_ir_4
	# 	}
	# 	timeout_effect = {
	# 		log = "[GetDateText]: [Root.GetName]: Decision timeout PER_a_return_to_the_past"
	# 		set_temp_variable = { party_popularity_increase = -0.1 }
	# 		set_temp_variable = { temp_outlook_increase = -0.1 }
	# 		change_relative_party_popularity = yes
	# 		clr_country_flag = PER_doing_proposal
	# 		set_country_flag = PER_did_ir_4
	# 	}
	# }
	PER_righteous_roads = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1144 = { is_owned_and_controlled_by = PER } }
				1144 = {
					infrastructure > 4
					internet_station > 1
				}
			}
			if = {
				limit = { 402 = { is_owned_and_controlled_by = PER } }
				402 = {
					infrastructure > 4
					internet_station > 1
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_righteous_roads"
			custom_effect_tooltip = PER_increase_productivity_100_TT
			1144 = { add_to_variable = { productivity_state_var = 125 } }
			402 = { add_to_variable = { productivity_state_var = 125 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_ir_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_righteous_roads"
			custom_effect_tooltip = PER_decrease_productivity_100_TT
			1144 = { add_to_variable = { productivity_state_var = -200 } }
			402 = { add_to_variable = { productivity_state_var = -200 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_ir_5
		}
	}

# Moderate Islamists
	PER_firm_hand_of_the_law = {
		activation = { always = no }

		available = {
			OR = {
				has_idea = police_03
				has_idea = police_04
				has_idea = police_05
			}
			OR = {
				has_idea = corruption_level_05
				has_idea = corruption_level_04
				has_idea = corruption_level_03
				has_idea = corruption_level_02
				has_idea = corruption_level_01
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_firm_hand_of_the_law"
			set_temp_variable = { temp_opinion = 10 }
			change_intelligence_community_opinion = yes
			set_temp_variable = { temp_opinion = 10 }
			change_small_medium_business_owners_opinion = yes
			newline = yes
			add_ideas = PER_firm_control
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_firm_hand_of_the_law"
			set_temp_variable = { temp_opinion = -20 }
			change_intelligence_community_opinion = yes
			set_temp_variable = { temp_opinion = -20 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_1
		}
	}

	PER_demand_our_payments = {
		activation = { always = no }

		available = {
			OR = {
				has_country_flag = PER_iraq_accepted_to_pay_half_billion_weekly
				has_country_flag = PER_iraq_accepted_to_pay_one_billion_weekly
				has_country_flag = PER_iraq_accepted_to_pay_two_billion_weekly
				IRQ = { influence_higher_30 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_demand_our_payments"
			set_temp_variable = { percent_change = 10 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			newline = yes
			add_ideas = PER_firm_economics
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_demand_our_payments"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_2
		}
	}

	PER_nuclear_activities = {
		activation = { always = no }

		available = {
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = { nuclear_reactor > 0 }
			}
			if = {
				limit = { 1148 = { is_owned_and_controlled_by = PER } }
				1148 = { nuclear_reactor > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_nuclear_activities"
			two_random_nuclear_reactor = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_nuclear_activities"
			add_stability = -0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_3
		}
	}

	PER_the_mediator = {
		activation = { always = no }
		available = { OMA = { influence_higher_20 = yes } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_mediator"
			add_ideas = PER_mediation_politics
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_mediator"
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { influence_target = OMA }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { influence_target = UAE }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { influence_target = QAT }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_4
		}
	}

	PER_take_flight = {
		activation = { always = no }

		available = {
			if = {
				limit = { 407 = { is_owned_and_controlled_by = PER } }
				407 = { air_base > 4 }
			}
			if = {
				limit = { 976 = { is_owned_and_controlled_by = PER } }
				976 = { air_base > 4 }
			}
			if = {
				limit = { 401 = { is_owned_and_controlled_by = PER } }
				401 = { air_base > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_take_flight"
			add_ideas = PER_taking_flight
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_take_flight"
			add_timed_idea = {
				idea = PER_poor_air_control
				days = 500
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_5
		}
	}

	PER_the_SCO = {
		activation = { always = no }
		available = { is_sco = yes }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_SCO"
			three_random_industrial_complex = yes
			two_office_construction = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_SCO"
			set_temp_variable = { percent_change = 10 }
			set_temp_variable = { tag_index = CHI }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_moderates_6
		}
	}

# Libertarian
	PER_economic_disturbance = {
		activation = { always = no }
		available = { has_idea = economic_boom }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_economic_disturbance"
			increase_economic_growth = yes
			decrease_corruption = yes
			clr_country_flag = PER_doing_proposal
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_economic_disturbance"
			add_stability = -0.10
			clr_country_flag = PER_doing_proposal
		}
	}

	PER_the_tax_haven = {
		activation = { always = no }

		available = {
			population_tax_rate_below_26 = yes
			corporate_tax_rate_below_26 = yes
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_tax_haven"
			three_office_construction = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_tax_haven"
			decrease_economic_growth = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_2
		}
	}

	PER_money_everywhere = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_investments_500_TT
				check_variable = { int_investments > 499.99 }
			}
			has_idea = globalized_trade_economy
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_money_everywhere"
			add_ideas = PER_money_all_over
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_money_everywhere"
			set_temp_variable = { debt_change = 500 }
			modify_debt_effect = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_3
		}
	}

	PER_right_to_bear_arms = {
		activation = { always = no }

		available = {
			has_equipment = { infantry_weapons_type > 29999 }
			OR = {
				has_idea = police_01
				has_idea = police_02
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_right_to_bear_arms"
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.1 }
			change_relative_party_popularity = yes
			newline = yes
			set_temp_variable = { temp_opinion = 10 }
			change_the_military_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_right_to_bear_arms"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_4
		}
	}

	PER_exploiting_competition = {
		activation = { always = no }

		available = {
			OR = {
				IRQ = { has_idea = tribute_idea_PER }
				SYR = { has_idea = tribute_idea_PER }
				AFG = { has_idea = tribute_idea_PER }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_exploiting_competition"
			four_random_industrial_complex = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_exploiting_competition"
			custom_effect_tooltip = PER_less_250_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = -250 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_5
		}
	}

	PER_controlling_competition = {
		activation = { always = no }

		available = {
			OR = {
				SAU = { is_subject_of = PER }
				UAE = { is_subject_of = PER }
				KUW = { is_subject_of = PER }
				QAT = { is_subject_of = PER }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_controlling_competition"
			add_ideas = PER_controlled_competition
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_controlling_competition"
			add_political_power = -200
			newline = yes
			set_temp_variable = { percent_change = -10 }
			change_domestic_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_libertarian_6
		}
	}

# Green Prposal
	PER_renewable_capitals = {
		activation = { always = no }

		available = {
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = { renewable_energy_infra > 0 }
			}
			if = {
				limit = { 400 = { is_owned_and_controlled_by = PER } }
				400 = { renewable_energy_infra > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_renewable_capitals"
			add_ideas = PER_renewable_gains
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_renewable_capitals"
			add_resource = {
				type = oil
				amount = -10
				state = 399
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_1
		}
	}

	PER_nuclear_fumes = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = { nuclear_reactor > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_nuclear_fumes"
			add_tech_bonus = {
				name = PER_nuclear_fumes
				bonus = 0.85
				uses = 2
				category = CAT_nuclear_reactors
				category = CAT_nuclear_weapons
			} hidden_effect = { rq_eb_a5534292fe = yes }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_nuclear_fumes"
			decrease_economic_growth = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_2
		}
	}

	PER_farms_over_factories = {
		activation = { always = no }

		available = {
			if = {
				limit = { 978 = { is_owned_and_controlled_by = PER } }
				978 = { agriculture_district > 0 }
			}
			if = {
				limit = { 977 = { is_owned_and_controlled_by = PER } }
				977 = { agriculture_district > 0 }
			}
			if = {
				limit = { 1138 = { is_owned_and_controlled_by = PER } }
				1138 = { agriculture_district > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_farms_over_factories"
			add_ideas = PER_farm_regulations
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_farms_over_factories"
			add_stability = -0.08
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_3
		}
	}

	PER_the_electric_grid = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_battery_park_TT
				check_variable = { number_of_battery_parks > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_electric_grid"
			add_ideas = PER_battery_parks
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_electric_grid"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_green_4
		}
	}

	PER_oil_warehouses = {
		activation = { always = no }

		available = {
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = { fuel_silo > 4 }
			}
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = { fuel_silo > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_oil_warehouses"
			add_ideas = PER_black_gold
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_oil_warehouses"
			add_resource = {
				type = oil
				amount = -10
				state = 978 #Hormuzgan
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_1
		}
	}

	PER_priority_treatment = {
		activation = { always = no }

		available = {
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = {
					infrastructure > 4
					internet_station > 1
				}
			}
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = {
					infrastructure > 4
					internet_station > 1
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_priority_treatment"
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
					}
				}
			}
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
					}
				}
			}
			add_resource = {
				type = oil
				amount = 16
				state = 399
			}
			add_resource = {
				type = oil
				amount = 18
				state = 1146
			}
			set_temp_variable = { treasury_change = -45 }
			modify_treasury_effect = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_priority_treatment"
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_2
		}
	}

	PER_look_the_other_way = {
		activation = { always = no }

		available = {
			has_idea = economic_boom
			corporate_tax_rate_below_6 = yes
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_look_the_other_way"
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
					}
				}
			}
			if = {
				limit = { 407 = { is_owned_and_controlled_by = PER } }
				407 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
					}
				}
			}
			set_temp_variable = { treasury_change = -30 }
			modify_treasury_effect = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_look_the_other_way"
			custom_effect_tooltip = PER_corruption_3_TT
			hidden_effect = {
				increase_corruption = yes
				increase_corruption = yes
				increase_corruption = yes
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_3
		}
	}

	PER_open_borders_more_workers = {
		activation = { always = no }

		available = {
			OR = {
				has_idea = open_borders
				has_idea = slightly_regulated_immigration
			}
			if = {
				limit = { 978 = { is_owned_and_controlled_by = PER } }
				978 = { industrial_complex > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_open_borders_more_workers"
			add_ideas = PER_open_borders_bigger_workforce
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_open_borders_more_workers"
			decrease_economic_growth = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_oligarch_4
		}
	}

	# Monarchists
	PER_intervention_in_the_east = {
		activation = { always = no }

		available = {
			AFG = {
				has_volunteers_amount_from = {
					tag = PER
					count > 0
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_intervention_in_the_east"
			add_ideas = PER_volunteer_corp
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_intervention_in_the_east"
			set_temp_variable = { temp_opinion = -15 }
			change_the_military_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_1
		}
	}

	PER_air_facilities = {
		activation = { always = no }
		available = { any_owned_state = { air_facility > 0 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_air_facilities"
			set_temp_variable = { party_popularity_increase = 0.1 }
			set_temp_variable = { temp_outlook_increase = 0.15 }
			change_relative_party_popularity = yes
			newline = yes
			decrease_corruption = yes
			clr_country_flag = PER_doing_proposal
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_air_facilities"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
		}
	}

	PER_lessons_of_white_revolution = {
		activation = { always = no }
		available = { has_idea = economic_boom }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_lessons_of_white_revolution"
			three_office_construction = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_lessons_of_white_revolution"
			decrease_two_level_economic_growth = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_3
		}
	}

	PER_brother_nations = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = AFG }
				AFG = { influence_higher_20 = yes }
			}
			if = {
				limit = { country_exists = TAJ }
				TAJ = { influence_higher_20 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_brother_nations"
			set_temp_variable = { temp_opinion = 10 }
			change_the_military_opinion = yes
			newline = yes
			set_temp_variable = { temp_opinion = 10 }
			change_intelligence_community_opinion = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = KUR }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = AFG }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = TAJ }
			change_influence_percentage = yes
			if = {
				limit = { nationalist_right_wing_populists_are_in_power = yes }
				custom_effect_tooltip = PER_pan_TT
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_brother_nations"
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { influence_target = TAJ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -10 }
			set_temp_variable = { influence_target = AFG }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_4
		}
	}

	PER_fight_against_evil = {
		activation = { always = no }

		available = {
			OR = {
				HEZ = {
					is_subject_of = PER
					is_subject = yes
				}
				NOT = { country_exists = HEZ }
				has_war_with = HEZ
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_fight_against_evil"
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_fight_against_evil"
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = HEZ }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = HEZ }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = HEZ }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
			newline = yes
			set_temp_variable = { party_index = 9 }
			set_temp_variable = { party_popularity_increase = 0.15 }
			set_temp_variable = { temp_outlook_increase = 0.15 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_5
		}
	}

	PER_our_lost_jewel = {
		activation = { always = no }

		available = {
			OR = {
				BHR = { is_subject_of = PER }
				423 = { is_controlled_by = PER }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_lost_jewel"
			add_resource = {
				type = oil
				amount = 24
				state = 423
			}
			set_temp_variable = { treasury_change = -26.52 }
			modify_treasury_effect = yes
			if = {
				limit = { BHR = { is_subject_of = PER } }
				BHR = {
					give_resource_rights = { receiver = PER state = 423 }
				}
			}
			newline = yes
			add_ideas = PER_our_reach
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_lost_jewel"
			set_temp_variable = { percent_change = 10 }
			set_temp_variable = { tag_index = SAU }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 10 }
			set_temp_variable = { tag_index = SAU }
			set_temp_variable = { influence_target = BHR }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_6
		}
	}

	PER_the_lions_jungle = {
		activation = { always = no }

		available = {
			OR = {
				BHR = { is_subject_of = PER }
				423 = { is_controlled_by = PER }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_lions_jungle"
			add_ideas = PER_lions_jungle
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_lions_jungle"
			set_temp_variable = { percent_change = -15 }
			change_domestic_influence_percentage = yes
			newline = yes
			add_stability = -0.10
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_7
		}
	}

	PER_prosperity_of_the_people = {
		activation = { always = no }
		available = { gdp_per_capita_greater_than_35 = yes }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_prosperity_of_the_people"
			add_ideas = PER_prosperity_of_the_people_idea
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_8
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_prosperity_of_the_people"
			decrease_two_level_economic_growth = yes
			increase_corruption = yes
			block_edu_change = yes
			block_bureau_change = yes
			block_police_change = yes
			block_social_change = yes
			block_health_change = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_monarch_8
		}
	}

# Tondar
	PER_insurgencies_nowhere = {
		activation = { always = no }

		available = {
			OR = {
				NOT = { country_exists = TAL }
				TAL = { is_subject = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_insurgencies_nowhere"
			random_army_leader = { add_skill_level = 2 }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_fascist_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_insurgencies_nowhere"
			random_army_leader = { add_skill_level = -1 }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_fascist_1
		}
	}

# Artesh
	PER_jobs_in_the_arms_industry = {
		activation = { always = no }

		available = {
			if = {
				limit = { 402 = { is_owned_and_controlled_by = PER } }
				402 = { arms_factory > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_jobs_in_the_arms_industry"
			add_ideas = PER_arms_industries
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_jobs_in_the_arms_industry"
			405 = {
				add_extra_state_shared_building_slots = -2
				add_building_construction = {
					type = arms_factory
					level = -2
					instant_build = yes
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_1
		}
	}

	PER_clear_skies = {
		activation = { always = no }

		available = {
			if = {
				limit = { 407 = { is_owned_and_controlled_by = PER } }
				407 = { anti_air_building > 4 }
			}
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = { anti_air_building > 4 }
			}
			if = {
				limit = { 976 = { is_owned_and_controlled_by = PER } }
				976 = { anti_air_building > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_clear_skies"
			three_random_arms_factory = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_clear_skies"
			add_stability = -0.10
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_2
		}
	}

	PER_sound_of_marching_boots = {
		activation = { always = no }
		available = { has_army_manpower = { size > 399999 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_sound_of_marching_boots"
			add_ideas = PER_marching_boots
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_sound_of_marching_boots"
			decrease_military_spending = yes
			block_defence_change = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_3
		}
	}

	PER_endless_stockpiles = {
		activation = { always = no }
		available = { has_equipment = { medium_tank_chassis > 3999 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_endless_stockpiles"
			add_ideas = PER_open_for_business
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_endless_stockpiles"
			increase_corruption = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_4
		}
	}

	PER_calm_waters = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = { dockyard > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_calm_waters"
			two_random_dockyards = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_calm_waters"
			increase_corruption = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_artesh_5
		}
	}

# Reformists
	PER_national_connection = {
		activation = { always = no }

		highlight_states = {
			highlight_state_targets = {
				state = 400
				state = 402
				state = 405
				state = 979
			}
		}

		available = {
			if = {
				limit = { 400 = { is_owned_and_controlled_by = PER } }
				400 = { internet_station > 1 }
			}
			if = {
				limit = { 402 = { is_owned_and_controlled_by = PER } }
				402 = { internet_station > 1 }
			}
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = { internet_station > 1 }
			}
			if = {
				limit = { 979 = { is_owned_and_controlled_by = PER } }
				979 = { internet_station > 1 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_national_connection"
			two_office_construction = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_national_connection"
			405 = {
				add_extra_state_shared_building_slots = -2
				add_building_construction = {
					type = offices
					level = -2
					instant_build = yes
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_1
		}
	}

	PER_friends_from_across = {
		activation = { always = no }
		available = { has_non_aggression_pact_with = CHI }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_friends_from_across"
			two_random_industrial_complex = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_friends_from_across"
			set_temp_variable = { percent_change = 10 }
			set_temp_variable = { tag_index = CHI }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_2
		}
	}

	PER_booming_economy = {
		activation = { always = no }

		available = {
			has_idea = economic_boom
			debt_lower_than_1000 = yes
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_booming_economy"
			add_ideas = PER_centers_of_innovation_idea
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_booming_economy"
			decrease_economic_growth = yes
			increase_corruption = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_3
		}
	}

	PER_safe_flight = {
		activation = { always = no }

		available = {
			if = {
				limit = { 401 = { is_owned_and_controlled_by = PER } }
				401 = {
					air_base > 4
					radar_station > 2
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_safe_flight"
			add_ideas = PER_taking_flight
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_safe_flight"
			add_ideas = PER_poor_air_control
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_4
		}
	}

	PER_seagulls_screech = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1190 = { is_owned_and_controlled_by = PER } }
				1190 = {
					dockyard > 0
					coastal_bunker > 2
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_seagulls_screech"
			add_ideas = PER_seagulls_screech_idea
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_seagulls_screech"
			978 = {
				add_building_construction = {
					type = dockyard
					level = -1
				}
			}
			add_stability = -0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_5
		}
	}

	PER_brothers_to_the_east = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = TAJ }
				TAJ = { influence_higher_15 = yes }
			}
			if = {
				limit = { country_exists = AFG }
				AFG = { influence_higher_20 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_brothers_to_the_east"
			add_ideas = PER_our_reach2
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_brothers_to_the_east"
			add_political_power = -500
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_6
		}
	}

	PER_investments_everywhere = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_investments_500_TT
				check_variable = { int_investments > 499.99 }
			}
			has_idea = economic_boom
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_investments_everywhere"
			add_ideas = PER_money_all_over
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_investments_everywhere"
			set_temp_variable = { debt_change = 550 }
			modify_debt_effect = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_7
		}
	}

	PER_those_in_need = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1039 = { is_owned_and_controlled_by = PER } }
				1039 = { infrastructure > 3 }
			}
			if = {
				limit = { 401 = { is_owned_and_controlled_by = PER } }
				401 = { infrastructure > 3 }
			}
			if = {
				limit = { 408 = { is_owned_and_controlled_by = PER } }
				408 = { infrastructure > 3 }
			}
			if = {
				limit = { 1138 = { is_owned_and_controlled_by = PER } }
				1138 = { infrastructure > 3 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_those_in_need"
			decrease_corruption = yes
			increase_economic_growth = yes
			set_temp_variable = { temp_opinion = 10 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_8
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_those_in_need"
			set_temp_variable = { temp_opinion = -15 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_8
		}
	}

	PER_a_place_for_all = {
		activation = { always = no }

		available = {
			OR = {
				has_idea = social_04
				has_idea = social_05
				has_idea = social_06
			}
			if = {
				limit = { 1151 = { is_owned_and_controlled_by = PER } }
				1151 = {
					infrastructure > 2
					industrial_complex > 0
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_a_place_for_all"
			two_random_industrial_complex = yes
			newline = yes
			add_stability = 0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_9
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_a_place_for_all"
			block_social_change = yes
			block_migration_law_change = yes
			add_stability = -0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_9
		}
	}

	PER_productive_promises = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_employment_TT
				check_variable = { total_unemployed_percentage_display < 0.2 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_productive_promises"
			add_ideas = PER_jobs_abode
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_10
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_productive_promises"
			set_temp_variable = { temp_opinion = -10 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_10
		}
	}

	PER_faith_in_the_government = {
		activation = { always = no }

		available = {
			has_idea = bureau_05
			OR = {
				has_idea = corruption_level_02
				has_idea = corruption_level_01
			}
			NOT = { has_idea = corruption_level_04 }
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_faith_in_the_government"
			custom_effect_tooltip = PER_50_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = 50 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_11
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_faith_in_the_government"
			custom_effect_tooltip = PER_less_50_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = -50 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_11
		}
	}

	PER_breaks_for_the_needy = {
		activation = { always = no }

		available = {
			population_tax_rate_below_16 = yes
			corporate_tax_rate_above_14 = yes
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_breaks_for_the_needy"
			three_office_construction = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_12
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_breaks_for_the_needy"
			decrease_economic_growth = yes
			add_stability = -0.05
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_12
		}
	}

	PER_industrialization_of_rural_areas = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1039 = { is_owned_and_controlled_by = PER } }
				1039 = { industrial_complex > 0 }
			}
			if = {
				limit = { 1145 = { is_owned_and_controlled_by = PER } }
				1145 = { industrial_complex > 0 }
			}
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = { industrial_complex > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_industrialization_of_rural_areas"
			add_ideas = PER_rural_industrialization
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_13
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_industrialization_of_rural_areas"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_13
		}
	}

	PER_meddling_in_conflicts = {
		activation = { always = no }

		available = {
			if = {
				limit = { country_exists = TUR }
				TUR = { influence_higher_15 = yes }
			}
			if = {
				limit = { country_exists = GRE }
				GRE = { influence_higher_15 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_meddling_in_conflicts"
			add_ideas = PER_our_interests
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_14
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_meddling_in_conflicts"
			set_temp_variable = { percent_change = -15 }
			change_domestic_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_14
		}
	}

	PER_passive_aggressive_competition = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_less_20_vf_TT
				check_variable = { party_pop_array^9 < 0.20 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_passive_aggressive_competition"
			add_ideas = PER_political_grip
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_15
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_passive_aggressive_competition"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_15
		}
	}

	PER_new_energy = {
		activation = { always = no }

		available = {
			if = {
				limit = { 405 = { is_owned_and_controlled_by = PER } }
				405 = { renewable_energy_infra > 1 }
			}
			if = {
				limit = { 400 = { is_owned_and_controlled_by = PER } }
				400 = { renewable_energy_infra > 1 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_new_energy"
			add_ideas = PER_renewable_gains
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_16
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_new_energy"
			add_resource = {
				type = oil
				amount = -10
				state = 399
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_16
		}
	}

	PER_a_thriving_economy = {
		activation = { always = no }
		available = { interest_rate_lower_than_2 = yes }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_a_thriving_economy"
			add_ideas = PER_debt_combatants
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_17
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_a_thriving_economy"
			decrease_economic_growth = yes
			add_stability = -0.05
			hidden_effect = { decrease_economic_growth = yes }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_reformists_17
		}
	}

# Principalists
	PER_intervention_in_afghanistan = {
		activation = { always = no }

		available = {
			AFG = {
				has_volunteers_amount_from = {
					tag = PER
					count > 0
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_intervention_in_afghanistan"
			add_ideas = PER_volunteer_corp
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_1
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_intervention_in_afghanistan"
			set_temp_variable = { temp_opinion = -15 }
			change_the_military_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_1
		}
	}

	PER_developing_the_capital = {
		activation = { always = no }

		available = {
			405 = {
				infrastructure > 4
				internet_station > 1
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_developing_the_capital"
			add_ideas = PER_the_hammer_swings_both_ways
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_2
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_developing_the_capital"
			add_stability = -0.1
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_2
		}
	}

	PER_syrian_hand = {
		activation = { always = no }

		available = {
			SYR = {
				OR = {
					has_idea = faction_resistance_axis_member
					is_subject_of = PER
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_syrian_hand"
			add_ideas = PER_old_leverage
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_3
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_syrian_hand"
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = SYR }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = -5 }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = HEZ }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = IRQ }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_3
		}
	}

	PER_the_armys_suppliers = {
		activation = { always = no }

		available = {
			if = {
				limit = { 976 = { is_owned_and_controlled_by = PER } }
				976 = { arms_factory > 1 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_armys_suppliers"
			add_ideas = PER_arms_industries
			set_temp_variable = { temp_opinion = 5 }
			change_the_military_opinion = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_4
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_armys_suppliers"
			405 = {
				add_extra_state_shared_building_slots = -2
				add_building_construction = {
					type = arms_factory
					level = -2
					instant_build = yes
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_4
		}
	}

	PER_ease_of_prayer = {
		activation = { always = no }

		available = {
			if = {
				limit = { 1144 = { is_owned_and_controlled_by = PER } }
				1144 = {
					infrastructure > 4
					internet_station > 1
				}
			}
			if = {
				limit = { 402 = { is_owned_and_controlled_by = PER } }
				402 = {
					infrastructure > 4
					internet_station > 1
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_ease_of_prayer"
			custom_effect_tooltip = PER_increase_productivity_100_TT
			1144 = { add_to_variable = { productivity_state_var = 125 } }
			402 = { add_to_variable = { productivity_state_var = 125 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_5
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_ease_of_prayer"
			custom_effect_tooltip = PER_decrease_productivity_100_TT
			1144 = { add_to_variable = { productivity_state_var = -200 } }
			402 = { add_to_variable = { productivity_state_var = -200 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_5
		}
	}

	PER_our_rightful_money = {
		activation = { always = no }

		available = {
			OR = {
				has_country_flag = PER_iraq_accepted_to_pay_half_billion_weekly
				has_country_flag = PER_iraq_accepted_to_pay_one_billion_weekly
				has_country_flag = PER_iraq_accepted_to_pay_two_billion_weekly
				IRQ = { influence_higher_50 = yes }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_rightful_money"
			set_temp_variable = { percent_change = 10 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
			newline = yes
			add_ideas = PER_firm_economics
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_6
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_our_rightful_money"
			set_temp_variable = { party_popularity_increase = -0.1 }
			set_temp_variable = { temp_outlook_increase = -0.1 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_6
		}
	}

	PER_enemies_on_a_leash = {
		activation = { always = no }

		available = {
			OR = {
				SAU = { is_subject_of = PER }
				UAE = { is_subject_of = PER }
				KUW = { is_subject_of = PER }
				QAT = { is_subject_of = PER }
				AND = {
					NOT = { country_exists = SAU }
					NOT = { country_exists = UAE }
					NOT = { country_exists = KUW }
					NOT = { country_exists = QAT }
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_enemies_on_a_leash"
			add_ideas = PER_controlled_competition
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_7
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_enemies_on_a_leash"
			add_political_power = -200
			newline = yes
			set_temp_variable = { percent_change = -10 }
			change_domestic_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_7
		}
	}

	PER_fighting_foreigners = {
		activation = { always = no }

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_USA_NOT_TOP_5_TT
				JOR = {
					NOT = {
						OR = {
							check_variable = { influence_array^0 = USA }
							check_variable = { influence_array^1 = USA }
							check_variable = { influence_array^2 = USA }
							check_variable = { influence_array^3 = USA }
							check_variable = { influence_array^4 = USA }
						}
					}
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_fighting_foreigners"
			add_ideas = PER_strength_of_our_lobby
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_8
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_fighting_foreigners"
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = USA }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			set_temp_variable = { percent_change = 5 }
			set_temp_variable = { tag_index = ISR }
			set_temp_variable = { influence_target = PER }
			change_influence_percentage = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_8
		}
	}

	PER_the_supplier_of_martyrs = {
		activation = { always = no }
		available = { has_equipment = { medium_plane_suicide_airframe > 4999 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_supplier_of_martyrs"
			add_ideas = PER_open_for_business
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_9
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_the_supplier_of_martyrs"
			increase_corruption = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_9
		}
	}

	PER_aiding_the_farmer = {
		activation = { always = no }

		available = {
			if = {
				limit = { 408 = { is_owned_and_controlled_by = PER } }
				408 = { agriculture_district > 0 }
			}
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = { agriculture_district > 0 }
			}
			if = {
				limit = { 406 = { is_owned_and_controlled_by = PER } }
				406 = { agriculture_district > 0 }
			}
			if = {
				limit = { 404 = { is_owned_and_controlled_by = PER } }
				404 = { agriculture_district > 0 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_aiding_the_farmer"
			add_ideas = PER_green_fields
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_10
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_aiding_the_farmer"
			set_temp_variable = { party_index = 8 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			newline = yes
			set_temp_variable = { party_index = 9 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_10
		}
	}

	PER_fueling_our_revolution = {
		activation = { always = no }

		available = {
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = {
					infrastructure > 4
					fuel_silo > 4
				}
			}
			if = {
				limit = { 1146 = { is_owned_and_controlled_by = PER } }
				1146 = {
					infrastructure > 4
					fuel_silo > 4
				}
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_fueling_our_revolution"
			399 = {
				add_resource = {
					type = oil
					amount = 17
				}
			}
			1146 = {
				add_resource = {
					type = oil
					amount = 15
				}
			}
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_11
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_fueling_our_revolution"
			clr_country_flag = PER_doing_proposal
			399 = {
				add_resource = {
					type = oil
					amount = -10
				}
			}
			1146 = {
				add_resource = {
					type = oil
					amount = -10
				}
			}
			set_country_flag = PER_did_principalists_11
		}
	}

	PER_outnumbering_the_enemy = {
		activation = { always = no }
		available = { has_army_manpower = { size > 449999 } }
		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_outnumbering_the_enemy"
			add_ideas = PER_marching_boots
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_12
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_outnumbering_the_enemy"
			decrease_military_spending = yes
			block_defence_change = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_12
		}
	}

	PER_safety_with_stability = {
		activation = { always = no }

		available = {
			has_stability > 0.74
			OR = {
				has_idea = police_04
				has_idea = police_05
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_safety_with_stability"
			add_ideas = PER_safety_security_stability_idea
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_13
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_safety_with_stability"
			clr_country_flag = PER_doing_proposal
			block_police_change = yes
			add_stability = -0.05
			set_country_flag = PER_did_principalists_13
		}
	}

	PER_national_deterrents = {
		activation = { always = no }

		available = {
			if = {
				limit = { 403 = { is_owned_and_controlled_by = PER } }
				403 = { rocket_site > 4 }
			}
			if = {
				limit = { 399 = { is_owned_and_controlled_by = PER } }
				399 = { rocket_site > 4 }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_national_deterrents"
			add_ideas = PER_the_thorns
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_14
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_national_deterrents"
			set_temp_variable = { treasury_change = -47.50 }
			modify_treasury_effect = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_14
		}
	}

	PER_exploiting_our_proxies = {
		activation = { always = no }

		available = {
			OR = {
				IRQ = { has_idea = tribute_idea_PER }
				SYR = { has_idea = tribute_idea_PER }
				LEB = { has_idea = tribute_idea_PER }
				PER = { has_cosmetic_tag = UNITED_ISLAMIC_REPUBLICS }
			}
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_exploiting_our_proxies"
			four_random_industrial_complex = yes
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_15
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_exploiting_our_proxies"
			custom_effect_tooltip = PER_less_250_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = -250 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_15
		}
	}

	PER_productive_state = {
		activation = { always = no }

		available = {
			overall_productivity_greater_than_900 = yes
			has_idea = edu_05
		}

		days_mission_timeout = 500
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_productive_state"
			two_office_construction = yes
			newline = yes
			custom_effect_tooltip = PER_50_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = 50 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_16
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_productive_state"
			custom_effect_tooltip = PER_less_50_productivity_in_each_state
			every_core_state = { add_to_variable = { productivity_state_var = -50 } }
			clr_country_flag = PER_doing_proposal
			set_country_flag = PER_did_principalists_16
		}
	}

# CHECK FOR DEBATE
	PER_debate_now = {
		activation = { always = no }
		available = { has_country_flag = PER_doing_proposal }
		days_mission_timeout = 21
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_debate_now"
			clr_country_flag = PER_debate_ongoing
			clr_country_flag = PER_doing_proposal
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_debate_now"
			clr_country_flag = PER_debate_ongoing
			clr_country_flag = PER_doing_proposal
			add_political_power = -100
		}
	}
}

# Representatives of the Artesh ## 20
# Have at least 5 Sattelites in space
# Control Musandam

PER_nuclear_ambitions = {
	PER_cave_to_western_demands = {
		visible = { has_country_flag = PER_sanctioned }
		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_cave_to_western_demands"
			custom_effect_tooltip = PER_no_more_nukes_TT
			set_country_flag = PER_its_joever_nukes
			set_country_flag = PER_nuclear_negotiations
			clr_country_flag = PER_sanctioned
			custom_effect_tooltip = PER_can_negotiate_again_TT
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_1
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_2
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_3
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_4
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_5
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_6
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_7
					amount = -10000
				}
				add_equipment_to_stockpile = {
					type = nuclear_missile_equipment_8
					amount = -10000
				}
			}
			if = {
				limit = { NOT = { has_completed_focus = PER_the_grand_bargain } }
				complete_national_focus = PER_the_grand_bargain
			}
		}

		ai_will_do = { base = 0 }
	}

	PER_nuclear_disarming = {
		activation = { always = no }

		available = {
			OR = {
				has_idea = non_nuclear_power
				has_idea = nuclear_energy
			}
			has_idea = no_use_case
			has_idea = PER_restrictions_on_nuclear_weapons
		}

		days_mission_timeout = 300
		is_good = no

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_nuclear_disarming"
			custom_effect_tooltip = PER_iran_behave_TT
			USA = {
				country_event = {
					id = nuclear_iran.28
					days = 1
				}
				set_country_flag = PER_iran_behaves
			}
			set_country_flag = PER_its_joever_nukes
		}

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_nuclear_disarming"
			USA = {
				set_country_flag = {
					flag = PER_iran_misbehaved
					days = 270
					value = 1
				}
				country_event = {
					id = nuclear_iran.27
					days = 1
				}
			}
			clr_country_flag = PER_its_joever_nukes
			clr_country_flag = PER_nuclear_negotiations
		}
	}
}

PER_expose_iran = {
	expose_iranian_nuclear_program = {
		visible = {
			ROOT = {
				network_strength = {
					target = PER
					value > 89.99
				}
			}
			PER = {
				NOT = { has_country_flag = PER_nuclear_known }
				has_completed_focus = PER_natanz_nuclear_facility
			}
		}

		fire_only_once = yes

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision timeout expose_iranian_nuclear_program"
			USA = { country_event = nuclear_iran.20 }
		}

		ai_will_do = { base = 0 }
	}
}

PER_bonyad_resources = {
	PER_liquify_khorasan = {
		icon = GFX_decision_generic_factory
		fire_only_once = yes
		days_remove = 60
		highlight_states = { highlight_state_targets = { state = 402 } }

		available = {
			402 = { is_owned_and_controlled_by = PER }
			NOT = { has_country_flag = PER_doing_decision_x }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_khorasan"
			set_country_flag = PER_doing_decision_x
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_khorasan"
			clr_country_flag = PER_doing_decision_x
			402 = {
				add_resource = {
					type = steel
					amount = -6
				}
			}
			newline = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_economy_modifier }
			add_to_variable = { PER_tax_gain_multiplier_modifier = 0.03 tooltip = tax_gain_multiplier_modifier_tt }
		}

		ai_will_do = { base = 10 }
	}

	PER_tehran_shiraz_metal = {
		icon = GFX_decision_generic_factory
		fire_only_once = yes
		days_remove = 60

		highlight_states = {
			highlight_state_targets = {
				state = 405
				state = 400
			}
		}

		available = {
			405 = { is_owned_and_controlled_by = PER }
			400 = { is_owned_and_controlled_by = PER }
			NOT = { has_country_flag = PER_doing_decision_x }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_tehran_shiraz_metal"
			set_country_flag = PER_doing_decision_x
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_tehran_shiraz_metal"
			clr_country_flag = PER_doing_decision_x
			405 = {
				add_resource = {
					type = tungsten
					amount = -3
				}
			}
			400 = {
				add_resource = {
					type = aluminium
					amount = -4
				}
			}
			newline = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_economy_modifier }
			add_to_variable = { PER_tax_gain_multiplier_modifier = 0.03 tooltip = tax_gain_multiplier_modifier_tt }
		}

		ai_will_do = { base = 10 }
	}

	PER_liquify_khuzestan = {
		icon = GFX_decision_generic_factory
		fire_only_once = yes
		days_remove = 60
		highlight_states = { highlight_state_targets = { state = 399 } }

		available = {
			399 = { is_owned_and_controlled_by = PER }
			NOT = { has_country_flag = PER_doing_decision_x }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_khuzestan"
			set_country_flag = PER_doing_decision_x
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_khuzestan"
			clr_country_flag = PER_doing_decision_x
			399 = {
				add_resource = {
					type = oil
					amount = -7
				}
			}
			newline = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_economy_modifier }
			add_to_variable = { PER_tax_gain_multiplier_modifier = 0.03 tooltip = tax_gain_multiplier_modifier_tt }
		}

		ai_will_do = { base = 10 }
	}

	PER_liquify_hormuz = {
		icon = GFX_decision_generic_factory
		fire_only_once = yes
		days_remove = 60
		highlight_states = { highlight_state_targets = { state = 978 } }

		available = {
			978 = { is_owned_and_controlled_by = PER }
			NOT = { has_country_flag = PER_doing_decision_x }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_hormuz"
			set_country_flag = PER_doing_decision_x
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_hormuz"
			clr_country_flag = PER_doing_decision_x
			978 = {
				add_resource = {
					type = oil
					amount = -4
				}
			}
			newline = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_economy_modifier }
			add_to_variable = { PER_tax_gain_multiplier_modifier = 0.03 tooltip = tax_gain_multiplier_modifier_tt }
		}

		ai_will_do = { base = 10 }
	}

	PER_liquify_yazd = {
		icon = GFX_decision_generic_factory
		fire_only_once = yes
		days_remove = 60
		highlight_states = { highlight_state_targets = { state = 1147 } }

		available = {
			1147 = { is_owned_and_controlled_by = PER }
			NOT = { has_country_flag = PER_doing_decision_x }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_yazd"
			set_country_flag = PER_doing_decision_x
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_liquify_yazd"
			clr_country_flag = PER_doing_decision_x
			1147 = {
				add_resource = {
					type = oil
					amount = -4
				}
			}
			newline = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = PER_economy_modifier }
			add_to_variable = { PER_tax_gain_multiplier_modifier = 0.03 tooltip = tax_gain_multiplier_modifier_tt }
		}

		ai_will_do = { base = 10 }
	}
}

PER_lor_resistance = {
	PER_mobilize_the_tribes = {
		icon = GFX_decision_generic_independence
		fire_only_once = yes
		days_remove = 30
		highlight_states = { highlight_state_targets = { state = 406 } }

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_mobilize_the_tribes"
			custom_effect_tooltip = PER_lor_units_TT
			hidden_effect = {
				PER = {
					if = {
						limit = { NOT = { has_template = "Tip-e Piade Nezam" } }
						division_template = {
							name = "Tip-e Piade Nezam"
							division_names_group = PER_INF_01
							regiments = {
								L_Inf_Bat = { x = 0 y = 0 }
								L_Inf_Bat = { x = 0 y = 1 }
								L_Inf_Bat = { x = 0 y = 2 }
								L_Inf_Bat = { x = 1 y = 0 }
								Arty_Bat = { x = 1 y = 1 }
								SP_Arty_Bat = { x = 1 y = 2 }
							}
							regimental_support = {
								armor_Comp = { x = 0 y = 0 }
							}
							support = {
								L_Engi_Comp = { x = 0 y = 0 }
							}
						}
					}
					set_province_controller = 3908
					set_province_controller = 1922
					set_province_controller = 15483
					set_province_controller = 9074
				}
				406 = {
					create_unit = {
						division = "name = \"Niru-ye Moghavemat-e Bakhtiari\" division_template = \"Tip-e Piade Nezam\" start_experience_factor = 0.45 start_equipment_factor = 0.15"
						count = 1
						prioritize_location = 3908
						owner = PER
					}
					create_unit = {
						division = "name = \"Niru-ye Moghavemat-e Shahr-e Kord\" division_template = \"Tip-e Piade Nezam\" start_experience_factor = 0.45 start_equipment_factor = 0.15"
						count = 1
						prioritize_location = 1922
						owner = PER
					}
					create_unit = {
						division = "name = \"Niru-ye Moghavemat-e Khorramabad\" division_template = \"Tip-e Piade Nezam\" start_experience_factor = 0.45 start_equipment_factor = 0.15"
						count = 1
						prioritize_location = 15483
						owner = PER
					}
					create_unit = {
						division = "name = \"Niru-ye Moghavemat-e Borujerd\" division_template = \"Tip-e Piade Nezam\" start_experience_factor = 0.45 start_equipment_factor = 0.15"
						count = 1
						prioritize_location = 9074
						owner = PER
					}
				}
			}
		}

		ai_will_do = { base = 10 }
	}
}

PER_basij_fervor = {
	PER_mobilize_basij_construction = {
		icon = GFX_decision_generic_construction

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_basij_mobility_20_TT
				check_variable = { islamic_propaganda_status > 19 }
			}
			NOT = {
				OR = {
					has_country_flag = PER_basij_const_1_year
					has_country_flag = PER_basij_fervor_drain
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_mobilize_basij_construction"
			add_ideas = PER_basij_construction_effort
			set_country_flag = PER_basij_variable_stop
			set_country_flag = PER_basij_fervor_drain
			set_country_flag = {
				flag = PER_basij_const_1_year
				days = 360
				value = 1
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_mobilize_basij_education = {
		icon = GFX_decision_eng_trade_unions_demand

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_basij_mobility_20_TT
				check_variable = { islamic_propaganda_status > 19 }
			}
			NOT = {
				OR = {
					has_country_flag = PER_basij_edu_1_year
					has_country_flag = PER_basij_fervor_drain
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_mobilize_basij_education"
			add_ideas = PER_basij_education_effort
			set_country_flag = PER_basij_variable_stop
			set_country_flag = PER_basij_fervor_drain
			set_country_flag = {
				flag = PER_basij_edu_1_year
				days = 360
				value = 1
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_mobilize_basij_war = {
		icon = GFX_decision_generic_prepare_civil_war

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_basij_mobility_20_TT
				check_variable = { islamic_propaganda_status > 19 }
			}
			has_war = yes
			NOT = {
				OR = {
					has_country_flag = PER_basij_war_1_year
					has_country_flag = PER_basij_fervor_drain
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_mobilize_basij_war"
			add_ideas = PER_basij_war_effort
			set_country_flag = PER_basij_variable_stop
			set_country_flag = PER_basij_fervor_drain
			set_country_flag = {
				flag = PER_basij_war_1_year
				days = 360
				value = 1
			}
		}

		ai_will_do = { base = 10 }
	}

	# Non-Modifier Basij Uses
	# Mobilize Parade
	PER_basij_parade = {
		icon = GFX_decision_generic_form_nation

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_basij_mobility_20_TT
				check_variable = { islamic_propaganda_status > 19 }
			}
			NOT = {
				OR = {
					has_country_flag = PER_basij_parade_1_year
					has_country_flag = PER_basij_fervor_drain
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_basij_parade"
			custom_effect_tooltip = PER_15_reduced_basij_TT
			add_to_variable = { var = islamic_propaganda_status value = -15 }
			clamp_variable = { var = islamic_propaganda_status min = 0 max = 100 }
			newline = yes
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.1
			}
			set_country_flag = {
				flag = PER_basij_parade_1_year
				days = 360
				value = 1
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_basij_vote_suggestion = {
		icon = GFX_decision_generic_civil_support

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_basij_mobility_20_TT
				check_variable = { islamic_propaganda_status > 19 }
			}
			NOT = {
				OR = {
					has_country_flag = PER_basij_vote_1_year
					has_country_flag = PER_basij_fervor_drain
				}
			}
			has_country_flag = PER_election_enabled
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_basij_vote_suggestion"
			set_country_flag = {
				flag = PER_basij_vote_1_year
				days = 360
				value = 1
			}
			country_event = iranian_focus.35
			newline = yes
			custom_effect_tooltip = PER_15_reduced_basij_TT
			add_to_variable = { var = islamic_propaganda_status value = -15 }
			clamp_variable = { var = islamic_propaganda_status min = 0 max = 100 }
		}

		ai_will_do = { base = 10 }
	}

	PER_basij_protest_utilization = {
		icon = generic_police_action

		available = {
			custom_trigger_tooltip = {
				tooltip = PER_basij_mobility_20_TT
				check_variable = { islamic_propaganda_status > 19 }
			}
			NOT = {
				OR = {
					has_country_flag = PER_basij_protest_1_year
					has_country_flag = PER_basij_fervor_drain
				}
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_basij_protest_utilization"
			add_ideas = PER_basij_protest_mobilization
			set_country_flag = PER_basij_variable_stop
			set_country_flag = PER_basij_fervor_drain
			set_country_flag = {
				flag = PER_basij_protest_1_year
				days = 360
				value = 1
			}
		}

		ai_will_do = { base = 10 }
	}
}

PER_cento_decisions = {
	PER_invite_afghanistan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			AFG = {
				OR = {
					has_government = democratic
					has_government = neutrality
					nationalist_military_junta_are_in_power = yes
					nationalist_right_wing_populists_are_in_power = yes
					nationalist_monarchists_are_in_power = yes
				}
				NOT = { has_war_with = PER }
			}
		}

		visible = {
			country_exists = AFG
			AFG = { NOT = { is_subject = yes } }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_afghanistan"
			AFG = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = AFG }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	# Invite Tajikistan
	PER_invite_tajikistan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			TAJ = {
				OR = {
					has_government = democratic
					has_government = neutrality
					nationalist_military_junta_are_in_power = yes
					nationalist_right_wing_populists_are_in_power = yes
				}
				NOT = { has_war_with = PER }
			}
		}

		visible = {
			country_exists = TAJ
			TAJ = { NOT = { is_subject = yes } }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_tajikistan"
			TAJ = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = TAJ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	# Invite Pakistan
	PER_invite_pakistan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			PAK = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				NOT = { has_war_with = PER }
			}
		}

		visible = {
			country_exists = PAK
			PAK = { NOT = { is_subject = yes } }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_pakistan"
			PAK = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = PAK }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	# Invite Iraq
	PER_invite_iraq2 = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			IRQ = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				NOT = { has_war_with = PER }
			}
		}

		visible = {
			country_exists = IRQ
			IRQ = { NOT = { is_subject = yes } }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_iraq2"
			IRQ = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = IRQ }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	# Invite Lebanon
	PER_invite_lebanon2 = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			LEB = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
		}

		visible = {
			country_exists = LEB
			LEB = { NOT = { is_subject = yes } }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_lebanon2"
			LEB = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = LEB }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_invite_jordan = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			JOR = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
			}
		}

		visible = {
			country_exists = JOR
			JOR = { NOT = { is_subject = yes } }
			has_completed_focus = PER_challenge_saudi_hegemony
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_jordan"
			JOR = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = JOR }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_invite_egypt = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			EGY = {
				OR = {
					has_government = democratic
					has_government = neutrality
					has_government = nationalist
				}
			}
		}

		visible = {
			country_exists = EGY
			EGY = { NOT = { is_subject = yes } }
			has_completed_focus = PER_challenge_saudi_hegemony
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_egypt"
			EGY = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = EGY }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_invite_morocco = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			MOR = {
				OR = {
					has_government = democratic
					has_government = neutrality
					has_government = nationalist
				}
			}
		}

		visible = {
			country_exists = MOR
			MOR = { NOT = { is_subject = yes } }
			has_completed_focus = PER_challenge_saudi_hegemony
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_morocco"
			MOR = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = MOR }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_invite_yemen = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 30

		available = {
			YEM = {
				OR = {
					has_government = democratic
					has_government = neutrality
					has_government = nationalist
				}
			}
		}

		visible = {
			country_exists = YEM
			YEM = { NOT = { is_subject = yes } }
			has_completed_focus = PER_challenge_saudi_hegemony
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_invite_yemen"
			YEM = {
				country_event = {
					id = iranian_focus.54
					days = 2
				}
			}
			newline = yes
			custom_effect_tooltip = PER_willingness_to_accept_medium_TT
			custom_effect_tooltip = PER_willingness_to_accept2_TT
			newline = yes
			set_temp_variable = { percent_change = 3 }
			set_temp_variable = { influence_target = YEM }
			change_influence_percentage = yes
		}

		ai_will_do = { base = 10 }
	}

	PER_intervene_in_syria = {
		icon = GFX_decision_generic_form_nation
		fire_only_once = yes
		days_remove = 12

		visible = {
			has_completed_focus = PER_syrian_brothers
			FSA = { has_war_with = SYR }
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_intervene_in_syria"
			every_country = {
				limit = { has_idea = faction_cento_alliance }
				country_event = {
					id = iranian_focus.69
					days = 1
				}
			}
			news_event = iranian_focus.70
		}

		ai_will_do = { base = 10 }
	}
}

PER_hazara_uprising = {
	PER_hazari_uprising = {
		activation = { always = no }
		available = { NOT = { country_exists = HAZ } }
		days_mission_timeout = 180
		is_good = no

		timeout_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_hazari_uprising"
			PER = { country_event = iranian_focus.88 }
			HAZ = {
				white_peace = TAL
				white_peace = AFG
			}
		}
	}
}
PER_war_in_yemen = {
	PER_demand_houthi_perform_offensive = {
		icon = GFX_decision_eng_propaganda_campaigns
		days_re_enable = 50
		days_remove = 30

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		visible = { HOU = { is_ai = yes } }
		modifier = { political_power_gain = -0.05 }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_demand_houthi_perform_offensive"
			set_global_flag = HOU_Houthi_offensive
			custom_effect_tooltip = PER_HOU_Houthi_offensive_TT
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_demand_houthi_perform_offensive"
			clr_global_flag = HOU_Houthi_offensive
		}

		ai_will_do = { base = 10 }
	}
}

PER_resistance_movement = {
	PER_throttle_internet_speeds = {
		days_remove = 30
		icon = generic_nationalism
		available = { NOT = { has_country_flag = PER_doing_decision_y } }
		days_re_enable = 14

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_throttle_internet_speeds"
			set_country_flag = PER_doing_decision_y
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_throttle_internet_speeds"
			custom_effect_tooltip = PER_protester_exhaustion_TT
			clr_country_flag = PER_doing_decision_y
		}

		modifier = {
			research_speed_factor = -0.15
			stability_weekly = -0.01
		}

		ai_will_do = { base = 100 }
	}

	PER_nationwide_security_presence = {
		days_remove = 30
		icon = generic_nationalism
		available = { NOT = { has_country_flag = PER_doing_decision_y } }
		days_re_enable = 14

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_nationwide_security_presence"
			set_country_flag = PER_doing_decision_y
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_nationwide_security_presence"
			custom_effect_tooltip = PER_protester_exhaustion_TT
			clr_country_flag = PER_doing_decision_y
		}

		modifier = {
			police_cost_multiplier_modifier = 0.10
			stability_weekly = -0.01
		}

		ai_will_do = { base = 100 }
	}

	PER_fund_pro_government_protests = {
		days_remove = 30
		icon = generic_nationalism
		available = { NOT = { has_country_flag = PER_doing_decision_y } }
		days_re_enable = 14

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_fund_pro_government_protests"
			set_country_flag = PER_doing_decision_y
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_fund_pro_government_protests"
			custom_effect_tooltip = PER_protester_exhaustion_TT
			clr_country_flag = PER_doing_decision_y
		}

		modifier = {
			political_power_gain = -1.00
			stability_weekly = -0.01
		}

		ai_will_do = { base = 100 }
	}

	PER_deploy_security_khoy_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		cost = 25
		icon = generic_nationalism
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1039 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1039 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_khoy_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_khoy_1"
			clr_country_flag = PER_doing_decision
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1039 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_khoy_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1039 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_khoy_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1039 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_khoy_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# West Azerbaijan
	PER_deploy_security_west_azarbaijan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 979 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			979 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_west_azarbaijan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_west_azarbaijan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							979 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_west_azerbaijan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							979 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_west_azerbaijan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							979 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_west_azerbaijan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Azarbaijan
	PER_deploy_security_azarbaijan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 407 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			407 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_azarbaijan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_azarbaijan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							407 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_azerbaijan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							407 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_azerbaijan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							407 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_azerbaijan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Kordestan
	PER_deploy_security_kordestan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 408 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			408 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_kordestan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_kordestan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							408 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kordestan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							408 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kordestan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							408 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kordestan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Kermanshah
	PER_deploy_security_kermanshah_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1139 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1139 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_kermanshah_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_kermanshah_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1139 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kermanshah_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1139 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kermanshah_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1139 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kermanshah_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Ilam
	PER_deploy_security_ilam_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1138 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1138 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_ilam_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_ilam_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1138 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_ilam_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1138 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_ilam_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1138 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_ilam_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Khuzestan
	PER_deploy_security_khuzestan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 399 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			399 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_khuzestan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_khuzestan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							399 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_khuzestan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							399 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_khuzestan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							399 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_khuzestan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Hamadan
	PER_deploy_security_hamadan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1148 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1148 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_hamadan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_hamadan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1148 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_hamadan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1148 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_hamadan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1148 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_hamadan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Lorestan
	PER_deploy_security_lorestan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 406 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			406 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_lorestan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_lorestan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							406 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_lorestan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							406 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_lorestan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							406 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_lorestan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Markazi
	PER_deploy_security_markazi_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 404 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			404 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_markazi_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_markazi_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							404 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_markazi_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							404 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_markazi_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							404 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_markazi_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Qom
	PER_deploy_security_qom_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1144 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1144 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_qom_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_qom_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1144 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_qom_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1144 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_qom_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1144 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_qom_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Tehran
	PER_deploy_security_tehran_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 405 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			405 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_tehran_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_tehran_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							405 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_tehran_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							405 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_tehran_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							405 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_tehran_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Semnan
	PER_deploy_security_semnan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1149 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1149 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_semnan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_semnan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1149 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_semnan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1149 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_semnan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1149 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_semnan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Esfahan
	PER_deploy_security_esfahan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 976 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			976 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_esfahan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_esfahan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							976 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_esfahan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							976 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_esfahan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							976 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_esfahan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Fars
	PER_deploy_security_fars_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 400 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			400 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_fars_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_fars_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							400 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_fars_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							400 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_fars_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							400 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_fars_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Bushehr
	PER_deploy_security_bushehr_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1146 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1146 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_bushehr_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_bushehr_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1146 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_bushehr_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1146 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_bushehr_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1146 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_bushehr_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Yazd
	PER_deploy_security_yazd_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1147 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1147 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_yazd_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_yazd_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1147 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_yazd_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1147 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_yazd_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1147 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_yazd_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Gilan
	PER_deploy_security_gilan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1073 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1073 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_gilan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_gilan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1073 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_gilan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1073 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_gilan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1073 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_gilan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Mazandaran
	PER_deploy_security_mazandaran_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 403 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			403 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_mazandaran_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_mazandaran_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							403 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_mazandaran_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							403 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_mazandaran_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							403 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_mazandaran_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Golestan
	PER_deploy_security_golestan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1145 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1145 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_golestan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_golestan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1145 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_golestan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1145 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_golestan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1145 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_golestan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# North Khorasan
	PER_deploy_security_north_khorasan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1150 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1150 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_north_khorasan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_north_khorasan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1150 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_north_khorasan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1150 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_north_khorasan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1150 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_north_khorasan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Razavi Khorasan
	PER_deploy_security_razavi_khorasan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 402 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			402 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_razavi_khorasan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_razavi_khorasan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							402 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_razavi_khorasan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							402 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_razavi_khorasan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							402 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_razavi_khorasan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# South Khorasan
	PER_deploy_security_south_khorasan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 1151 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			1151 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_south_khorasan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_south_khorasan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1151 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_south_khorasan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1151 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_south_khorasan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							1151 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_south_khorasan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Kerman
	PER_deploy_security_kerman_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 977 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			977 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_kerman_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_kerman_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							977 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kerman_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							977 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kerman_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							977 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_kerman_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Balochistan
	PER_deploy_security_balochistan_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 401 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			401 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_balochistan_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_balochistan_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							401 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_balochistan_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							401 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_balochistan_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							401 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_balochistan_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}

	# Hormuz
	PER_deploy_security_hormuz_1 = {
		fixed_random_seed = no
		days_remove = 14
		on_map_mode = map_only
		icon = generic_nationalism
		cost = 25
		days_re_enable = 14
		highlight_states = { highlight_state_targets = { state = 978 } }

		available = {
			custom_trigger_tooltip = {
				tooltip = only_one_decision_is_available_TT
				NOT = { has_country_flag = PER_doing_decision }
			}
			978 = { has_state_flag = PER_locals_swayed }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_hormuz_1"
			set_country_flag = PER_doing_decision
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_deploy_security_hormuz_1"
			clr_country_flag = PER_doing_decision
			custom_effect_tooltip = PER_deploys_security_TT
			hidden_effect = {
				if = {
					limit = { check_variable = { the_military_opinion > 60 } }
					random_list = {
						70 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							978 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_hormuz_fell_recently value = 1 days = 180 }
						}
						30 = { country_event = iranian_events.201 }
					}
				}
				else_if = {
					limit = { check_variable = { the_military_opinion > 50 } }
					random_list = {
						50 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							978 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_hormuz_fell_recently value = 1 days = 180 }
						}
						50 = { country_event = iranian_events.201 }
					}
				}
				else = {
					random_list = {
						30 = {
							modifier = {
								factor = 1.6
								has_idea = PER_basij_protest_mobilization
							}
							country_event = iranian_events.200
							978 = { PER_unsway_state = yes }
							set_country_flag = { flag = PER_hormuz_fell_recently value = 1 days = 180 }
						}
						70 = { country_event = iranian_events.201 }
					}
				}
			}
		}

		ai_will_do = { base = 100 }
	}
}

PER_clergy_balance_of_power_category = {
	PER_seda_o_sima_campaign = {
		days_remove = 40
		days_re_enable = 130
		available = { NOT = { has_country_flag = PER_doing_decision_z } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_seda_o_sima_campaign"
			set_country_flag = PER_doing_decision_z
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_seda_o_sima_campaign"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
			newline = yes
			set_temp_variable = { party_popularity_increase = 0.025 }
			set_temp_variable = { temp_outlook_increase = 0.015 }
			change_relative_party_popularity = yes
			clr_country_flag = PER_doing_decision_z
		}

		modifier = { political_power_cost = 1 }

		ai_will_do = {
			base = 10
			modifier = { factor = 0 PER_ai_not_historical_path = yes }
		}
	}

	PER_hold_army_parade = {
		days_remove = 40
		days_re_enable = 130
		available = { NOT = { has_country_flag = PER_doing_decision_z } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_hold_army_parade"
			set_country_flag = PER_doing_decision_z
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_hold_army_parade"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
			newline = yes
			country_event = iranian_focus.157
			clr_country_flag = PER_doing_decision_z
			newline = yes
			set_temp_variable = { temp_opinion = 5 }
			change_the_military_opinion = yes
		}

		modifier = { political_power_cost = 1 }

		ai_will_do = {
			base = 10
			modifier = { factor = 0 PER_ai_not_historical_path = yes }
		}
	}

	PER_promote_religious_services = {
		days_remove = 40
		days_re_enable = 130
		available = { NOT = { has_country_flag = PER_doing_decision_z } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_promote_religious_services"
			set_country_flag = PER_doing_decision_z
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_promote_religious_services"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
			newline = yes
			set_temp_variable = { temp_opinion = 5 }
			change_the_ulema_opinion = yes
			clr_country_flag = PER_doing_decision_z
		}

		modifier = { political_power_cost = 0.5 }

		ai_will_do = {
			base = 10
			modifier = { factor = 0 PER_ai_not_historical_path = yes }
		}
	}

	PER_boost_imam_khomeini_relief_foundation = {
		days_remove = 40
		days_re_enable = 130
		available = { NOT = { has_country_flag = PER_doing_decision_z } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_boost_imam_khomeini_relief_foundation"
			set_country_flag = PER_doing_decision_z
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_boost_imam_khomeini_relief_foundation"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = 0.05
			}
			newline = yes
			set_temp_variable = { temp_opinion = 5 }
			change_small_medium_business_owners_opinion = yes
			clr_country_flag = PER_doing_decision_z
		}

		modifier = { political_power_cost = 0.5 }

		ai_will_do = {
			base = 10
			modifier = { factor = 0 PER_ai_not_historical_path = yes }
		}
	}

	PER_relax_religious_laws = {
		days_remove = 40
		days_re_enable = 130
		available = { NOT = { has_country_flag = PER_doing_decision_z } }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_relax_religious_laws"
			set_country_flag = PER_doing_decision_z
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_relax_religious_laws"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = -0.05
			}
			clr_country_flag = PER_doing_decision_z
		}

		modifier = { political_power_cost = 0.5 }

		ai_will_do = {
			base = 0
			modifier = { add = 20 PER_ai_not_historical_path = yes }
		}
	}

	PER_ai_undermine_the_clergy = {
		icon = generic_decision
		cost = 50
		days_re_enable = 60

		visible = {
			is_ai = yes
			PER_ai_not_historical_path = yes
			NOT = { has_country_flag = PER_turn_off_IR_stuff }
		}

		available = {
			has_civil_war = no
			has_power_balance = { id = PER_clergy_balance_of_power_category }
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_ai_undermine_the_clergy"
			add_power_balance_value = {
				id = PER_clergy_balance_of_power_category
				value = -0.10
			}
		}

		ai_will_do = { base = 100 }
	}
}

PER_ministry_of_war_decisions = {
	PER_war_plan_atash = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = AZE }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_atash"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_atash"
			add_timed_idea = {
				idea = PER_war_plan_atash
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_meshki = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = ISR }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_meshki"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_meshki"
			add_timed_idea = {
				idea = PER_war_plan_meshki
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_kaveh = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = AFG }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_kaveh"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_kaveh"
			add_timed_idea = {
				idea = PER_war_plan_kaveh
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_jamshid = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = ISR }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_jamshid"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_jamshid"
			add_timed_idea = {
				idea = PER_war_plan_jamshid
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_arash = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = TUR }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_arash"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_arash"
			add_timed_idea = {
				idea = PER_war_plan_arash
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_rostam = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = SAU }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_rostam"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_rostam"
			add_timed_idea = {
				idea = PER_war_plan_rostam
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_zahak = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = SOV }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_zahak"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_zahak"
			add_timed_idea = {
				idea = PER_war_plan_zahak
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_damavand = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = CHI }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_damavand"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_damavand"
			add_timed_idea = {
				idea = PER_war_plan_damavand
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_aryana = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = RAJ }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_aryana"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_aryana"
			add_timed_idea = {
				idea = PER_war_plan_aryana
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_sorkh = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = ENG }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_sorkh"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_sorkh"
			add_timed_idea = {
				idea = PER_war_plan_sorkh
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}

	PER_war_plan_abi = {
		icon = GFX_decision_generic_form_nation

		custom_cost_trigger = {
			command_power > 24
			has_political_power > 49
		}

		custom_cost_text = decision_cost_CP_25_pp_50
		ai_hint_pp_cost = 50
		fire_only_once = yes
		days_remove = 30
		visible = { has_war_with = USA }

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_abi"
			hidden_effect = {
				add_command_power = -25
				add_political_power = -50
			}
		}

		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision PER_war_plan_abi"
			add_timed_idea = {
				idea = PER_war_plan_abi
				days = 180
			}
		}

		ai_will_do = { base = 10 }
	}
}

PER_us_war = {
	PER_american_iranian_war = {
		activation = { always = no }

		available = {
			USA = {
				controls_province = 7982
				controls_province = 14682
				controls_province = 9555
				controls_province = 8074
				controls_province = 16215
			}
		}

		days_mission_timeout = 300
		is_good = no

		complete_effect = { # American victory
			log = "[GetDateText]: [Root.GetName]: Decision timeout PER_american_iranian_war"
			custom_effect_tooltip = USA_if_iran_loses_TT
			hidden_effect = {
				USA = {
					white_peace = PER
					country_event = {
						id = department_of_state.68
						days = 1
					}
				}
				PER = { every_allied_country = { white_peace = USA } }
				news_event = department_of_state.67
				PER = {
					set_cosmetic_tag = UN_iran_flag
					remove_power_balance = { id = PER_clergy_balance_of_power_category }
					clr_country_flag = generic_election_killswitch
					set_variable = { party_banned_array^0 = 0 }
					set_variable = { party_banned_array^1 = 0 }
					set_variable = { party_banned_array^2 = 0 }
					set_variable = { party_banned_array^3 = 0 }
					set_variable = { party_banned_array^4 = 0 }
					set_variable = { party_banned_array^8 = 1 }
					set_variable = { party_banned_array^9 = 1 }
					set_variable = { party_banned_array^12 = 0 }
					set_variable = { party_banned_array^13 = 0 }
					set_variable = { party_banned_array^14 = 0 }
					set_variable = { party_banned_array^15 = 0 }
					set_variable = { party_banned_array^16 = 0 }
					set_variable = { party_banned_array^17 = 0 }
					set_variable = { party_banned_array^18 = 0 }
					set_variable = { party_banned_array^19 = 0 }
					set_variable = { party_banned_array^20 = 0 }
					set_variable = { party_banned_array^21 = 0 }
					set_variable = { party_banned_array^22 = 0 }
					set_variable = { party_banned_array^23 = 0 }
					remove_ideas = PER_ahmadinejad_idea
					remove_ideas = PER_ghalibaf_idea
					remove_ideas = PER_hemmati_idea
					remove_ideas = PER_khatami_idea
					remove_ideas = PER_mousavi_idea
					remove_ideas = PER_rafsanjani_idea
					remove_ideas = PER_raisi_idea
					remove_ideas = PER_rezaee_idea
					remove_ideas = PER_rouhani_idea
					remove_ideas = PER_tavakoli_idea
					remove_ideas = the_holy_defence
					if = {
						limit = { has_idea = faction_resistance_axis_member }
						leave_faction = yes
					}
					remove_ideas = faction_resistance_axis_member
					retire_character = PER_kioumars_heydari
					retire_character = PER_mohammad_pakpour
					retire_character = PER_mostafa_izadi
					retire_character = PER_mohammad_hejazi
					retire_character = PER_mohammad_jafari
					retire_character = PER_ali_najafi
					retire_character = PER_qasem_soleimani
					retire_character = PER_ali_fadavi
					retire_character = PER_mohammad_bagheri
					retire_character = PER_abdolrahim_mousavi
					retire_character = PER_ali_shamkhani
					retire_character = PER_amir_hajizadeh
					delete_unit_template_and_units = {
						division_template = "Niru-ye Daryayi Sepah-e Pasdaran"
						disband = yes
					}
					delete_unit_template_and_units = {
						division_template = "Niru-ye Qods-e Sepah-e Pasdaran"
						disband = yes
					}
					delete_unit_template_and_units = {
						division_template = "Lashkar-e Motorizeh Sepah-e Pasdaran"
						disband = yes
					}
					delete_unit_template_and_units = {
						division_template = "Lashkar-e Zerehiye Sepah-e Pasdaran"
						disband = yes
					}
					delete_unit_template_and_units = {
						division_template = "Lashkar-e Mekanizeh Sepah-e Pasdaran"
						disband = yes
					}
					delete_unit_template_and_units = {
						division_template = "Lashkar-e Komando-ye Sepah-e Pasdaran"
						disband = yes
					}
					delete_unit_template_and_units = {
						division_template = "Lashkar-e Havabord-e Sepah-e Pasdaran"
						disband = yes
					}
					HEZ = { set_country_flag = HEZ_IRGC_GENERALS }
					set_country_flag = UN_mission_iran
					set_temp_variable = { party_index = 13 }
					set_temp_variable = { party_popularity_increase = 0.35 }
					set_temp_variable = { temp_outlook_increase = 0.35 }
					change_relative_party_popularity = yes
					hidden_effect = {
						set_temp_variable = { rul_party_temp = 13 }
						set_temp_variable = { disable_elections = 1 }
						change_ruling_party_effect = yes
					}
					create_country_leader = {
						name = "U.N. Mission To Iran"
						picture = "iranian_un_authority.dds"
						ideology = Neutral_Autocracy
						traits = {
							neutrality_Neutral_Autocracy
						}
					}
				}
			}
		}

		timeout_effect = { # Iranian victory
			log = "[GetDateText]: [Root.GetName]: Decision PER_american_iranian_war"
			custom_effect_tooltip = USA_if_iran_wins_TT
			hidden_effect = {
				USA = {
					white_peace = PER
					news_event = department_of_state.66
				}
				PER = {
					every_allied_country = { white_peace = USA }
					country_event = {
						id = department_of_state.69
						days = 1
					}
				}
			}
		}
	}
}
