PER_meclis = {
	PER_universite = {

		icon = GFX_decision_civil_support

		allowed = {
		}

		available = {
		}


		visible = {
			tag = PER


		}

		fire_only_once = yes

		cost = 50
		days_remove = 5

		complete_effect = {
			add_popularity = {
				ideology = islamist
				popularity = -0.05
			}
		}

		remove_effect = {
			custom_effect_tooltip = PER_increase_reformist_influance
			add_to_variable = {
				var = PER_reformist_influance
				value = 5
			}
			add_to_variable = {
				var = PER_principlists_influance
				value = -5
			}
		}
		ai_will_do = {
			factor = 100
		}
	}


	PER_womans_rights = {

		icon = GFX_decision_democracy

		allowed = {
		}

		available = {
		}


		visible = {
			tag = PER


		}

		fire_only_once = yes

		cost = 50
		days_remove = 5

		complete_effect = {
			add_popularity = {
				ideology = islamist
				popularity = -0.05
			}
		}

		remove_effect = {
			custom_effect_tooltip = PER_increase_reformist_influance
			add_to_variable = {
				var = PER_reformist_influance
				value = 5
			}
			add_to_variable = {
				var = PER_principlists_influance
				value = -5
			}
		}
		ai_will_do = {
			factor = 100
		}
	}

	PER_allign_turks = {

		icon = GFX_decision_power_struggle

		allowed = {
		}

		available = {
		}


		visible = {
			tag = PER


		}

		fire_only_once = yes

		cost = 50
		days_remove = 5

		complete_effect = {
			add_popularity = {
				ideology = islamist
				popularity = -0.05
			}
		}

		remove_effect = {
			custom_effect_tooltip = PER_increase_reformist_influance
			add_to_variable = {
				var = PER_reformist_influance
				value = 5
			}
			add_to_variable = {
				var = PER_principlists_influance
				value = -5
			}
		}
		ai_will_do = {
			factor = 100
		}
	}

	PER_allign_kurds = {

		icon = GFX_decision_unrest

		allowed = {
		}

		available = {
		}


		visible = {
			tag = PER


		}

		fire_only_once = yes

		cost = 50
		days_remove = 5

		complete_effect = {
			add_popularity = {
				ideology = islamist
				popularity = -0.05
			}
		}

		remove_effect = {
			custom_effect_tooltip = PER_increase_reformist_influance
			add_to_variable = {
				var = PER_reformist_influance
				value = 5
			}
			add_to_variable = {
				var = PER_principlists_influance
				value = -5
			}
		}
		ai_will_do = {
			factor = 100
		}
	}

	PER_states = {

		icon = GFX_decision_crisis

		allowed = {
		}

		available = {
		}


		visible = {
			tag = PER


		}

		fire_only_once = yes

		cost = 50
		days_remove = 5

		complete_effect = {
			add_popularity = {
				ideology = islamist
				popularity = -0.05
			}
		}

		remove_effect = {
			custom_effect_tooltip = PER_increase_reformist_influance
			add_to_variable = {
				var = PER_reformist_influance
				value = 5
			}
			add_to_variable = {
				var = PER_principlists_influance
				value = -5
			}
		}
		ai_will_do = {
			factor = 100
		}
	}

	PER_elections = {

		icon = GFX_decision_generic_operation

		allowed = {
		}

		available = {
			has_completed_focus = PER_against2
		}


		visible = {
			tag = PER


		}


		cost = 50
		days_remove = 25

		modifier = {

		}

		remove_effect = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		ai_will_do = {
			factor = 100
		}
	}

}


