#Add to scripted triggers if more levels of hyper inflation is added
PRK_national_bankruptcy_clear_all = {
	remove_ideas = {
		PRK_national_bankruptcy_5
		PRK_national_bankruptcy_4
		PRK_national_bankruptcy_3
		PRK_national_bankruptcy_2
		PRK_national_bankruptcy_1
	}
}

PRK_national_bankruptcy_down = {
	#custom_effect_tooltip = PRK_national_bankruptcy_down_tt
	if = {
		limit = { has_idea = PRK_national_bankruptcy_5 }
		swap_ideas = {
			remove_idea = PRK_national_bankruptcy_5
			add_idea = PRK_national_bankruptcy_4
		}
	}
	else_if = {
		limit = { has_idea = PRK_national_bankruptcy_4 }
		swap_ideas = {
			remove_idea = PRK_national_bankruptcy_4
			add_idea = PRK_national_bankruptcy_3
		}
	}
	else_if = {
		limit = { has_idea = PRK_national_bankruptcy_3 }
		swap_ideas = {
			remove_idea = PRK_national_bankruptcy_3
			add_idea = PRK_national_bankruptcy_2
		}
	}
	else_if = {
		limit = { has_idea = PRK_national_bankruptcy_2 }
		swap_ideas = {
			remove_idea = PRK_national_bankruptcy_2
			add_idea = PRK_national_bankruptcy_1
		}
	}
	else_if = {
		limit = { has_idea = PRK_national_bankruptcy_1 }
		remove_ideas = PRK_national_bankruptcy_1
	}
}

PRK_legitimacy_rise = {
	#custom_effect_tooltip = PRK_legitimacy_up_tt
	if = {
		limit = { has_idea = PRK_low_legitimacy_5 }
		swap_ideas = {
			remove_idea = PRK_low_legitimacy_5
			add_idea = PRK_low_legitimacy_4
		}
	}
	else_if = {
		limit = { has_idea = PRK_low_legitimacy_4 }
		swap_ideas = {
			remove_idea = PRK_low_legitimacy_4
			add_idea = PRK_low_legitimacy_3
		}
	}
	else_if = {
		limit = { has_idea = PRK_low_legitimacy_3 }
		swap_ideas = {
			remove_idea = PRK_low_legitimacy_3
			add_idea = PRK_low_legitimacy_2
		}
	}
	else_if = {
		limit = { has_idea = PRK_low_legitimacy_2 }
		swap_ideas = {
			remove_idea = PRK_low_legitimacy_2
			add_idea = PRK_low_legitimacy_1
		}
	}
	else_if = {
		limit = { has_idea = PRK_low_legitimacy_1 }
		remove_ideas = PRK_low_legitimacy_1
	}
}

PRK_bop_absurdly_high_increase_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = 1
	}
}

PRK_bop_very_high_increase_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = 0.25
	}
}

PRK_bop_high_increase_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = 0.2
	}
}

PRK_bop_medium_increase_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = 0.15
	}
}

PRK_bop_low_increase_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = 0.1
	}
}

PRK_bop_very_low_increase_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = 0.05
	}
}

PRK_bop_absurdly_high_decrease_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = -1
	}
}

PRK_bop_very_high_decrease_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = -0.25
	}
}

PRK_bop_high_decrease_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = -0.2
	}
}

PRK_bop_medium_decrease_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = -0.15
	}
}

PRK_bop_low_decrease_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = -0.1
	}
}

PRK_bop_very_low_decrease_effect = {
	add_power_balance_value = {
		id = PRK_power_balance
		value = -0.05
	}
}

PRK_navy_reform_effect = {
	if = {
		limit = { has_idea = PRK_divided_navy_ideas_1 }
		swap_ideas = {
			remove_idea = PRK_divided_navy_ideas_1
			add_idea = PRK_divided_navy_ideas_2
		}
	}
	else_if = {
		limit = { has_idea = PRK_divided_navy_ideas_2 }
		swap_ideas = {
			remove_idea = PRK_divided_navy_ideas_2
			add_idea = PRK_divided_navy_ideas_3
		}
	}
	else_if = {
		limit = { has_idea = PRK_divided_navy_ideas_3 }
		swap_ideas = {
			remove_idea = PRK_divided_navy_ideas_3
			add_idea = PRK_divided_navy_ideas_4
		}
	}
	else_if = {
		limit = { has_idea = PRK_divided_navy_ideas_4 }
		swap_ideas = {
			remove_idea = PRK_divided_navy_ideas_4
			add_idea = PRK_divided_navy_ideas_5
		}
	}
	else = {
		remove_ideas = PRK_divided_navy_ideas_5
	}
}

PRK_air_force_reform_effect = {
	if = {
		limit = { has_idea = prk_burnning_air_force_ideas_1 }
		swap_ideas = {
			remove_idea = prk_burnning_air_force_ideas_1
			add_idea = prk_burnning_air_force_ideas_2
		}
	}
	else_if = {
		limit = { has_idea = prk_burnning_air_force_ideas_2 }
		swap_ideas = {
			remove_idea = prk_burnning_air_force_ideas_2
			add_idea = prk_burnning_air_force_ideas_3
		}
	}
	else_if = {
		limit = { has_idea = prk_burnning_air_force_ideas_3 }
		swap_ideas = {
			remove_idea = prk_burnning_air_force_ideas_3
			add_idea = prk_burnning_air_force_ideas_4
		}
	}
	else_if = {
		limit = { has_idea = prk_burnning_air_force_ideas_4 }
		swap_ideas = {
			remove_idea = prk_burnning_air_force_ideas_4
			add_idea = prk_burnning_air_force_ideas_5
		}
	}
	else = {
		remove_ideas = prk_burnning_air_force_ideas_5
	}
}