PER_support_SCIRI = {
	iraq_allign_nationalist = {

		icon = GFX_decision_espionage

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			IRQ = {
				add_popularity = {

					ideology = nationalist
					popularity = -0.05

				}
				add_popularity = {

					ideology = islamist
					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}
	iraq_support_media_propaganda = {

		icon = GFX_decision_propaganda

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			IRQ = {
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	iraq_militant_training = {

		icon = GFX_decision_infiltration

		allowed = {
		}

		available = {
			has_manpower > 100000
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 8
		}

		complete_effect = {
			add_manpower = -10000

			IRQ = {
				add_manpower = 10000
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	iraq_equipment_grants = {

		icon = GFX_decision_prepare_civil_war

		allowed = {
		}

		available = {
			has_equipment = {
				infantry_equipment > 200
				}	}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -200
				producer = PER

			}
			IRQ = {
				add_popularity = {
					ideology = islamist
					popularity = 0.05
				}
				add_opinion_modifier = {
					target = PER
					modifier = offered_support
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 200
					producer = PER

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	iraq_shia_coup = {

		icon = GFX_decision_ignite_civil_war

		allowed = {
		}

		available = {
			IRQ = {
				islamist > 0.4
			}
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			IRQ = {
				country_event = shia_civil.1
			}
		}

		ai_will_do = {
			factor = 100
		}
	}



}


PER_support_hamas = {
	hamas_allign_nationalist = {

		icon = GFX_decision_espionage

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			PAL = {
				add_popularity = {

					ideology = nationalist
					popularity = -0.05

				}
				add_popularity = {

					ideology = islamist
					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}
	hamas_support_media_propaganda = {

		icon = GFX_decision_propaganda

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			PAL = {
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	hamas_militant_training = {

		icon = GFX_decision_infiltration

		allowed = {
		}

		available = {
			has_manpower > 100000
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 8
		}

		complete_effect = {
			add_manpower = -10000

			PAL = {
				add_manpower = 10000
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	hamas_equipment_grants = {

		icon = GFX_decision_prepare_civil_war

		allowed = {
		}

		available = {
			has_equipment = {
				infantry_equipment > 200
				}	}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -200
				producer = PER

			}
			PAL = {
				add_popularity = {
					ideology = islamist
					popularity = 0.05
				}
				add_opinion_modifier = {
					target = PER
					modifier = offered_support
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 200
					producer = PER

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	hamas_shia_coup = {

		icon = GFX_decision_ignite_civil_war

		allowed = {
		}

		available = {
			PAL = {
				islamist > 0.4

			}
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			PAL = {

				country_event = shia_civil.1
				}}

		ai_will_do = {
			factor = 100
		}
	}

	hamas_Manage_Them = {

		icon = GFX_decision_politics

		allowed = {
		}

		available = {
			PAL = {
				has_government = islamist

				has_opinion = {
					target = PER
					value > 50
					}}
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		remove_effect = {

			puppet = PAL
			add_threat = 5
		}

		ai_will_do = {
			factor = 100
		}
	}

}

PER_support_houthis = {
	husi_allign_nationalist = {

		icon = GFX_decision_espionage

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			YEM = {
				add_popularity = {

					ideology = nationalist
					popularity = -0.05

				}
				add_popularity = {

					ideology = islamist
					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}
	husi_support_media_propaganda = {

		icon = GFX_decision_propaganda

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			YEM = {
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	husi_militant_training = {

		icon = GFX_decision_infiltration

		allowed = {
		}

		available = {
			has_manpower > 100000
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 8
		}

		complete_effect = {
			add_manpower = -10000

			YEM = {
				add_manpower = 10000
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	husi_equipment_grants = {

		icon = GFX_decision_prepare_civil_war

		allowed = {
		}

		available = {
			has_equipment = {
				infantry_equipment > 200
				}	}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -200
				producer = PER

			}
			YEM = {
				add_popularity = {
					ideology = islamist
					popularity = 0.05
				}
				add_opinion_modifier = {
					target = PER
					modifier = offered_support
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 200
					producer = PER

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	husi_shia_coup = {

		icon = GFX_decision_ignite_civil_war

		allowed = {
		}

		available = {
			YEM = {
				islamist > 0.4
			}
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			YEM = {

				country_event = shia_civil.1
				}}

		ai_will_do = {
			factor = 100
		}
	}

	husi_Manage_Them = {

		icon = GFX_decision_politics

		allowed = {
		}

		available = {
			YEM = {
				has_government = islamist

				has_opinion = {
					target = PER
					value > 50
					}}
		}


		visible = {
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		remove_effect = {
			puppet = YEM
			add_threat = 5
		}

		ai_will_do = {
			factor = 100
		}
	}

}

PER_support_hezb = {
	hezb_allign_nationalist = {

		icon = GFX_decision_espionage

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			has_completed_focus = PER_islam16
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			LEB = {
				add_popularity = {

					ideology = nationalist
					popularity = -0.05

				}
				add_popularity = {

					ideology = islamist
					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}
	hezb_support_media_propaganda = {

		icon = GFX_decision_propaganda

		allowed = {
		}

		available = {
			has_political_power > 200
		}


		visible = {
			has_completed_focus = PER_islam16
			tag = PER
		}


		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			LEB = {
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	hezb_militant_training = {

		icon = GFX_decision_infiltration

		allowed = {
		}

		available = {
			has_manpower > 100000
		}


		visible = {
			has_completed_focus = PER_islam16
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {
			civilian_factory_use = 8
		}

		complete_effect = {
			add_manpower = -10000

			LEB = {
				add_manpower = 10000
				add_popularity = {

					ideology = islamist

					popularity = 0.05

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	hezb_equipment_grants = {

		icon = GFX_decision_prepare_civil_war

		allowed = {
		}

		available = {
			has_equipment = {
				infantry_equipment > 200
				}	}


		visible = {
			has_completed_focus = PER_islam16
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -200
				producer = PER

			}
			LEB = {
				add_popularity = {
					ideology = islamist
					popularity = 0.05
				}
				add_opinion_modifier = {
					target = PER
					modifier = offered_support
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 200
					producer = PER

					}		}
		}

		ai_will_do = {
			factor = 100
		}
	}

	hezb_shia_coup = {

		icon = GFX_decision_ignite_civil_war

		allowed = {
		}

		available = {
			LEB = {
				islamist > 0.4
			}
		}


		visible = {
			has_completed_focus = PER_islam16
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		complete_effect = {
			add_popularity = {
				ideology = islamist
				popularity = 0.05
			}
			set_politics = {
				ruling_party = islamist
				elections_allowed = yes
			}
			add_opinion_modifier = {
				target = PER
				modifier = declaration_of_friendship

				}}
		ai_will_do = {
			factor = 100
		}
	}

	hezb_Manage_Them = {

		icon = GFX_decision_politics

		allowed = {
		}

		available = {
			LEB = {
				has_government = islamist

				has_opinion = {
					target = PER
					value > 50
					}}
		}


		visible = {
			has_completed_focus = PER_islam16
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 60

		modifier = {

		}

		remove_effect = {
			puppet = LEB
			add_threat = 5
		}

		ai_will_do = {
			factor = 100
		}
	}

}

PER_Ministery_roads = {
	Bushehr-I = {

		icon = GFX_decision_atom_icon

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
		}


		visible = {
			has_completed_focus = PER_nuclear_technology
			tag = PER
		}

		fire_only_once = yes

		cost = 200
		days_remove = 100

		modifier = {
			civilian_factory_use = 5
		}

		remove_effect = {
			add_offsite_building = { type = nuclear_reactor level = 1 }
		}

		ai_will_do = {
			factor = 100
		}
	}
	PER_energy1 = {

		icon = GFX_decision_recycling_symbol

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 0
		}


		visible = {
			has_completed_focus = PER_ministry_of_energy
			tag = PER
		}

		fire_only_once = yes

		cost = 150
		days_remove = 120

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = recycling_center
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	PER_energy3 = {

		icon = GFX_decision_resource_production

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
		}


		visible = {
			has_completed_focus = PER_ministry_of_energy
			tag = PER
		}

		fire_only_once = yes

		cost = 200
		days_remove = 180

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {

			random_owned_state = {
				add_resource = { type = steel amount = 32 }
			}




		}


		ai_will_do = {
			factor = 100
		}
	}

	PER_energy4 = {

		icon = GFX_decision_resource_production

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
		}


		visible = {
			has_completed_focus = PER_ministry_of_energy
			tag = PER
		}

		fire_only_once = yes

		cost = 200
		days_remove = 180

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {

			random_owned_state = {
				add_resource = { type = aluminium amount = 36 }
			}




		}


		ai_will_do = {
			factor = 100
		}
	}

	PER_energy2 = {

		icon = GFX_decision_resource_production

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 2
		}


		visible = {
			has_completed_focus = PER_ministry_of_energy
			tag = PER
		}

		fire_only_once = yes

		cost = 200
		days_remove = 180

		modifier = {
			civilian_factory_use = 3
		}

		remove_effect = {

			random_owned_state = {
				add_resource = { type = oil amount = 22 }
			}




		}


		ai_will_do = {
			factor = 100
		}
	}

	PER_Ministery_roads1  = {

		icon = GFX_decision_generic_construction

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 0
		}


		visible = {
			has_completed_focus = PER_ministry_of_roads_and_urban_development
			tag = PER
		}

		fire_only_once = yes

		cost = 35
		days_remove = 120

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
	PER_Ministery_roads2  = {

		icon = GFX_decision_generic_construction

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 0
		}


		visible = {
			has_completed_focus = PER_ministry_of_roads_and_urban_development
			tag = PER
		}


		cost = 35
		days_remove = 120

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	PER_Ministery_roads3  = {

		icon = GFX_decision_generic_construction

		allowed = {
		}

		available = {
			num_of_civilian_factories_available_for_projects > 0
		}


		visible = {
			has_completed_focus = PER_ministry_of_roads_and_urban_development
			tag = PER
		}


		cost = 35
		days_remove = 120

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
}
