﻿add_namespace = indonesia
add_namespace = indonesiacovid
add_namespace = indonesiaaddon
add_namespace = indonesianfirstelection

add_namespace = indonesiapdtoarmy
add_namespace = indonesiaeadiarmy

#anies
add_namespace = indonesiaanies

#prabowo
add_namespace = indonesiaprabowo

#anothergov
add_namespace = indonesiaintergov
add_namespace = indonesiafederal
add_namespace = indonesiaislamicdem
#add_namespace = indonesiaislamicauth


#join pdto final
country_event = {
	id = indonesiapdtoarmy.101
	title = indonesiapdtoarmy.101.t
	desc = indonesiapdtoarmy.101.d
	picture = GFX_INS_Indonesiapdtoarmy_1_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		set_country_flag = INS_Ready_to_PDTO_flag
	}

	option = {
		name = indonesiapdtoarmy.101.a
		add_political_power = 40
		add_war_support = 0.05
		add_opinion_modifier = {
			target = JAP
			modifier = medium_increase
		}
		JAP = {
			add_opinion_modifier = {
				target = INS
				modifier = medium_increase
			}
		}
	}
}

country_event = {
	id = indonesiapdtoarmy.102
	title = indonesiapdtoarmy.102.t
	desc = indonesiapdtoarmy.102.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		set_country_flag = INS_Ready_to_PDTO_flag
	}

	option = {
		name = indonesiapdtoarmy.102.a
	}
}
country_event = {
	id = indonesiapdtoarmy.2a
	title = indonesiapdtoarmy.2a.t
	desc = indonesiapdtoarmy.2a.d
	picture = GFX_INS_Indonesiapdtoarmy_2_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiapdtoarmy.2a.a
		JAP = {
			add_to_faction = INS
		}
		set_country_flag = pdto_member
		clr_country_flag = INS_Ready_to_PDTO_flag

		add_ideas = INS_PDTO_member_1_idea

		hidden_effect = {
			if = {
				limit = {
					country_exists = INB
				}
				JAP = {
					add_to_faction = INB
				}
				INB = {
					set_country_flag = pdto_member

					add_ideas = INS_PDTO_member_1_idea
				}
			}
		}
	}
}

country_event = {
	id = indonesiapdtoarmy.3
	title = indonesiapdtoarmy.3.t
	desc = indonesiapdtoarmy.3.d
	picture = GFX_INS_Indonesiapdtoarmy_3_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesiapdtoarmy.3.a
		add_war_support = 0.05
		send_embargo = PRC
		add_opinion_modifier = { target = PRC modifier = large_decrease }
		PRC = {
			add_opinion_modifier = { target = INS modifier = large_decrease }
		}
	}
}

country_event = {
	id = indonesiapdtoarmy.4
	title = indonesiapdtoarmy.4.t
	desc = indonesiapdtoarmy.4.d
	picture = GFX_INS_Indonesiapdtoarmy_4_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesiapdtoarmy.4.a
		add_war_support = 0.05
	}
}

country_event = {
	id = indonesiapdtoarmy.5
	title = indonesiapdtoarmy.5.t
	desc = indonesiapdtoarmy.5.d
	picture = GFX_INS_Indonesiapdtoarmy_5_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesiapdtoarmy.5.a
		add_war_support = 0.025
	}
}

#prabowo presidency
country_event = {
	id = indonesiaprabowo.1
	title = indonesiaprabowo.1.t
	desc = indonesiaprabowo.1.d
	picture = GFX_INS_Indonesiaprabowo_1_Picture

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = INS
	}

	immediate = {
	}

	option = {
		name = indonesiaprabowo.1.a
	}
}



#anies presidency
country_event = {
	id = indonesiaanies.1
	title = indonesiaanies.1.t
	desc = indonesiaanies.1.d
	picture = GFX_INS_Indonesiaanies_1_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	hidden_effect = {
	}

	option = {
		name = indonesiaanies.1.a
		#unlock_decision_category_tooltip = INS_Anies_BoP_category
		if = {
			limit = {
				has_country_flag = INS_Anies_AHY_flag
			}
			set_power_balance = {
				id = INS_Anies_BoP
				left_side = INS_Anies_liberal_side
				right_side = INS_Anies_islamist_side
				set_value = -0.15
			}
		}
		else_if = {
			limit = {
				has_country_flag = INS_Anies_Imin_flag
			}
			set_power_balance = {
				id = INS_Anies_BoP
				left_side = INS_Anies_liberal_side
				right_side = INS_Anies_islamist_side
				set_value = 0.15
			}
		}
	}
}

country_event = {
	id = indonesiaanies.2
	title = indonesiaanies.2.t
	desc = indonesiaanies.2.d
	picture = GFX_INS_Indonesiaanies_2_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.2.a
		swap_ideas = {
			remove_idea = INS_crippled_economy_2_idea
			add_idea = INS_crippled_economy_1_idea
		}
	}
}

country_event = {
	id = indonesiaanies.3
	title = indonesiaanies.3.t
	desc = indonesiaanies.3.d
	picture = GFX_INS_Indonesiaanies_28_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.3.a
		swap_ideas = {
			remove_idea = INS_crippled_economy_2_idea
			add_idea = INS_crippled_economy_1_idea
		}
	}
}

country_event = {
	id = indonesiaanies.4
	title = indonesiaanies.4.t
	desc = indonesiaanies.4.d
	picture = GFX_INS_Indonesiaanies_4_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.4.a
		set_temp_variable = {
			var = society_development_var_temp
			value = 0.05
		}
		add_society_development = yes
		add_political_power = 25
	}
}

country_event = {
	id = indonesiaanies.5
	title = indonesiaanies.5.t
	desc = indonesiaanies.5.d
	picture = GFX_INS_Indonesiaanies_5_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.5.a
		add_political_power = 15
		set_temp_variable = {
			var = debt_var_temp
			value = 6.7
		}
		add_debt_with_inflation = yes
	}
}

country_event = {
	id = indonesiaanies.6
	title = indonesiaanies.6.t
	desc = indonesiaanies.6.d
	picture = GFX_INS_Indonesiaanies_6_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.6.a
		set_temp_variable = {
			var = poverty_development_var_temp
			value = 0.15
		}
		add_poverty_development = yes
		hidden_effect = {
			country_event = {
                id = indonesiaanies.9
                days = 75
				random_days = 15
            }
		}
	}
}

country_event = {
	id = indonesiaanies.7
	title = indonesiaanies.7.t
	desc = indonesiaanies.7.d
	picture = GFX_Japan_general_election
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.7.a
		add_political_power = 50
		JAP_join_PEC = yes
	}
	option = {
		name = indonesiaanies.7.b
		JAP = {
			add_opinion_modifier = { target = INS modifier = small_decrease }
		}
	}
}

country_event = {
	id = indonesiaanies.8
	title = indonesiaanies.8.t
	desc = indonesiaanies.8.d
	picture = GFX_INS_Indonesiaanies_8_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.8.a
		add_stability = 0.02
	}
}

country_event = {
	id = indonesiaanies.9
	title = indonesiaanies.9.t
	desc = indonesiaanies.9.d
	picture = GFX_INS_Indonesiaanies_9_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.9.a
		add_tech_bonus = {
			bonus = 0.3
			uses = 1
			category = electronics
		}
	}
}

country_event = {
	id = indonesiaanies.10
	title = indonesiaanies.10.t
	desc = indonesiaanies.10.d
	picture = GFX_INS_Indonesiaanies_10_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.10.a
		add_political_power = 25
		add_popularity = {
			ideology = market_liberal
			popularity = 0.1
		}
	}
}

country_event = {
	id = indonesiaanies.11
	title = indonesiaanies.11.t
	desc = indonesiaanies.11.d
	picture = GFX_INS_Indonesiaanies_11_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.11.a
	}
}

country_event = {
	id = indonesiaanies.12
	title = indonesiaanies.12.t
	desc = indonesiaanies.12.d
	picture = GFX_INS_Indonesiaanies_12_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.12.a
	}
}

country_event = {
	id = indonesiaanies.13
	title = indonesiaanies.13.t
	desc = indonesiaanies.13.d
	picture = GFX_INS_Indonesiaanies_13_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.13.a
		add_political_power = 75
	}
}

country_event = {
	id = indonesiaanies.14
	title = indonesiaanies.14.t
	desc = indonesiaanies.14.d
	picture = GFX_INS_Indonesiaanies_14_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.14.a
		set_temp_variable = {
			var = military_development_var_temp
			value = 0.15
		}
		add_military_development = yes
		335 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = 	arms_factory
				level = 1
				instant_build = yes
			}
		}
		672 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = 	arms_factory
				level = 1
				instant_build = yes
			}
		}
		334 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = 	arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
	option = {
		name = indonesiaanies.14.b
		set_temp_variable = {
			var = academic_development_var_temp
			value = 0.15
		}
		add_academic_development = yes
		add_research_slot = 1
	}
}

country_event = {
	id = indonesiaanies.15
	title = indonesiaanies.15.t
	desc = indonesiaanies.15.d
	picture = GFX_INS_Indonesiaanies_15_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.15.a
	}
}

country_event = {
	id = indonesiaanies.16
	title = indonesiaanies.16.t
	desc = indonesiaanies.16.d
	picture = GFX_INS_Indonesiaanies_16_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.16.a
	}
}

country_event = {
	id = indonesiaanies.17
	title = indonesiaanies.17.t
	desc = indonesiaanies.17.d
	picture = GFX_INS_Indonesiaanies_17_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
	}

	option = {
		name = indonesiaanies.17.a
		add_political_power = 25
	}
}

country_event = {
	id = indonesiaanies.18
	title = indonesiaanies.18.t
	desc = indonesiaanies.18.d
	picture = GFX_INS_Indonesiaanies_18_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }
	immediate = {
	}
	option = {
		name = indonesiaanies.18.a
		add_stability = -0.05
		custom_effect_tooltip = INS_Anies_Authoritarian_tooltip
		set_country_flag = INS_Cancel_2029_Election_flag
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
	}
}

country_event = {
	id = indonesiaanies.19
	title = indonesiaanies.19.t
	desc = indonesiaanies.19.d
	picture = GFX_INS_Indonesiaanies_19_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_PPP_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PPP_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_PPP_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.19.a
	}
}

country_event = {
	id = indonesiaanies.20
	title = indonesiaanies.20.t
	desc = indonesiaanies.20.d
	picture = GFX_INS_Indonesiaanies_20_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_PAN_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PAN_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_PAN_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.20.a
	}
}

country_event = {
	id = indonesiaanies.21
	title = indonesiaanies.21.t
	desc = indonesiaanies.21.d
	picture = GFX_INS_Indonesiaanies_21_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_PDIP_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PDIP_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_PDIP_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.21.a
	}
}

country_event = {
	id = indonesiaanies.22
	title = indonesiaanies.22.t
	desc = indonesiaanies.22.d
	picture = GFX_INS_Indonesiaanies_22_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }


	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_Gerindra_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_Gerindra_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_Gerindra_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.22.a
	}
}

country_event = {
	id = indonesiaanies.23
	title = indonesiaanies.23.t
	desc = indonesiaanies.23.d
	picture = GFX_INS_Indonesiaanies_23_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaanies.24
				days = 65
				random_days = 21
			}
		}
	}

	option = {
		name = indonesiaanies.23.a
		add_political_power = 25
	}
}

country_event = {
	id = indonesiaanies.24
	title = indonesiaanies.24.t
	desc = indonesiaanies.24.d
	picture = GFX_INS_Indonesiaanies_24_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.24.a
		add_stability = 0.025
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = 0.05
		}
	}
}

country_event = {
	id = indonesiaanies.25
	title = indonesiaanies.25.t
	desc = indonesiaanies.25.d
	picture = GFX_INS_Indonesiaanies_25_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }
	immediate = {
	}

	option = {
		name = indonesiaanies.25.a
	}
}

country_event = {
	id = indonesiaanies.26
	title = indonesiaanies.26.t
	desc = indonesiaanies.26.d
	picture = GFX_INS_Indonesiaanies_26_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_PKB_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PKB_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_PKB_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.26.a
	}
}

country_event = {
	id = indonesiaanies.27
	title = indonesiaanies.27.t
	desc = indonesiaanies.27.d
	picture = GFX_INS_Indonesiaanies_27_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.27.a
	}
}

country_event = {
	id = indonesiaanies.28
	title = indonesiaanies.28.t
	desc = indonesiaanies.28.d
	picture = GFX_INS_Indonesiaanies_28_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.28.a
	}
}

country_event = {
	id = indonesiaanies.29
	title = indonesiaanies.29.t
	desc = indonesiaanies.29.d
	picture = GFX_INS_Indonesiaanies_29_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.29.a
		add_political_power = -50
		set_country_flag = INS_Abandon_IKN_flag
		remove_ideas = INS_IKN_build_idea
		hidden_effect = {
			country_event = {
				id = indonesiaanies.62
				days = 1095
			}
		}
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes
		if = {
			limit = {
				check_variable = {
					var = INS_Party_Demokrat_Loyalty
					value = 1
				}
			}
			set_temp_variable = { parties = 6 }
			Increase_Party_Popularity = yes
		}
		
		if = {
			limit = {
				check_variable = {
					var = INS_Party_PKB_Loyalty
					value = 1
				}
			}
			set_temp_variable = { parties = 4 }
			Increase_Party_Popularity = yes
		}
	}
	option = {
		name = indonesiaanies.29.b
		add_political_power = -100
		set_country_flag = INS_Abandon_IKN_flag
		remove_ideas = INS_IKN_build_idea
		hidden_effect = {
			country_event = {
				id = indonesiaanies.62
				days = 1800
			}
		}
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes
		if = {
			limit = {
				check_variable = {
					var = INS_Party_Demokrat_Loyalty
					value = 1
				}
			}
			set_temp_variable = { parties = 6 }
			Increase_Party_Popularity = yes
		}
		
		if = {
			limit = {
				check_variable = {
					var = INS_Party_PKB_Loyalty
					value = 1
				}
			}
			set_temp_variable = { parties = 4 }
			Increase_Party_Popularity = yes
		}
	}

	
	option = {
		name = indonesiaanies.29.c
		trigger = {
			has_country_flag = INS_Support_GBHN_flag
		}
		add_political_power = -150
		set_country_flag = INS_Abandon_IKN_flag
		remove_ideas = INS_IKN_build_idea
		set_temp_variable = { partyvar = 10 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes
		if = {
			limit = {
				check_variable = {
					var = INS_Party_Demokrat_Loyalty
					value = 1
				}
			}
			set_temp_variable = { parties = 6 }
			Increase_Party_Popularity = yes
		}
		
		if = {
			limit = {
				check_variable = {
					var = INS_Party_PKB_Loyalty
					value = 1
				}
			}
			set_temp_variable = { parties = 4 }
			Increase_Party_Popularity = yes
		}
	}
}

country_event = {
	id = indonesiaanies.30
	title = indonesiaanies.30.t
	desc = indonesiaanies.30.d
	picture = GFX_INS_Indonesiaanies_30_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.30.a
	}
}

country_event = {
	id = indonesiaanies.31
	title = indonesiaanies.31.t
	desc = indonesiaanies.31.d
	picture = GFX_INS_Indonesiaanies_31_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.31.a
	}
}

country_event = {
	id = indonesiaanies.32
	title = indonesiaanies.32.t
	desc = indonesiaanies.32.d
	picture = GFX_INS_Indonesiaanies_32_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.32.a
	}
	option = {
		name = indonesiaanies.32.b
	}
	option = {
		name = indonesiaanies.32.c
	}
}

#anies - ahy
country_event = {
	id = indonesiaanies.33
	title = indonesiaanies.33.t
	desc = indonesiaanies.33.d
	picture = GFX_INS_Indonesiaanies_33_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	option = {
		name = indonesiaanies.33.a
	}
	option = {
		name = indonesiaanies.33.b
	}
	option = {
		name = indonesiaanies.33.c
	}
}
country_event = {
	id = indonesiaanies.34
	title = indonesiaanies.34.t
	desc = indonesiaanies.34.d
	picture = GFX_INS_Indonesiaanies_34_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_country_flag = INS_Anies_Federal_flag
			clr_country_flag = INS_Anies_toward_liberal_active

			country_event = {
				id = indonesiaanies.45
				days = 7
			}
		}
	}

	option = {
		name = indonesiaanies.34.a
		hidden_effect = {
			set_politics = {
				ruling_party = social_liberal
				elections_allowed = yes
				last_election = "2024.2.14"
				election_frequency = 65
			}
			retire_country_leader = yes
			add_country_leader_role = {
				character = INS_anies_baswedan_char
				promote_leader = yes
				country_leader = {
					ideology = neoliberalism
					traits = {
						hos_smiling_for_the_camera
					}
				}
			}
			set_country_leader_portrait = {
				portrait = GFX_INS_Anies_Liberal
			}

			set_temp_variable = {
				coalition_partner_var_temp = token:conservative
			}
			add_to_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:social_democrat
			}
			add_to_coalition = yes
		}

		set_cosmetic_tag = INS_Federal
		set_party_name = {
			ideology = social_liberal
			long_name = "Coalition of Change - Neo-liberalism"
			name = "CoC (L)"
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.2
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.05
		}
		hidden_effect = {
			if = {
				limit = {
					country_exists = INB
					INB = {
						has_government = nationalist
					}
				}
				INB = {
					set_cosmetic_tag = INS_Occupation
				}
			}
			if = {
				limit = {
					MAL = {
						is_puppet_of = INS
					}
				}
				MAL = {
					set_cosmetic_tag = INS_Occupation
				}
			}
			if = {
				limit = {
					BDS = {
						is_puppet_of = INS
					}
				}
				BDS = {
					set_cosmetic_tag = INS_Occupation
				}
			}
			if = {
				limit = {
					TTI = {
						is_puppet_of = INS
					}
				}
				TTI = {
					set_cosmetic_tag = INS_Occupation
				}
			}
		}
		focus_unlock = yes
	}
}

#anies - imin
country_event = {
	id = indonesiaanies.35
	title = indonesiaanies.35.t
	desc = indonesiaanies.35.d
	picture = GFX_INS_Indonesiaanies_35_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { 
		tag = INS 
	}

	option = {
		name = indonesiaanies.35.a
		set_country_flag = INS_Anies_toward_islamic_active
		unlock_decision_category_tooltip = INS_Anies_Islamic_Category
		hidden_effect = {
			set_variable = { var = INS_islamic_legit_var value = 0 }
			set_variable = { var = INS_islamic_moderate_group_var value = 10 }
			set_variable = { var = INS_islamic_radical_group_var value = 5 }
		}
		focus_unlock = yes
	}
	option = {
		name = indonesiaanies.35.b
	}
}
country_event = {
	id = indonesiaanies.36
	title = indonesiaanies.36.t
	desc = indonesiaanies.36.d
	picture = GFX_INS_Indonesiaanies_36_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_country_flag = INS_Anies_Islamic_flag
			clr_country_flag = INS_Anies_toward_islamic_active
			country_event = {
				id = indonesiaanies.51
				days = 7
			}
		}
	}

	option = {
		name = indonesiaanies.36.a
		hidden_effect = {
			retire_character = INS_prabowo_subianto_char
			add_country_leader_role = {
				character = INS_rizieq_shihab_char
				promote_leader = yes
				country_leader = {
					ideology = islamic_authoritarian
					traits = {
					}
				}
			}
		}
		if = {
			limit = {
				has_country_flag = INS_Radical_Islam_flag
			}
			set_politics = {
				ruling_party = authoritarian_democrat
				elections_allowed = no
				last_election = "2024.2.14"
				election_frequency = 65
			}
			effect_tooltip = {
				retire_country_leader = yes
				add_country_leader_role = {
					character = INS_rizieq_shihab_char
					promote_leader = yes
					country_leader = {
						ideology = islamic_authoritarian
						traits = {
						}
					}
				}
			}
			
			set_country_flag = head_of_gov_ui_enabled
			swap_ideas = {
				remove_idea = INS_Muhaimin_Iskandar
				add_idea = INS_Anies_Baswedan
			}
			change_government_type_islamic_republic = yes
		}
		else = {
			set_politics = {
				ruling_party = conservative
				elections_allowed = yes
				last_election = "2024.2.14"
				election_frequency = 65
			}
			retire_country_leader = yes
			add_country_leader_role = {
				character = INS_anies_baswedan_char
				promote_leader = yes
				country_leader = {
					ideology = islamic_democrat
					traits = {
						hos_smiling_for_the_camera
					}
				}
			}
			set_country_leader_portrait = {
				portrait = GFX_INS_Anies_Islamic
			}
		}

		set_temp_variable = {
			coalition_partner_var_temp = token:social_liberal
		}
		add_to_coalition = yes
		set_temp_variable = {
			coalition_partner_var_temp = token:social_democrat
		}
		add_to_coalition = yes
		set_temp_variable = {
			coalition_partner_var_temp = token:authoritarian_democrat
		}
		add_to_coalition = yes

		set_cosmetic_tag = INS_Islamic
		set_party_name = {
			ideology = conservative
			long_name = "Coalition of Change - Islamic Democracy"
			name = "CoC (NU)"
		}
		set_party_name = {
			ideology = authoritarian_democrat
			long_name = "Coalition of Change - Islamic Radicalism"
			name = "CoC (FPI)"
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.2
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.2
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.05
		}
	}
}

# anies - imin
country_event = {
	id = indonesiaanies.37
	title = indonesiaanies.37.t
	desc = indonesiaanies.37.d
	picture = GFX_INS_Indonesiaanies_37_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaanies.38
				days = 65
				random_days = 21
			}
		}
	}

	option = {
		name = indonesiaanies.37.a
		add_stability = 0.05
	}
}
country_event = {
	id = indonesiaanies.38
	title = indonesiaanies.38.t
	desc = indonesiaanies.38.d
	picture = GFX_INS_Indonesiaanies_38_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.38.a
		add_political_power = 25
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = -0.05
		}
	}
}
country_event = {
	id = indonesiaanies.39
	title = indonesiaanies.39.t
	desc = indonesiaanies.39.d
	picture = GFX_INS_Indonesiaanies_39_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
	}

	option = {
		name = indonesiaanies.39.a
	}
}
country_event = {
	id = indonesiaanies.40
	title = indonesiaanies.40.t
	desc = indonesiaanies.40.d
	picture = GFX_INS_Indonesiaanies_40_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_Demokrat_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_Demokrat_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_Demokrat_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.40.a
	}
}
country_event = {
	id = indonesiaanies.41
	title = indonesiaanies.41.t
	desc = indonesiaanies.41.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.41.a
	}
}
country_event = {
	id = indonesiaanies.42
	title = indonesiaanies.42.t
	desc = indonesiaanies.42.d
	picture = GFX_INS_Indonesiaanies_42_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.42.a
	}
}
country_event = {
	id = indonesiaanies.43
	title = indonesiaanies.43.t
	desc = indonesiaanies.43.d
	picture = GFX_INS_Indonesiaanies_43_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
	}

	option = {
		name = indonesiaanies.43.a
		set_temp_variable = {
			var = debt_var_temp
			value = 32.697
		}
		add_debt_with_inflation = yes
	}
}
country_event = {
	id = indonesiaanies.44
	title = indonesiaanies.44.t
	desc = indonesiaanies.44.d
	picture = GFX_INS_Indonesiaanies_44_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.44.a
		add_political_power = 50
		add_stability = -0.025
		set_temp_variable = {
			var = society_development_var_temp
			value = 0.1
		}
		add_society_development = yes
		set_temp_variable = {
			var = poverty_development_var_temp
			value = 0.25
		}
		add_poverty_development = yes
		
	}
	option = {
		name = indonesiaanies.44.b
		add_political_power = -50
		add_stability = 0.025
		set_temp_variable = {
			var = income_var_temp
			value = 6.366
		}
		add_income_with_inflation = yes
		set_temp_variable = {
			var = society_development_var_temp
			value = 0.1
		}
		add_society_development = yes
		set_temp_variable = {
			var = poverty_development_var_temp
			value = 0.05
		}
		add_poverty_development = yes
	}
}

# ANIES FEDERAL REBELS
country_event = {
	id = indonesiaanies.45
	title = indonesiaanies.45.t
	desc = indonesiaanies.45.d
	picture = GFX_INS_Indonesiaanies_45_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaanies.46
				days = 7
			}
		}
	}

	option = {
		name = indonesiaanies.45.a
	}
}
country_event = {
	id = indonesiaanies.46
	title = indonesiaanies.46.t
	desc = indonesiaanies.46.d
	picture = GFX_INS_Indonesiaanies_46_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaanies.47
				days = 7
			}
		}
	}

	option = {
		name = indonesiaanies.46.a
	}
}
country_event = {
	id = indonesiaanies.47
	title = indonesiaanies.47.t
	desc = indonesiaanies.47.d
	picture = GFX_INS_Indonesiaanies_47_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			335 = {
				set_demilitarized_zone = yes
			}
			1385 = {
				set_demilitarized_zone = yes
			}
			country_event = {
				id = indonesiaanies.48
				days = 14
				random_days = 14
			}
		}
	}

	option = {
		name = indonesiaanies.47.a
	}
}
country_event = {
	id = indonesiaanies.48
	title = indonesiaanies.48.t
	desc = indonesiaanies.48.d
	picture = GFX_INS_Indonesiaanies_48_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			335 = {
				set_demilitarized_zone = no
				add_core_of = UGI
				add_claim_by = INS
			}
			1385 = {
				set_demilitarized_zone = no
				add_core_of = UGI
				add_claim_by = INS
			}
			release = UGI
		}
	}

	option = {
		name = indonesiaanies.48.a
		INS = {
			declare_war_on = {
				target = UGI
				type = annex_everything
				generator = { 1385, 335 }
			}
			set_country_flag = INS_Civil_War_Federal_flag
			if = {
				limit = {
					has_country_flag = INS_Federal_Police_support_flag
				}
				add_ideas = INS_support_police_federal_idea
			}
			if = {
				limit = {
					has_country_flag = INS_Federal_TNI_support_flag
				}
				add_ideas = INS_support_tni_federal_idea
			}
		}
		hidden_effect = {
			UGI = {
				load_oob = UGI
				set_country_flag = UGI_War_flag
				add_timed_idea = {
					idea = INS_bersatu_atoe_mati_idea
					days = 300
				}
			}
		}
	}
}
country_event = {
	id = indonesiaanies.49
	title = indonesiaanies.49.t
	desc = indonesiaanies.49.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.49.a
	}
}
country_event = {
	id = indonesiaanies.50
	title = indonesiaanies.50.t
	desc = indonesiaanies.50.d
	picture = GFX_INS_Indonesiaanies_50_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.50.a
		if = {
			limit = {
				has_idea = INS_support_tni_federal_idea
			}
			remove_ideas = INS_support_tni_federal_idea
			clr_country_flag = INS_Federal_TNI_support_flag
		}
		if = {
			limit = {
				has_idea = INS_support_police_federal_idea
			}
			remove_ideas = INS_support_police_federal_idea
			clr_country_flag = INS_Federal_Police_support_flag
		}
	}
}

# ANIES ISLAMIST REBELS
country_event = {
	id = indonesiaanies.51
	title = indonesiaanies.51.t
	desc = indonesiaanies.51.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaanies.52
				days = 7
			}
		}
	}

	option = {
		name = indonesiaanies.51.a
		add_stability = -0.1
	}
}
country_event = {
	id = indonesiaanies.52
	title = indonesiaanies.52.t
	desc = indonesiaanies.52.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			668 = {
				set_demilitarized_zone = yes
			}
			669 = {
				set_demilitarized_zone = yes
			}
			738 = {
				set_demilitarized_zone = yes
			}
			country_event = {
				id = indonesiaanies.54
				days = 14
				random_days = 14
			}
		}
	}

	option = {
		name = indonesiaanies.52.a
	}
	option = {
		name = indonesiaanies.52.b
		country_event = {
			id = indonesiaanies.53
			days = 3
		}
	}
}
country_event = {
	id = indonesiaanies.53
	title = indonesiaanies.53.t
	desc = indonesiaanies.53.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.53.a
		add_stability = 0.075
	}
}
country_event = {
	id = indonesiaanies.54
	title = indonesiaanies.54.t
	desc = indonesiaanies.54.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			668 = {
				set_demilitarized_zone = no
				add_core_of = MLK
				add_claim_by = INS
			}
			738 = {
				set_demilitarized_zone = no
				add_core_of = MLK
				add_claim_by = INS
			}
			release = MLK
		}
	}

	option = {
		name = indonesiaanies.54.a
		INS = {
			declare_war_on = {
				target = MLK
				type = annex_everything
				generator = { 668, 738 }
			}
			set_country_flag = INS_Civil_War_Islamic_flag
		}
		hidden_effect = {
			MLK = {
				load_oob = MLK_Uprising
				set_country_flag = MLK_War_flag
				add_timed_idea = {
					idea = INS_anti_islam_gov_idea
					days = 300
				}
			}
			country_event = {
				id = indonesiaanies.55
				days = 7
				random_days = 7
			}
		}
	}
}
country_event = {
	id = indonesiaanies.55
	title = indonesiaanies.55.t
	desc = indonesiaanies.55.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			669 = {
				set_demilitarized_zone = no
				add_core_of = WSP
				add_claim_by = INS
			}
			release = WSP
			WSP = {
				load_oob = WSP_Uprising
			}
		}
	}

	option = {
		name = indonesiaanies.55.a
		INS = {
			declare_war_on = {
				target = WSP
				type = annex_everything
				generator = { 669 }
			}
			if = {
				limit = {
					has_country_flag = INS_Islam_Police_support_flag
				}
				add_ideas = INS_support_police_islam_idea
			}
			if = {
				limit = {
					has_country_flag = INS_Islam_TNI_support_flag
				}
				add_ideas = INS_support_tni_islam_idea
			}
		}
		hidden_effect = {
			WSP = {
				load_oob = WSP_Uprising
				set_country_flag = WSP_War_flag
				add_timed_idea = {
					idea = INS_anti_islam_gov_idea
					days = 300
				}
			}
		}
	}
	option = {
		name = indonesiaanies.55.b
	}
}
country_event = {
	id = indonesiaanies.56
	title = indonesiaanies.56.t
	desc = indonesiaanies.56.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.56.a
		if = {
			limit = {
				NOT = {
					country_exists = WSP
				}
			}
			if = {
				limit = {
					has_idea = INS_support_tni_federal_idea
				}
				remove_ideas = INS_support_tni_federal_idea
				clr_country_flag = INS_Islam_TNI_support_flag
			}
			if = {
				limit = {
					has_idea = INS_support_police_islam_idea
				}
				remove_ideas = INS_support_police_islam_idea
				clr_country_flag = INS_Islam_Police_support_flag
			}
		}
	}
}
country_event = {
	id = indonesiaanies.57
	title = indonesiaanies.57.t
	desc = indonesiaanies.57.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.57.a
		if = {
			limit = {
				NOT = {
					country_exists = MLK
				}
			}
			if = {
				limit = {
					has_idea = INS_support_tni_federal_idea
				}
				remove_ideas = INS_support_tni_federal_idea
				clr_country_flag = INS_Islam_TNI_support_flag
			}
			if = {
				limit = {
					has_idea = INS_support_police_islam_idea
				}
				remove_ideas = INS_support_police_islam_idea
				clr_country_flag = INS_Islam_Police_support_flag
			}
		}
	}
}
country_event = {
	id = indonesiaanies.58
	title = indonesiaanies.58.t
	desc = indonesiaanies.58.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.58.a
	}
}
country_event = {
	id = indonesiaanies.59
	title = indonesiaanies.59.t
	desc = indonesiaanies.59.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.59.a
	}
}
country_event = {
	id = indonesiaanies.60
	title = indonesiaanies.60.t
	desc = indonesiaanies.60.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
		}
	}

	option = {
		name = indonesiaanies.60.a
		add_stability = -0.05
		add_political_power = -25
		remove_ideas = INS_corruption_1_idea
	}
}
country_event = {
	id = indonesiaanies.61
	title = indonesiaanies.61.t
	desc = indonesiaanies.61.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_Golkar_Loyalty
				value = 2
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_Golkar_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_Golkar_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesiaanies.61.a
	}
}
country_event = {
	id = indonesiaanies.62
	title = indonesiaanies.62.t
	desc = indonesiaanies.62.d
	picture = GFX_report_event
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = { tag = INS }

	immediate = {
		clr_country_flag = INS_Abandon_IKN_flag
	}

	option = {
		name = indonesiaanies.62.a
		add_ideas = INS_IKN_build_idea
		activate_mission = INS_Build_IKN_mission
		hidden_effect = {
			add_days_mission_timeout = {
				mission = INS_Build_IKN_mission
				days = -1000
			}
		}
	}
}

# FEDERAL REPUBLIC
country_event = {
	id = indonesiafederal.1
	title = indonesiafederal.1.t
	desc = indonesiafederal.1.d
	picture = GFX_INS_Indonesiafederal_1_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}
	option = {
		name = indonesiafederal.1.a
		add_political_power = 100
		activate_mission = INS_Counter_Federal_mission
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = -0.1
		}
	}
}

country_event = {
	id = indonesiafederal.2
	title = indonesiafederal.2.t
	desc = indonesiafederal.2.d
	picture = GFX_INS_Indonesiafederal_2_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.2.a
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = -0.1
		}
	}
}

country_event = {
	id = indonesiafederal.3
	title = indonesiafederal.3.t
	desc = indonesiafederal.3.d
	picture = GFX_INS_Indonesiafederal_3_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.3.a
	}
}

country_event = {
	id = indonesiafederal.4
	title = indonesiafederal.4.t
	desc = indonesiafederal.4.d
	picture = GFX_INS_Indonesiafederal_4_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.4.a
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = -0.05
		}
	}
}

country_event = {
	id = indonesiafederal.5
	title = indonesiafederal.5.t
	desc = indonesiafederal.5.d
	picture = GFX_INS_Indonesiafederal_5_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.5.a
		add_stability = 0.05
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = -0.1
		}
	}
}

country_event = {
	id = indonesiafederal.6
	title = indonesiafederal.6.t
	desc = indonesiafederal.6.d
	picture = GFX_INS_Indonesiafederal_6_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.6.a
		add_power_balance_value = {
			id = INS_Anies_BoP
			value = -0.15
		}
	}
}

country_event = {
	id = indonesiafederal.7
	title = indonesiafederal.7.t
	desc = indonesiafederal.7.d
	picture = GFX_INS_Indonesiafederal_7_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.7.a
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 13 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 6 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 1 }

		set_temp_variable = { tempvar = 15 }
		set_temp_variable = { provincevar = 335 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 10 }
		set_temp_variable = { provincevar = 672 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 334 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 673 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 2.5 }
		set_temp_variable = { provincevar = 738 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 669 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 668 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 667 }
		Add_Anies_Federalization_Progress = yes

		set_country_flag = INS_Federal_Police_support_flag
	}
}

country_event = {
	id = indonesiafederal.8
	title = indonesiafederal.8.t
	desc = indonesiafederal.8.d
	picture = GFX_INS_Indonesiafederal_8_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.8.a
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 13 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 3 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 6 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 10 }
		Decrease_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 0 }

		set_temp_variable = { tempvar = 2.5 }
		set_temp_variable = { provincevar = 335 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 1.5 }
		set_temp_variable = { provincevar = 672 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 334 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 673 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 0.5 }
		set_temp_variable = { provincevar = 738 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 669 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 668 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 667 }
		Add_Anies_Federalization_Progress = yes
	}
}

country_event = {
	id = indonesiafederal.9
	title = indonesiafederal.9.t
	desc = indonesiafederal.9.d
	picture = GFX_INS_Indonesiafederal_9_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.9.a
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 14 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 6 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 1 }

		set_temp_variable = { tempvar = 15 }
		set_temp_variable = { provincevar = 335 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 10 }
		set_temp_variable = { provincevar = 672 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 334 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 673 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 2.5 }
		set_temp_variable = { provincevar = 738 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 669 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 668 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 667 }
		Add_Anies_Federalization_Progress = yes

		set_country_flag = INS_Federal_TNI_support_flag
	}
}

country_event = {
	id = indonesiafederal.10
	title = indonesiafederal.10.t
	desc = indonesiafederal.10.d
	picture = GFX_INS_Indonesiafederal_10_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiafederal.10.a
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 14 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 3 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 6 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 10 }
		Decrease_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 0 }

		set_temp_variable = { tempvar = 2.5 }
		set_temp_variable = { provincevar = 335 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 1.5 }
		set_temp_variable = { provincevar = 672 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 334 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 673 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { tempvar = 0.5 }
		set_temp_variable = { provincevar = 738 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 669 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 668 }
		Add_Anies_Federalization_Progress = yes
		set_temp_variable = { provincevar = 667 }
		Add_Anies_Federalization_Progress = yes
	}
}

#ISLAMIC REPUBLIC
country_event = {
	id = indonesiaislamicdem.1
	title = indonesiaislamicdem.1.t
	desc = indonesiaislamicdem.1.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}
	option = {
		name = indonesiaislamicdem.1.a
		add_political_power = 100
		activate_mission = INS_Counter_Islam_mission
	}
}

country_event = {
	id = indonesiaislamicdem.2
	title = indonesiaislamicdem.2.t
	desc = indonesiaislamicdem.2.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.2.a
	}
}

country_event = {
	id = indonesiaislamicdem.3
	title = indonesiaislamicdem.3.t
	desc = indonesiaislamicdem.3.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.3.a
	}
}

country_event = {
	id = indonesiaislamicdem.4
	title = indonesiaislamicdem.4.t
	desc = indonesiaislamicdem.4.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.4.a
	}
}

country_event = {
	id = indonesiaislamicdem.5
	title = indonesiaislamicdem.5.t
	desc = indonesiaislamicdem.5.d
	picture = GFX_INS_Indonesiaislamicdem_5_Picture
	
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.5.a
		set_temp_variable = { boolpositivechange = 1 }
		set_temp_variable = { sidevar = 1 }
		set_temp_variable = { tempvar = 5 }
		Add_Anies_Islamic_Legitimacy = yes
	}
}

country_event = {
	id = indonesiaislamicdem.6
	title = indonesiaislamicdem.6.t
	desc = indonesiaislamicdem.6.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.6.a
	}
}

country_event = {
	id = indonesiaislamicdem.7
	title = indonesiaislamicdem.7.t
	desc = indonesiaislamicdem.7.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.7.a
		set_country_flag = INS_Islam_amendment_flag
	}
}

country_event = {
	id = indonesiaislamicdem.8
	title = indonesiaislamicdem.8.t
	desc = indonesiaislamicdem.8.d

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.8.a
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 13 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 4 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 1 }
		set_temp_variable = { sidevar = 1 }
		set_temp_variable = { tempvar = 10 }
		Add_Anies_Islamic_Legitimacy = yes

		set_country_flag = INS_Islam_Police_support_flag
	}
}

country_event = {
	id = indonesiaislamicdem.9
	title = indonesiaislamicdem.9.t
	desc = indonesiaislamicdem.9.d

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.9.a
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 13 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 3 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 4 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 10 }
		Decrease_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 0 }
		set_temp_variable = { sidevar = 1 }
		set_temp_variable = { tempvar = 5 }
		Add_Anies_Islamic_Legitimacy = yes
	}
}

country_event = {
	id = indonesiaislamicdem.10
	title = indonesiaislamicdem.10.t
	desc = indonesiaislamicdem.10.d

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.10.a
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 14 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 3 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 4 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 1 }
		set_temp_variable = { sidevar = 1 }
		set_temp_variable = { tempvar = 10 }
		Add_Anies_Islamic_Legitimacy = yes

		set_country_flag = INS_Islam_TNI_support_flag
	}
}

country_event = {
	id = indonesiaislamicdem.11
	title = indonesiaislamicdem.11.t
	desc = indonesiaislamicdem.11.d

	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		tag = INS
	}
	immediate = { }
	option = {
		name = indonesiaislamicdem.11.a
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 14 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 3 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 4 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 10 }
		Decrease_Party_Popularity = yes

		set_temp_variable = { boolpositivechange = 0 }
		set_temp_variable = { sidevar = 1 }
		set_temp_variable = { tempvar = 5 }
		Add_Anies_Islamic_Legitimacy = yes
	}
}

			

#random event

country_event = {
	id = indonesiaaddon.1
	title = indonesiaaddon.1.t
	desc = indonesiaaddon.1.d
	picture = GFX_INS_Indonesiaaddon_1_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			add_ideas = INS_oil_crisis_3_idea
		}
	}

	option = {
		name = indonesiaaddon.1.a
		effect_tooltip = {
			add_ideas = INS_oil_crisis_3_idea
		}
	}
}


country_event = {
	id = indonesiaaddon.2
	title = indonesiaaddon.2.t
	desc = indonesiaaddon.2.d
	picture = GFX_INS_Indonesiaaddon_2_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
	}

	option = {
		name = indonesiaaddon.2.a
		add_political_power = -50
		add_stability = -0.03
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 6 }
		Increase_Party_Popularity = yes
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes
	}
	option = {
		name = indonesiaaddon.2.b
		add_political_power = -25
		add_stability = 0.015
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 2 }
		Increase_Party_Popularity = yes
		set_temp_variable = { parties = 9 }
		Increase_Party_Popularity = yes
	}
}

country_event = {
	id = indonesiaaddon.3
	title = indonesiaaddon.3.t
	desc = indonesiaaddon.3.d
	picture = GFX_INS_Indonesiaaddon_3_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			if = {
				limit = {
					has_idea = INS_omnibuslaw_riot_1_idea
				}
				swap_ideas = {
					remove_idea = INS_omnibuslaw_riot_1_idea
					add_idea = INS_omnibuslaw_riot_2_idea
				}
			}
			else_if = {
				limit = {
					has_idea = INS_omnibuslaw_riot_2_idea
				}
				swap_ideas = {
					remove_idea = INS_omnibuslaw_riot_2_idea
					add_idea = INS_omnibuslaw_riot_3_idea
				}
			}
			swap_ruler_traits = {
				remove = hos_jokowi_pdip
				add = hos_jokowi_2_pdip
			}
			add_days_mission_timeout = {
				mission = INS_Covid_Rise
				days = -30
			}
		}
	}

	option = {
		name = indonesiaaddon.3.a
		set_country_flag = INS_Bill_Passed_flag
		effect_tooltip = {
			if = {
				limit = {
					has_idea = INS_omnibuslaw_riot_1_idea
				}
				swap_ideas = {
					remove_idea = INS_omnibuslaw_riot_1_idea
					add_idea = INS_omnibuslaw_riot_2_idea
				}
			}
			else_if = {
				limit = {
					has_idea = INS_omnibuslaw_riot_2_idea
				}
				swap_ideas = {
					remove_idea = INS_omnibuslaw_riot_2_idea
					add_idea = INS_omnibuslaw_riot_3_idea
				}
			}
			swap_ruler_traits = {
				remove = hos_jokowi_pdip
				add = hos_jokowi_2_pdip
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.4
	title = indonesiaaddon.4.t
	desc = indonesiaaddon.4.d
	picture = GFX_INS_Indonesiaaddon_4_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			set_country_flag = INS_Rizieq_Home_flag
			country_event = {
				id = indonesiaaddon.9
				days = 14
			}
		}
	}

	option = {
		name = indonesiaaddon.4.a
		add_stability = -0.025
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 12 }
		Increase_Party_Popularity = yes
		if = {
			limit = {
				has_country_flag = INS_Support_Bill_flag
			}
			unlock_decision_tooltip = INS_Against_FPI_decision
		}
		else = { unlock_decision_tooltip = INS_Lobby_FPI_decision }
	}
}

country_event = {
	id = indonesiaaddon.5
	title = indonesiaaddon.5.t
	desc = indonesiaaddon.5.d
	picture = GFX_INS_Indonesiaaddon_5_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.39
				days = 28
				random_days = 14
			}
		}
	}

	option = {
		name = indonesiaaddon.5.a
		add_stability = -0.015
		add_manpower = -6
	}
}

country_event = {
	id = indonesiaaddon.6
	title = indonesiaaddon.6.t
	desc = indonesiaaddon.6.d
	picture = GFX_INS_Indonesiaaddon_6_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
	}

	option = {
		name = indonesiaaddon.6.a
		add_stability = -0.025
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 12 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesiaaddon.7
	title = indonesiaaddon.7.t
	desc = indonesiaaddon.7.d
	picture = GFX_INS_Indonesiaaddon_7_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.8
				days = 14
				random_days = 7
			}
		}
	}

	option = {
		name = indonesiaaddon.7.a
		effect_tooltip = {
			country_event = {
				id = indonesiaaddon.8
				days = 14
				random_days = 7
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.8
	title = indonesiaaddon.8.t
	desc = indonesiaaddon.8.d
	picture = GFX_INS_Indonesiaaddon_8_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.12
				days = 32
				random_days = 7
			}
		}
	}

	option = {
		name = indonesiaaddon.8.a
		effect_tooltip = {
			remove_ideas = ASEAN_member
		}
		hidden_effect = {
			news_event = {	
				id = news.421
				days = 0
			}
			country_event = {
				id = indonesia.26
				days = 5
				random_days = 3
			}
			country_event = {
				id = indonesia.41
				days = 30
				random_days = 14
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.9
	title = indonesiaaddon.9.t
	desc = indonesiaaddon.9.d
	picture = GFX_INS_Indonesiaaddon_9_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.5
				days = 56
				random_days = 7
			}
		}
	}

	option = {
		name = indonesiaaddon.9.a
	}
}

country_event = {
	id = indonesiaaddon.10 #cabut invest
	title = indonesiaaddon.10.t
	desc = indonesiaaddon.10.d
	picture = GFX_INS_Indonesiaaddon_10_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
	}

	option = {
		name = indonesiaaddon.10.a
		PRC = {
			add_opinion_modifier = { target = INS modifier = medium_decrease }
		}
		if = {
			limit = {
				has_idea = INS_low_chinese_invest_idea
			}
			remove_ideas = INS_low_chinese_invest_idea
		}
		else_if = {
			limit = {
				has_idea = INS_moderate_chinese_invest_idea
			}
			swap_ideas = {
				remove_idea = INS_moderate_chinese_invest_idea
				add_idea = INS_low_chinese_invest_idea
			}
		}
		else = {
			effect_tooltip = {
				remove_ideas = INS_low_chinese_invest_idea
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.11 #naikin invest
	title = indonesiaaddon.11.t
	desc = indonesiaaddon.11.d
	picture = GFX_INS_Indonesiaaddon_11_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}

	immediate = {
	}

	option = {
		name = indonesiaaddon.11.a
		PRC = {
			add_opinion_modifier = { target = INS modifier = medium_increase }
		}
		if = {
			limit = {
				has_idea = INS_low_chinese_invest_idea
			}
			swap_ideas = {
				remove_idea = INS_low_chinese_invest_idea
				add_idea = INS_moderate_chinese_invest_idea
			}
		}
		else_if = {
			limit = {
				has_idea = INS_moderate_chinese_invest_idea
			}
			swap_ideas = {
				remove_idea = INS_moderate_chinese_invest_idea
				add_idea = INS_dominant_chinese_invest_idea
			}
		}
	}
}

# second confrontation
country_event = {
	id = indonesiaaddon.12
	title = indonesiaaddon.12.t
	desc = indonesiaaddon.12.d
	picture = GFX_INS_Indonesiaaddon_12_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			set_variable = {
				var = INS_confrontation_var
				value = 7
			}

			
			add_opinion_modifier = {
				target = MAL
				modifier = large_decrease
			}
			MAL = {
				add_opinion_modifier = {
					target = INS
					modifier = large_decrease
				}
			}

			set_country_flag = INS_second_confrontation_flag
			set_country_flag = INS_MAL_Not_Ready_War_flag
		}
	}

	option = {
		name = indonesiaaddon.12.a
		add_stability = -0.05
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 14 }
		Decrease_Party_Popularity = yes
		unlock_decision_category_tooltip = INS_Second_Confrontation_category
		set_country_flag = INS_confrontation_diplomatic_flag
		activate_mission = INS_Confrontation_Deadline_mission
		focus_unlock = yes
		hidden_effect = {
			complete_national_focus = INS_Confrontation_Diplomacy
			country_event = {
				id = indonesiaaddon.16
				days = 1
			}
		}
	}
	option = {
		name = indonesiaaddon.12.b
		add_stability = -0.10
		add_war_support = 0.05
		add_political_power = -50
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 14 }
		Increase_Party_Popularity = yes
		unlock_decision_category_tooltip = INS_Second_Confrontation_category
		set_country_flag = INS_confrontation_war_flag
		activate_mission = INS_Confrontation_Deadline_mission
		focus_unlock = yes
		hidden_effect = {
			complete_national_focus = INS_Confrontation_Ganyang
			country_event = {
				id = indonesiaaddon.13
				days = 1
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.13
	title = indonesiaaddon.13.t
	desc = indonesiaaddon.13.d
	picture = GFX_INS_Indonesiaaddon_13_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.14
				days = 35
				random_days = 14
			}
			
			country_event = {
				id = indonesiaaddon.24
				days = 120
				random_days = 30
			}
		}
	}

	option = {
		name = indonesiaaddon.13.a
		add_war_support = 0.05
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 1000
		}
	}
}

country_event = {
	id = indonesiaaddon.14
	title = indonesiaaddon.14.t
	desc = indonesiaaddon.14.d
	picture = GFX_INS_Indonesiaaddon_14_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaaddon.14.a
		set_temp_variable = { boolpositivechange = 0 }
		set_temp_variable = { tempvar = 1 }
		Change_Second_Confrontation_Tension = yes
	}
}

country_event = {
	id = indonesiaaddon.15
	title = indonesiaaddon.15.t
	desc = indonesiaaddon.15.d
	picture = GFX_INS_Indonesiaaddon_15_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaaddon.15.a
		effect_tooltip = {
			333 = {
				add_state_modifier = {
					modifier = {
						local_supplies = -0.15
						attrition_for_controller = 0.075
						army_speed_factor = -0.1
					}
				}
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.16
	title = indonesiaaddon.16.t
	desc = indonesiaaddon.16.d
	picture = GFX_INS_Indonesiaaddon_16_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.17
				days = 42
				random_days = 14
			}

			country_event = {
				id = indonesiaaddon.24
				days = 120
				random_days = 30
			}
		}
	}

	option = {
		name = indonesiaaddon.16.a
	}
}

country_event = {
	id = indonesiaaddon.17
	title = indonesiaaddon.17.t
	desc = indonesiaaddon.17.d
	picture = GFX_INS_Indonesiaaddon_17_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaaddon.17.a
		set_temp_variable = { boolpositivechange = 1 }
		set_temp_variable = { tempvar = 1 }
		Change_Second_Confrontation_Tension = yes
	}
}

country_event = {
	id = indonesiaaddon.18
	title = indonesiaaddon.18.t
	desc = indonesiaaddon.18.d
	picture = GFX_INS_Indonesiaaddon_18_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaaddon.18.a
		add_opinion_modifier = {
			target = MAL
			modifier = medium_increase
		}
		MAL = {
			add_opinion_modifier = {
				target = INS
				modifier = medium_increase
			}
		}
	}
}
country_event = {
	id = indonesiaaddon.19
	title = indonesiaaddon.19.t
	desc = indonesiaaddon.19.d
	picture = GFX_INS_Indonesiaaddon_19_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaaddon.19.a
		add_ideas = INS_Prepared_War_idea
	}
}

country_event = {
	id = indonesiaaddon.192
	title = indonesiaaddon.192.t
	desc = indonesiaaddon.192.d
	picture = generic
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaaddon.192.a
		MAL = {
			declare_war_on = {
				target = INS
				type = annex_everything
				generator = { 333 }
			}
		
			add_ideas = INS_MAL_Failed_idea
		}

		add_timed_idea = {
			idea = INS_Unprepared_War_idea
			days = 30
		}
		
		activate_mission = INS_MAL_Deadline_War_short_mission
	}
}

country_event = {
	id = indonesiaaddon.20
	title = indonesiaaddon.20.t
	desc = indonesiaaddon.20.d
	picture = GFX_INS_Indonesiaaddon_20_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
		NOT = {
			has_country_flag = INS_MAL_war_flag
		}
	}
	immediate = {
		hidden_effect = {
			clr_country_flag = INS_MAL_Not_Ready_War_flag
			clr_country_flag = INS_second_confrontation_flag
			clr_country_flag = INS_confrontation_diplomatic_flag
			set_country_flag = INS_peace_confrontation_flag
			
			focus_unlock = yes
		}
	}

	option = {
		name = indonesiaaddon.20.a
		add_stability = 0.05
		add_opinion_modifier = {
			target = MAL
			modifier = large_increase
		}
		MAL = {
			add_stability = 0.05
			add_opinion_modifier = {
				target = INS
				modifier = large_increase
			}
		}
	}
}

country_event = {
	id = indonesiaaddon.21
	title = indonesiaaddon.21.t
	desc = indonesiaaddon.21.d
	picture = GFX_INS_Indonesiaaddon_21_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			clr_country_flag = INS_MAL_Not_Ready_War_flag
			clr_country_flag = INS_MAL_Ready_War_flag
			clr_country_flag = INS_second_confrontation_flag
			clr_country_flag = INS_confrontation_diplomatic_flag
			clr_country_flag = INS_confrontation_war_flag
			clr_country_flag = INS_MAL_war_flag
			set_country_flag = INS_lose_confrontation_flag

			MAL = {
				remove_ideas = INS_MAL_No_Surrender_idea
			}

			set_portraits = {
				character = INS_joko_widodo_char
				civilian = { large ="gfx/leaders/INS/Joko_Widodo_Sad.png" }
			} 

			white_peace = MAL
			334 = {
				set_demilitarized_zone = yes
			}
			if = {
				limit = {
					has_completed_focus = INS_Confrontation_Airstrike
				}
				333 = {
					add_state_modifier = {
						modifier = {
							local_supplies = 0.15
							attrition_for_controller = -0.075
							army_speed_factor = 0.1
						}
					}
				}
			}
			if = {
				limit = {
					has_completed_focus = INS_Confrontation_Mobilize
				}
				334 = {
					add_state_modifier = {
						modifier = {
							mobilization_speed = 0.1
							supply_node_range = 0.15
						}
					}
				}
			}
		}
	}

	option = {
		name = indonesiaaddon.21.a
		add_political_power = -200
		if = {
			limit = {
				has_idea = INS_Prepared_War_idea
			}
			remove_ideas = INS_Prepared_War_idea
		}
		add_timed_idea = {
			idea = INS_shameful_defeat_idea
			days = 400
		}
		effect_tooltip = {
			white_peace = MAL
			334 = {
				set_demilitarized_zone = yes
			}
		}
		load_focus_tree = indonesia_focus_schizo
		focus_unlock = yes
	}
}

country_event = {
	id = indonesiaaddon.22
	title = indonesiaaddon.22.t
	desc = indonesiaaddon.22.d
	picture = GFX_INS_Indonesiaaddon_22_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			clr_country_flag = INS_MAL_Not_Ready_War_flag
			clr_country_flag = INS_MAL_Ready_War_flag
			clr_country_flag = INS_second_confrontation_flag
			clr_country_flag = INS_confrontation_diplomatic_flag
			clr_country_flag = INS_confrontation_war_flag
			clr_country_flag = INS_MAL_war_flag
			set_country_flag = INS_won_confrontation_flag
			
			MAL = {
				remove_ideas = INS_MAL_No_Surrender_idea

				set_country_flag = cannot_join_faction_flag

				country_event = {
					id = malaysiaevent.1
					days = 45
					random_days = 14
				}
			}

			set_portraits = {
				character = INS_joko_widodo_char
				civilian = { large ="gfx/leaders/INS/Joko_Widodo_Happy.png" }
			} 
			
			white_peace = MAL
			focus_unlock = yes

			if = {
				limit = {
					has_completed_focus = INS_Confrontation_Airstrike
				}
				333 = {
					add_state_modifier = {
						modifier = {
							local_supplies = 0.15
							attrition_for_controller = -0.075
							army_speed_factor = 0.1
						}
					}
				}
			}
			if = {
				limit = {
					has_completed_focus = INS_Confrontation_Mobilize
				}
				334 = {
					add_state_modifier = {
						modifier = {
							mobilization_speed = 0.1
							supply_node_range = 0.15
						}
					}
				}
			}	
		}
	}

	option = {
		name = indonesiaaddon.22.a
		if = {
			limit = {
				has_idea = INS_Prepared_War_idea
			}
			remove_ideas = INS_Prepared_War_idea
		}
		effect_tooltip = {
			white_peace = MAL
		}
		INB = {
			transfer_state = 333
		}
		puppet = INB

		add_political_power = 150

		set_temp_variable = { power_points = 15 }
		Add_Jokowi_Power = yes
		set_temp_variable = { power_points = 10 }
		Add_Prabowo_Power = yes
		
		hidden_effect = {

			333 = {
				add_core_of = INB
				remove_core_of = MAL
				add_claim_by = MAL
				start_resistance = yes
			}
			INB = {
				set_politics = {	
					ruling_party = nationalist
					elections_allowed = no
				}

				create_country_leader = {
					name = "Yusuf Setiaji"
					picture = "GFX_INS_Yusuf_Setiaji"
					ideology = military_junta
				}

				set_popularities = {
					authoritarian_democrat = 0
					social_liberal = 0
					conservative = 0
					market_liberal = 0
					nationalist = 100
				}

				add_offsite_building = {
					type = arms_factory
					level = 8
				}
				add_offsite_building = {
					type = industrial_complex
					level = 5
				}
				change_economy_type_mixed_economy = yes
				change_government_type_military_dictatorship = yes
			}
		}
	}
}

country_event = {
    id = indonesiaaddon.23
	title = indonesiaaddon.23.t
	desc = indonesiaaddon.23.d
	picture = GFX_INS_Indonesiaaddon_21_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			clr_country_flag = INS_MAL_Not_Ready_War_flag
			clr_country_flag = INS_MAL_Ready_War_flag
			clr_country_flag = INS_second_confrontation_flag
			clr_country_flag = INS_confrontation_diplomatic_flag
			clr_country_flag = INS_confrontation_war_flag
			clr_country_flag = INS_MAL_war_flag
			set_country_flag = INS_lose_confrontation_flag

			MAL = {
				remove_ideas = INS_MAL_No_Surrender_idea
			}

			set_portraits = {
				character = INS_joko_widodo_char
				civilian = { large ="gfx/leaders/INS/Joko_Widodo_Sad.png" }
			} 

			white_peace = MAL
			334 = {
				set_demilitarized_zone = yes
			}
			if = {
				limit = {
					has_completed_focus = INS_Confrontation_Airstrike
				}
				333 = {
					add_state_modifier = {
						modifier = {
							local_supplies = 0.15
							attrition_for_controller = -0.075
							army_speed_factor = 0.1
						}
					}
				}
			}
			if = {
				limit = {
					has_completed_focus = INS_Confrontation_Mobilize
				}
				334 = {
					add_state_modifier = {
						modifier = {
							mobilization_speed = 0.1
							supply_node_range = 0.15
						}
					}
				}
			}
		}
	}

	option = {
		name = indonesiaaddon.23.a
		add_political_power = -200
		if = {
			limit = {
				has_idea = INS_Prepared_War_idea
			}
			remove_ideas = INS_Prepared_War_idea
		}
		add_timed_idea = {
			idea = INS_shameful_defeat_idea
			days = 400
		}
		effect_tooltip = {
			white_peace = MAL
			334 = {
				set_demilitarized_zone = yes
			}
		}
		load_focus_tree = indonesia_focus_schizo
		focus_unlock = yes
	}
}

country_event = {
    id = indonesiaaddon.24
	title = indonesiaaddon.24.t
	desc = indonesiaaddon.24.d
	picture = GFX_INS_Indonesiaaddon_24_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
		country_exists = INB
	}
    immediate = {
    }

	option = {
		name = indonesiaaddon.24.a
	}

}


country_event = {
    id = indonesiaaddon.25
	title = indonesiaaddon.25.t
	desc = indonesiaaddon.25.d
	picture = GFX_INS_Indonesiaaddon_25_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiaaddon.25.a
		add_political_power = -50
		add_stability = 0.015
	}
	option = {
		name = indonesiaaddon.25.b
		trigger = {
			has_country_flag = INS_Anies_Period
		}
		add_political_power = 25
		add_stability = -0.025
		INB = {
			hidden_effect = {
				set_popularities = {
					authoritarian_democrat = 0
					social_liberal = 100
					conservative = 0
					market_liberal = 0
					nationalist = 0
				}
			}
			
			set_cosmetic_tag = INB_Free_Anies

			set_politics = {	
				ruling_party = social_liberal
				elections_allowed = no
			}
			set_party_name = {
				ideology = social_liberal
				long_name = "United Sabah-Sarawak Front"
				name = "USSF"
			}
			create_country_leader = {
				name = "Federal Council"
				picture = "GFX_INS_Dewan_Borneo"
				ideology = liberal_socialism
			}
		}
	}
	option = {
		name = indonesiaaddon.25.c
		trigger = {
			OR = {
				#has_country_flag = INS_Prabowo_Period
				has_country_flag = INS_Jokowi_Period
			}
		}
		add_political_power = -100
		add_stability = -0.035
		annex_country = {
			target = INB
			transfer_troops = yes
		}
		hidden_effect = {
			333 = {
				remove_core_of = INB
			}
		}
	}
}


country_event = {
    id = indonesiaaddon.26
	title = indonesiaaddon.26.t
	desc = indonesiaaddon.26.d
	picture = GFX_INS_Indonesiaaddon_26_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.27
				days = 390
				random_days = 120
			}
		}
    }

	option = {
		name = indonesiaaddon.26.a
		add_stability = -0.02
		add_manpower = -1
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 13 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
    id = indonesiaaddon.27
	title = indonesiaaddon.27.t
	desc = indonesiaaddon.27.d
	picture = GFX_INS_Indonesiaaddon_27_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiaaddon.27.a
		add_stability = 0.015
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 13 }
		Increase_Party_Popularity = yes
	}
}

country_event = {
    id = indonesiaaddon.28
	title = indonesiaaddon.28.t
	desc = indonesiaaddon.28.d
	picture = GFX_INS_Indonesiaaddon_28_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiaaddon.28.a
		add_stability = -0.05
		add_political_power = -25
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 13 }
		Decrease_Party_Popularity = yes
	}
}

#event normal

country_event = {
    id = indonesia.2
	title = indonesia.2.t
	desc = indonesia.2.d
	picture = GFX_INS_Indonesia_2_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
        hidden_effect = {
			set_country_flag = INS_omnibuslaw_crisis_flag

			country_event = {
				id = indonesia.5
				days = 3
			}
        }
    }

	option = {
		name = indonesia.2.a
		add_stability = -0.025
		add_popularity = {
			ideology = social_liberal
			popularity = -0.05
		}
	}
}

country_event = {
	id = indonesiacovid.1
	title = indonesiacovid.1.t
	desc = indonesiacovid.1.d
	picture = GFX_INS_Indonesiacovid_1_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
        hidden_effect = {
            activate_mission = INS_Covid_Rise
        	set_country_flag = INS_Covid_Pandemic_flag
			add_ideas = INS_coronavirus_pandemic_1_idea
        	focus_unlock = yes
        }
    }

	option = {
		name = indonesiacovid.1.a
		effect_tooltip = {
			unlock_decision_category_tooltip = INS_Coronavirus_category
            activate_mission = INS_Covid_Rise
			add_ideas = INS_coronavirus_pandemic_1_idea
        	focus_unlock = yes
		}
	}
}

country_event = {
	id = indonesiacovid.2
	title = indonesiacovid.2.t
	desc = indonesiacovid.2.d
	picture = GFX_INS_Indonesiacovid_2_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiacovid.4
				days = 45
				random_days = 14
			}
		}
    }

	option = {
		name = indonesiacovid.2.a
		add_ideas = INS_coronavirus_minor_lockdown_idea
		complete_national_focus = INS_Minor_Lockdown
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 2 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 10 }
		Decrease_Party_Popularity = yes
		hidden_effect = {
			country_event = {
				id = indonesiacovid.3
				days = 90
				random_days = 21
			}
		}
		
	}
	option = {
		name = indonesiacovid.2.b
		add_ideas = INS_coronavirus_total_lockdown_idea
		complete_national_focus = INS_Total_Lockdown
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 2 }
		Decrease_Party_Popularity = yes
		hidden_effect = {
			country_event = {
				id = indonesiacovid.3
				days = 21
				random_days = 14
			}
		}
	}
}

country_event = {
	id = indonesiacovid.3
	title = indonesiacovid.3.t
	desc = indonesiacovid.3.d
	picture = GFX_INS_Indonesiacovid_3_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiacovid.3.a
		add_ideas = INS_crippled_economy_3_idea
	}
}

country_event = {
	id = indonesiacovid.4
	title = indonesiacovid.4.t
	desc = indonesiacovid.4.d
	picture = GFX_INS_Indonesiacovid_4_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiacovid.5
				days = 200
				random_days = 14
			}
		}
    }

	option = {
		name = indonesiacovid.4.a
		add_political_power = -25
		add_stability = -0.015
		set_temp_variable = {
			var = society_development_var_temp
			value = -0.02
		}
		add_society_development = yes
		add_days_mission_timeout = {
			mission = INS_Covid_Rise
			days = 30
		}
	}
	option = {
		name = indonesiacovid.4.b
		add_days_mission_timeout = {
			mission = INS_Covid_Rise
			days = -14
		}
	}
}

country_event = {
	id = indonesiacovid.5
	title = indonesiacovid.5.t
	desc = indonesiacovid.5.d
	picture = GFX_INS_Indonesiacovid_5_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiacovid.5.a
		add_political_power = -50
		add_stability = -0.05
		set_temp_variable = { partyvar = 6 }
		set_temp_variable = { parties = 2 }
		Decrease_Party_Popularity = yes
	}
	option = {
		name = indonesiacovid.5.b
		add_political_power = 25
		add_stability = 0.01
		set_temp_variable = { partyvar = 3.5 }
		set_temp_variable = { parties = 2 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesiacovid.6
	title = indonesiacovid.6.t
	desc = indonesiacovid.6.d
	picture = GFX_INS_Indonesiacovid_6_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiacovid.6.a
		add_political_power = 50
	}
}

country_event = {
	id = indonesiacovid.7
	title = indonesiacovid.7.t
	desc = indonesiacovid.7.d
	picture = GFX_INS_Indonesiacovid_7_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesiacovid.7.a
		add_political_power = 100
		add_stability = 0.1
	}
}

country_event = {
	id = indonesia.3
	title = indonesia.3.t
	desc = indonesia.3.d
	picture = GFX_INS_Indonesia_3_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.3.a
		country_event = {
			id = indonesia.4
			days = 0
		}
	}
}

country_event = {
	id = indonesia.4
	title = indonesia.4.t
	desc = indonesia.4.d
	picture = GFX_INS_Indonesia_3_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.4.a
		add_political_power = 50
	}
}

country_event = {
	id = indonesia.5
	title = indonesia.5.t
	desc = indonesia.5.d
	picture = GFX_INS_Indonesia_5_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.6
				days = 14
				random_days = 7
			}
            add_ideas = INS_omnibuslaw_riot_2_idea
			activate_mission = INS_Wild_Influence_mission
		}
    }

	option = {
		name = indonesia.5.a
			custom_effect_tooltip = INS_Siding_People_focus
		effect_tooltip = {
            add_ideas = INS_omnibuslaw_riot_2_idea
			activate_mission = INS_Wild_Influence_mission
		}
		complete_national_focus = INS_Side_People
	}
}

country_event = {
	id = indonesia.6
	title = indonesia.6.t
	desc = indonesia.6.d
	picture = GFX_INS_Indonesia_6_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.6.a
		add_stability = -0.01
		set_temp_variable = { partyvar = 1.5 }
		set_temp_variable = { parties = 6 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.7
	title = indonesia.7.t
	desc = indonesia.7.d
	picture = GFX_INS_Indonesia_7_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.7.a
	}
}

country_event = {
	id = indonesia.8
	title = indonesia.8.t
	desc = indonesia.8.d
	picture = GFX_INS_Indonesia_8_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.8.a
	}
}

country_event = {
	id = indonesia.9
	title = indonesia.9.t
	desc = indonesia.9.d
	picture = GFX_INS_Indonesia_9_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.12
				days = 55
				random_days = 21
			}
		}
    }

	option = {
		name = indonesia.9.a
	}
}

country_event = {
	id = indonesia.10
	title = indonesia.10.t
	desc = indonesia.10.d
	picture = GFX_INS_Indonesia_10_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.12
				days = 55
				random_days = 21
			}
		}
    }

	option = {
		name = indonesia.10.a
	}
}

country_event = {
	id = indonesia.11
	title = indonesia.11.t
	desc = indonesia.11.d
	picture = GFX_INS_Indonesia_11_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.12
				days = 55
				random_days = 21
			}
		}
    }

	option = {
		name = indonesia.11.a
	}
}

country_event = {
	id = indonesia.12
	title = indonesia.12.t
	desc = indonesia.12.d
	picture = GFX_INS_Indonesia_12_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.12.a
		if = {
			limit = {
				has_idea = INS_omnibuslaw_riot_1_idea
			}
			remove_ideas = INS_omnibuslaw_riot_1_idea
		}
		else_if = {
			limit = {
				has_idea = INS_omnibuslaw_riot_2_idea
			}
			remove_ideas = INS_omnibuslaw_riot_2_idea
		}
		else_if = {
			limit = {
				has_idea = INS_omnibuslaw_riot_3_idea
			}
			remove_ideas = INS_omnibuslaw_riot_3_idea
		}
		else_if = {
			limit = {
				has_idea = INS_omnibuslaw_riot_4_idea
			}
			remove_ideas = INS_omnibuslaw_riot_4_idea
		}
		clr_country_flag = INS_omnibuslaw_crisis_flag
	}
}

#economy
country_event = {
	id = indonesia.13
	title = indonesia.13.t
	desc = indonesia.13.d
	picture = GFX_INS_Indonesia_13_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.13.a
		if = {
			limit = {
				has_idea = INS_crippled_economy_3_idea
			}
			swap_ideas = {
				remove_idea = INS_crippled_economy_3_idea
				add_idea = INS_crippled_economy_2_idea
			}
		}
	}
}

country_event = {
	id = indonesia.14
	title = indonesia.14.t
	desc = indonesia.14.d
	picture = GFX_INS_Indonesia_14_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.14.a
		add_opinion_modifier = { target = GER modifier = small_increase }
		add_opinion_modifier = { target = FRA modifier = small_increase }
		add_opinion_modifier = { target = HOL modifier = small_increase }
	}
}

country_event = {
	id = indonesia.15
	title = indonesia.15.t
	desc = indonesia.15.d
	picture = GFX_INS_Indonesia_15_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.15.a
		add_opinion_modifier = { target = RAJ modifier = small_increase }
		add_opinion_modifier = { target = PAK modifier = small_increase }
		add_opinion_modifier = { target = PRC modifier = small_increase }
	}
}

country_event = {
	id = indonesia.16
	title = indonesia.16.t
	desc = indonesia.16.d
	picture = GFX_INS_Indonesia_16_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.16.a
		add_stability = -0.035
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 2 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.17
	title = indonesia.17.t
	desc = indonesia.17.d
	picture = GFX_INS_Indonesia_17_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.17.a
		add_stability = -0.06
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 2 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.18
	title = indonesia.18.t
	desc = indonesia.18.d
	picture = GFX_INS_Indonesia_18_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.18.a
		activate_mission = INS_Build_IKN_mission
		add_ideas = INS_IKN_build_idea
	}
}

country_event = {
	id = indonesia.19
	title = indonesia.19.t
	desc = indonesia.19.d
	picture = GFX_INS_Indonesia_19_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.19.a
		if = {
			limit = {
				has_idea = INS_coronavirus_minor_lockdown_idea
			}
			remove_ideas = INS_coronavirus_minor_lockdown_idea
		}
		else = { remove_ideas = INS_coronavirus_total_lockdown_idea }
	}
}

country_event = {
	id = indonesia.20
	title = indonesia.20.t
	desc = indonesia.20.d
	picture = GFX_INS_Indonesia_20_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.20.a
		add_ideas = INS_pt_holding_idea
	}
}

country_event = {
	id = indonesia.21
	title = indonesia.21.t
	desc = indonesia.21.d
	picture = GFX_INS_Indonesia_21_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.21.a
	}
}

#foreignpolicy
country_event = {
	id = indonesia.22
	title = indonesia.22.t
	desc = indonesia.22.d
	picture = GFX_INS_Indonesia_22_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.22.a
		add_political_power = -25
	}
}

country_event = {
	id = indonesia.23
	title = indonesia.23.t
	desc = indonesia.23.d
	picture = GFX_INS_Indonesia_23_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesiaaddon.7
				days = 14
				random_days = 7
			}
		}
	}

	option = {
		name = indonesia.23.a
		add_stability = -0.03
		add_war_support = 0.035
	}
}

country_event = {
	id = indonesia.24
	title = indonesia.24.t
	desc = indonesia.24.d
	picture = GFX_INS_Indonesia_22_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {
    }

	option = {
		name = indonesia.24.a
		trigger = {
			has_country_flag = INS_Support_Bill_flag
		}
		#custom_effect_tooltip = INS_Belum_Siap_Text
		add_stability = 0.1
		add_war_support = -0.1
		add_opinion_modifier = { target = PRC modifier = small_increase }
		set_country_flag = INS_Side_China_flag

		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 2 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 1 }
		set_temp_variable = { parties = 1 }
		Increase_Party_Popularity = yes
	}
	option = {
		name = indonesia.24.b
		add_stability = -0.1
		add_war_support = 0.1
		add_opinion_modifier = { target = PRC modifier = small_decrease }
		set_country_flag = INS_Side_Japan_flag

		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 6 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 9 }
		Increase_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.25
	title = indonesia.25.t
	desc = indonesia.25.d
	picture = GFX_INS_Indonesia_25_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {

    }

	option = {
		name = indonesia.25.a
		add_political_power = 75
		add_opinion_modifier = { target = JAP modifier = small_increase }
		add_opinion_modifier = { target = AST modifier = small_increase }
		add_opinion_modifier = { target = CHI modifier = small_increase }

		add_opinion_modifier = { target = PRC modifier = small_decrease }
	}
}

country_event = {
	id = indonesia.26
	title = indonesia.26.t
	desc = indonesia.26.d
	picture = GFX_INS_Indonesia_26_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
    immediate = {

    }

	option = {
		name = indonesia.26.a
		remove_ideas = INS_non_alligned_idea
		custom_effect_tooltip = INS_no_neutral_tooltip
		unlock_decision_category_tooltip = INS_Indonesian_Military_category
	}
}

#politics
country_event = {
	id = indonesia.27
	title = indonesia.27.t
	desc = indonesia.27.d
	picture = GFX_INS_Indonesia_27_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			# FOUR PILLAR
			hidden_effect = {
				set_variable = {
					var = INS_Anies_Power_Value
					value = 20
				}
				set_variable = {
					var = INS_Prabowo_Power_Value
					value = 30
				}
				set_variable = {
					var = INS_Ganjar_Power_Value
					value = 20
				}
				set_variable = {
					var = INS_Jokowi_Power_Value
					value = 30
				}
			}

			#set_country_flag = INS_Anies_Candidate_flag
			#set_country_flag = INS_Prabowo_Candidate_flag
			#set_country_flag = INS_Ganjar_Candidate_flag
		}
		
	}

	option = {
		name = indonesia.27.a
		unlock_decision_category_tooltip = INS_2024_figures_category
		set_country_flag = INS_figure_decision_flag
	}
}

country_event = {
	id = indonesia.28
	title = indonesia.28.t
	desc = indonesia.28.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.28.a
	}
}

country_event = {
	id = indonesia.29
	title = indonesia.29.t
	desc = indonesia.29.d
	picture = GFX_INS_Indonesia_29_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.29.a
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 2 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.30
	title = indonesia.30.t
	desc = indonesia.30.d
	picture = GFX_INS_Indonesia_30_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.30.a
		set_temp_variable = { partyvar = 2 }
		set_temp_variable = { parties = 2 }
		Increase_Party_Popularity = yes
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 1 }
		Decrease_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.31
	title = indonesia.31.t
	desc = indonesia.31.d
	picture = GFX_INS_Indonesia_31_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.31.a
		add_stability = 0.015
		set_temp_variable = { power_points = 3 }
		Add_Anies_Power = yes
	}
}

country_event = {
	id = indonesia.32
	title = indonesia.32.t
	desc = indonesia.32.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.32.a
	}
}

country_event = {
	id = indonesia.33
	title = indonesia.33.t
	desc = indonesia.33.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.33.a
	}
}

country_event = {
	id = indonesia.34
	title = indonesia.34.t
	desc = indonesia.34.d
	picture = GFX_INS_Indonesia_34_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_PKB_Loyalty
				value = 0
			} 
			subtract_from_variable = {
				var = INS_Government_Seat
				value = INS_Party_PKB_Seat
			}
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PKB_Seat
			}
			
			set_variable = { 
				var = INS_Party_NasDem_Loyalty
				value = 0
			} 
			subtract_from_variable = {
				var = INS_Government_Seat
				value = INS_Party_NasDem_Seat
			}
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_NasDem_Seat
			}

			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesia.34.a
		if = {
			limit = {
				has_country_flag = INS_Siding_People_flag
			}
			custom_effect_tooltip = INS_NasDem_SideUs_tooltip
			custom_effect_tooltip = INS_PKB_SideUs_tooltip
		}
	}
}

country_event = {
	id = indonesia.35
	title = indonesia.35.t
	desc = indonesia.35.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.35.a
	}
}

country_event = {
	id = indonesia.36
	title = indonesia.36.t
	desc = indonesia.36.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.36.a
	}
}

country_event = {
	id = indonesia.37
	title = indonesia.37.t
	desc = indonesia.37.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.37.a
	}
}

country_event = {
	id = indonesia.38
	title = indonesia.38.t
	desc = indonesia.38.d
	picture = GFX_INS_Indonesia_38_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.38.a
		add_political_power = 100
	}
}

country_event = {
	id = indonesia.39
	title = indonesia.39.t
	desc = indonesia.39.d
	picture = GFX_INS_Indonesia_39_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.39.a
		add_stability = -0.075
		add_political_power = -25
		set_country_flag = INS_FPI_Banned_flag
		set_temp_variable = { partyvar = 25 }
		set_temp_variable = { parties = 12 }
		Decrease_Party_Popularity = yes

		
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 2 }
		Increase_Party_Popularity = yes

		hidden_effect = {
			country_event = {
				id = indonesiaaddon.6
				days = 40
				random_days = 30
			}
		}
	}
	option = {
		name = indonesia.39.b

		add_stability = 0.015
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 12 }
		Increase_Party_Popularity = yes

		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 10 }
		Increase_Party_Popularity = yes
	}
}

country_event = {
	id = indonesia.40
	title = indonesia.40.t
	desc = indonesia.40.d
	#picture = GFX_INS_Indonesia_40_Picture
	picture = generic_picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
		INS_Andika_Perkasa = {
			is_country_leader = no
		}
	}

	immediate = {

	}

	option = {
		name = indonesia.40.a
		set_country_flag = INS_Andika_Resign_flag
		retire_character = INS_Andika_Perkasa
	}
	option = {
		name = indonesia.40.b
		add_political_power = -25
		add_command_power = -15
	}
}

country_event = {
	id = indonesia.41
	title = indonesia.41.t
	desc = indonesia.41.d
	picture = GFX_INS_Indonesia_41_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.41.a
		trigger = {
			always = no
		}
		add_stability = -0.05
		add_political_power = 100

		set_country_flag = INS_Want_GBHN_flag
		unlock_decision_tooltip = INS_Reactive_GBHN_decision
		custom_effect_tooltip = INS_Support_GBHN_tooltip
	}
	option = {
		name = indonesia.41.b
		add_stability = 0.05
		custom_effect_tooltip = INS_Oppose_GBHN_tooltip
	}
}

country_event = {
	id = indonesia.42
	title = indonesia.42.t
	desc = indonesia.42.d
	picture = GFX_INS_Indonesia_42_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.42.a
	}
}

country_event = {
	id = indonesia.43
	title = indonesia.43.t
	desc = indonesia.43.d
	picture = GFX_INS_Indonesia_43_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.43.a
		add_stability = -0.25
		add_ideas = INS_Lose_Protest_1_idea
	}
}

country_event = {
	id = indonesia.44
	title = indonesia.44.t
	desc = indonesia.44.d
	picture = GFX_INS_Indonesia_44_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.46
				days = 7
				random_days = 3
			}
		}
	}

	option = {
		name = indonesia.44.a
		set_temp_variable = { partyvar = 20 }
		set_temp_variable = { parties = 13 }
		Decrease_Party_Popularity = yes
		add_manpower = -9
	}
}

country_event = {
	id = indonesia.45
	title = indonesia.45.t
	desc = indonesia.45.d
	picture = GFX_INS_Indonesia_45_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.45.a
	}
}

country_event = {
	id = indonesia.46
	title = indonesia.46.t
	desc = indonesia.46.d
	picture = GFX_INS_Indonesia_46_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}
	option = {
		name = indonesia.46.a
		country_event = {
			id = indonesiaintergov.1
			days = 7
			random_days = 7
		}
	}
}

# RUU PILKADA

country_event = {
	id = indonesia.47
	title = indonesia.47.t
	desc = indonesia.47.d
	picture = GFX_INS_Indonesia_47_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			country_event = {
				id = indonesia.48
				days = 6
			}
		}
	}

	option = {
		name = indonesia.47.a
		add_stability = -0.015
		effect_tooltip = {
			country_event = indonesia.48
		}
	}
}
country_event = {
	id = indonesia.48
	title = indonesia.48.t
	desc = indonesia.48.d
	picture = GFX_INS_Indonesia_48_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.48.a
		trigger = {
			OR = {
				has_country_flag = INS_Anies_Won_flag
				has_country_flag = INS_Ganjar_Won_flag
			}
		}
		add_stability = -0.05
		set_temp_variable = { partyvar = 5 }
		set_temp_variable = { parties = 1 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { parties = 8 }
		Decrease_Party_Popularity = yes
		set_temp_variable = { parties = 9 }
		Decrease_Party_Popularity = yes
		hidden_effect = {
			country_event = {
				id = indonesia.50
				days = 7
			}
		}
	}
	option = {
		name = indonesia.48.b
		trigger = {
			has_country_flag = INS_Prabowo_Won_flag
		}
		hidden_effect = {
			country_event = {
				id = indonesia.49
				days = 7
			}
		}
	}
}
country_event = {
	id = indonesia.49
	title = indonesia.49.t
	desc = indonesia.49.d
	picture = GFX_INS_Indonesia_49_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.49.a
	}
}
country_event = {
	id = indonesia.50
	title = indonesia.50.t
	desc = indonesia.50.d
	picture = GFX_INS_Indonesia_50_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.50.a
		add_stability = 0.075
		add_political_power = 50
	}
}

#PAPUA

country_event = { 
    id = indonesia.51 
    title = indonesia.51.t
    desc = indonesia.51.d
	picture = GFX_INS_Indonesia_51_Picture

    is_triggered_only = yes 
    trigger = {
        tag = INS
        NOT = { 
            has_country_flag = INS_Papuan_War 
            has_country_flag = IINS_West_Papuan_Insurgency_Active_flag
        }
    }
    immediate = {
        hidden_effect = {
            set_country_flag = IINS_West_Papuan_Insurgency_Active_flag
            activate_mission = INS_Guerrillian_Movement
        }
    }

    option = {
        name = indonesia.51.a
        set_temp_variable = { tempvar = 2 }
        set_temp_variable = { boolpositivechange = 0 }
        Change_Papuan_Seperatism = yes

        unlock_decision_category_tooltip = INS_Crushing_The_Insurgents_category
    }
}


country_event = { 
    id = indonesia.52 
    title = indonesia.52.t
    desc = indonesia.52.d
	picture = GFX_INS_Indonesia_52_Picture

    is_triggered_only = yes 

    immediate = {
		hidden_effect = {
			set_country_flag = INS_finish_garuda_i_flag
			clr_country_flag = INS_can_do_garuda_flag
		}
    }

    option = {
        name = indonesia.52.a
		add_stability = -0.035
		add_war_support = -0.05
		
		set_temp_variable = { tempvar = 10 }
		set_temp_variable = { boolpositivechange = 0 }
		Change_Papuan_Seperatism = yes
    }
}
country_event = { 
    id = indonesia.53 
    title = indonesia.53.t
    desc = indonesia.53.d
	picture = GFX_INS_Indonesia_53_Picture

    is_triggered_only = yes 

    immediate = {
		hidden_effect = {
			set_country_flag = INS_finish_garuda_i_flag
			clr_country_flag = INS_can_do_garuda_flag
		}
    }

    option = {
        name = indonesia.53.a
		swap_ideas = {
			remove_idea = INS_papuan_problem_3_idea
			add_idea = INS_papuan_problem_2_idea
		}
		set_temp_variable = { tempvar = 25 }
		set_temp_variable = { boolpositivechange = 1 }
		Change_Papuan_Seperatism = yes
    }
}
country_event = {
    id = indonesia.54
    title = indonesia.54.t
    desc = indonesia.54.d
	picture = GFX_INS_Indonesia_54_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.54.a
	}
}
country_event = {
    id = indonesia.55
    title = indonesia.55.t
    desc = indonesia.55.d
	picture = GFX_INS_Indonesia_55_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			random_list = {
				50 = {
					country_event = {
						id = indonesia.56
						days = 7
						random_days = 3
					}
				}
				INS_Papuan_Strength = {
					country_event = {
						id = indonesia.57
						days = 7
						random_days = 3
					}
				}
			}
		}
	}

	option = {
		name = indonesia.55.a
		effect_tooltip = {
			random_list = {
				50 = {
					country_event = {
						id = indonesia.56
						days = 7
						random_days = 3
					}
				}
				INS_Papuan_Strength = {
					country_event = {
						id = indonesia.57
						days = 7
						random_days = 3
					}
				}
			}
		}
	}
}
country_event = {
	id = indonesia.56
	title = indonesia.56.t
	desc = indonesia.56.d
	picture = GFX_INS_Indonesia_56_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		set_country_flag = INS_WPNLA_ceasefire_flag
	}

	option = {
		name = indonesia.56
		set_temp_variable = { boolpositivechange = 1 }
		set_temp_variable = { tempvar = 60 }
		Change_Papuan_Seperatism = yes
		if = {
			limit = {
				has_idea = INS_papuan_problem_3_idea
			}
			swap_ideas = {
				remove_idea = INS_papuan_problem_3_idea
				add_idea = INS_papuan_problem_1_idea
			}
		}
		else_if = {
			limit = {
				has_idea = INS_papuan_problem_2_idea
			}
			swap_ideas = {
				remove_idea = INS_papuan_problem_2_idea
				add_idea = INS_papuan_problem_1_idea
			}
		}
	}
}
country_event = {
	id = indonesia.57
	title = indonesia.57.t
	desc = indonesia.57.d
	picture = GFX_INS_Indonesia_57_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.57.a
		set_temp_variable = { boolpositivechange = 0 }
		set_temp_variable = { tempvar = 5 }
		Change_Papuan_Seperatism = yes
	}
}
country_event = {
	id = indonesia.58
	title = indonesia.58.t
	desc = indonesia.58.d
	picture = GFX_INS_Indonesia_58_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.58.a
        set_temp_variable = { tempvar = 10 }
        set_temp_variable = { boolpositivechange = 0 }
        Change_Papuan_Seperatism = yes
	}
}
country_event = {
	id = indonesia.59
	title = indonesia.59.t
	desc = indonesia.59.d
	picture = GFX_INS_Indonesia_59_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesia.59.a
        set_temp_variable = { tempvar = 60 }
        set_temp_variable = { boolpositivechange = 1 }
        Change_Papuan_Seperatism = yes

		if = { limit = { has_idea = INS_papuan_problem_3_idea } 
			swap_ideas = {
				remove_idea = INS_papuan_problem_3_idea
				add_idea = INS_papuan_problem_1_idea
			}
		}
		else_if = { limit = { has_idea = INS_papuan_problem_2_idea } 
			swap_ideas = {
				remove_idea = INS_papuan_problem_2_idea
				add_idea = INS_papuan_problem_1_idea
			}
		}
		
		add_ideas = INS_jungle_warfare_real

		set_country_flag = INS_WPNLA_ceasefire_flag
		custom_effect_tooltip = INS_WPNLA_ceasefire_tooltip
	}
}
country_event = {
	id = indonesia.60
	title = indonesia.60.t
	desc = indonesia.60.d
	picture = GFX_INS_Indonesia_60_Picture
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {

	}

	option = {
		name = indonesia.60.a
	}
}

# INDONESIA ARMY GOVERNMENT
country_event = {
	id = indonesiaintergov.1
	title = indonesiaintergov.1.t
	desc = indonesiaintergov.1.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
		hidden_effect = {
			complete_national_focus = INS_Lose_Control_Crisis
			set_party_name = {
				ideology = nationalist
				long_name = "Interim Government"
				name = "Interim Government"
			}

			clr_country_flag = INS_Jokowi_Period
			clr_country_flag = INS_year2021_flag

			#set_country_flag = INS_Military_Period
			clr_country_flag = INS_figure_decision_flag
			clr_country_flag = INS_Near_Election_2024_flag
		}
	}

	option = {
		name = indonesiaintergov.1.a
		set_temp_variable = { partyvar = 10 }
		set_temp_variable = { parties = 1 }
		Decrease_Party_Popularity = yes
		retire_country_leader = yes
		hidden_effect = {
			create_country_leader = {
				name = "Megawati Soekarnoputri"
				picture = "GFX_INS_Yusuf_Setiaji"
				ideology = centrist
			}
			swap_ideas = {
				remove_idea = INS_Maruf_Amin
				add_idea = vacant_hog
			}
		}
		set_politics = {	
			ruling_party = nationalist
			elections_allowed = no
		}
		hidden_effect = {
			set_temp_variable = {
				coalition_partner_var_temp = token:social_liberal
			}
			add_to_coalition = yes
		}
		add_country_leader_role = {
			character = INS_maruf_amin_char
			promote_leader = yes
			country_leader = {
				ideology = autocrat
			}
		}
		add_popularity = {
			ideology = nationalist
			popularity = 0.6
		}
	}
}
country_event = {
	id = indonesiaintergov.2
	title = indonesiaintergov.2.t
	desc = indonesiaintergov.2.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaintergov.2.a
		set_temp_variable = { partyvar = 25 }
		set_temp_variable = { parties = 14 }
		Increase_Party_Popularity = yes
		add_popularity = {
			ideology = nationalist
			popularity = 0.7
		}
		set_temp_variable = { power_points = -99 }
		Add_Anies_Power = yes
		Add_Prabowo_Power = yes
		Add_Ganjar_Power = yes
		swap_ideas = {
			remove_idea = INS_Retno_Marsudi
			add_idea = vacant_for
		}
		swap_ideas = {
			remove_idea = INS_Airlangga_Hartarto
			add_idea = vacant_eco
		}
		swap_ideas = {
			remove_idea = INS_Tito_Karnavian
			add_idea = vacant_sec
		}
		swap_ideas = {
			remove_idea = INS_Budi_Gunawan
			add_idea = vacant_int
		}
		swap_ideas = {
			remove_idea = INS_Prabowo_Subianto_Defense
			add_idea = vacant_theorist
		}
		retire_country_leader = yes
		hidden_effect = {
			create_country_leader = {
				name = "Megawati Soekarnoputri"
				picture = "GFX_INS_Yusuf_Setiaji"
				ideology = centrist
			}
			set_temp_variable = {
				coalition_partner_var_temp = token:market_liberal
			}
			remove_from_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:social_democrat
			}
			remove_from_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:authoritarian_democrat
			}
			remove_from_coalition = yes
		}
		set_politics = {
			ruling_party = nationalist
			elections_allowed = no
		}
		if = {
			limit = {
				has_country_flag = INS_Andika_Resign_flag
			}
			add_country_leader_role = {
				character = INS_Yudo_Margono
				promote_leader = yes
				country_leader = {
					ideology = military_junta
				}
			}
		}
		else = {
			add_country_leader_role = {
				character = INS_Andika_Perkasa
				promote_leader = yes
				country_leader = {
					ideology = military_junta
				}
			}
		}
		
		change_government_type_military_dictatorship = yes
	}
}

country_event = {
	id = indonesiaintergov.3
	title = indonesiaintergov.3.t
	desc = indonesiaintergov.3.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaintergov.3.a
		trigger = {
			always = no
		}
	}
	option = {
		name = indonesiaintergov.3.b
		trigger = {
			always = no
		}
	}
	option = {
		name = indonesiaintergov.3.c
		retire_character = INS_maruf_amin_char
		add_country_leader_role = {
			character = INS_rizieq_shihab_char
			promote_leader = yes
			country_leader = {
				ideology = islamic_authoritarian
				traits = {
				}
			}
		}
		set_party_name = {
			ideology = conservative
			long_name = "Nahdlatul Ulama"
			name = "NU"
		}
		set_party_name = {
			ideology = authoritarian_democrat
			long_name = "Islamic Defenders Front"
			name = "FPI"
		}			
		set_party_name = {
			ideology = nationalist
			long_name = "Indonesian National Army"
			name = "TNI"
		}
		hidden_effect = {
			set_politics = {
				ruling_party = authoritarian_democrat
				elections_allowed = no
			}
		}
		change_government_type_provisional_government = yes
		
		add_popularity = {
			ideology = conservative
			popularity = 0.1
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.3
		}
		add_popularity = {
			ideology = nationalist
			popularity = -0.25
		}

		complete_national_focus = INS_Lose_Rizieq_Leadership
	}
}

# faction

#join eadi final
country_event = {
	id = indonesiaeadiarmy.1
	title = indonesiaeadiarmy.1.t
	desc = indonesiaeadiarmy.1.d
	
	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		tag = INS
	}
	immediate = {
	}

	option = {
		name = indonesiaeadiarmy.1.a
		PRC = {
			add_to_faction = INS
		}
		set_country_flag = eadi_member
		clr_country_flag = INS_Ready_to_EADI_flag
	}
}




# election 2024
country_event = {
    id = indonesianfirstelection.1
    title = indonesianfirstelection.1.t
    desc = indonesianfirstelection.1.d
    picture = GFX_INS_Indonesiafirstelection_1_Picture

    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.1.a
		hidden_effect = {
			clr_country_flag = INS_Anies_Candidate_flag
			set_country_flag = INS_Anies_Imin_flag
		}
		custom_effect_tooltip = INS_Anies_pick_imin_tooltip
		country_event = {
			id = indonesianfirstelection.101
			days = 3
		}
    }
    option = {
        name = indonesianfirstelection.1.b
		hidden_effect = {
			clr_country_flag = INS_Anies_Candidate_flag
			set_country_flag = INS_Anies_AHY_flag
		}
		custom_effect_tooltip = INS_Anies_pick_ahy_tooltip
		country_event = {
			id = indonesianfirstelection.111
			days = 3
		}
    }
}

country_event = {
    id = indonesianfirstelection.2
    title = indonesianfirstelection.2.t
    desc = indonesianfirstelection.2.d
    picture = GFX_INS_Indonesiafirstelection_2_Picture

    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.2.a
		country_event = {
			id = indonesianfirstelection.28
			days = 3
		}
		custom_effect_tooltip = INS_Prabowo_pick_gibran_tooltip
    }
    option = {
        name = indonesianfirstelection.2.b
		hidden_effect = {
			clr_country_flag = INS_Prabowo_Candidate_flag
			set_country_flag = INS_Prabowo_Yusril_flag
		}
		custom_effect_tooltip = INS_Prabowo_pick_yusril_tooltip
    }
	option = {
		name = indonesianfirstelection.2.c
		hidden_effect = {
			clr_country_flag = INS_Prabowo_Candidate_flag
			set_country_flag = INS_Prabowo_AHY_flag
		}
		custom_effect_tooltip = INS_Prabowo_pick_ahy_tooltip
	}
}

country_event = {
    id = indonesianfirstelection.3
    title = indonesianfirstelection.3.t
    desc = indonesianfirstelection.3.d
    picture = GFX_INS_Indonesiafirstelection_3_Picture
    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.3.a
		hidden_effect = {
			clr_country_flag = INS_Ganjar_Candidate_flag
			set_country_flag = INS_Ganjar_Yusril_flag
		}
    }
    option = {
        name = indonesianfirstelection.3.b
		hidden_effect = {
			clr_country_flag = INS_Ganjar_Candidate_flag
			set_country_flag = INS_Ganjar_Andika_flag
		}
		retire_character = INS_Andika_Perkasa
    }
}

country_event = {
    id = indonesianfirstelection.4
    title = indonesianfirstelection.4.t
    desc = indonesianfirstelection.4.d
    picture = GFX_INS_Indonesiafirstelection_4_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = {
					OR = {
						has_completed_focus = INS_Restrict_Group
						has_completed_focus = INS_Natuna_Sovereignity
						has_completed_focus = INS_Oligarchy_Friendly
					}
				}
				country_event = {
					id = indonesianfirstelection.102
					hours = 6
				}
			}
		}
	}

    option = {
        name = indonesianfirstelection.4.a
		hidden_effect = {
			clr_country_flag = INS_Anies_Candidate_flag
			set_country_flag = INS_Anies_Imin_flag
		}
    }
}

country_event = {
    id = indonesianfirstelection.5
    title = indonesianfirstelection.5.t
    desc = indonesianfirstelection.5.d
    picture = GFX_INS_Indonesiafirstelection_5_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = {
					OR = {
						has_completed_focus = INS_Restrict_Group
						has_completed_focus = INS_Natuna_Sovereignity
						has_completed_focus = INS_Oligarchy_Friendly
					}
				}
				country_event = {
					id = indonesianfirstelection.112
					hours = 6
				}
			}
		}
	}

    option = {
        name = indonesianfirstelection.5.a
		hidden_effect = {
			clr_country_flag = INS_Anies_Candidate_flag
			set_country_flag = INS_Anies_AHY_flag
		}
    }
}

country_event = {
    id = indonesianfirstelection.6
    title = indonesianfirstelection.6.t
    desc = indonesianfirstelection.6.d
    picture = GFX_INS_Indonesiafirstelection_6_Picture
    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.6.a
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 9 }
		Increase_Party_Popularity = yes
		set_temp_variable = { power_points = 3 }
		Add_Prabowo_Power = yes
		hidden_effect = {
			clr_country_flag = INS_Prabowo_Candidate_flag
			set_country_flag = INS_Prabowo_Gibran_flag
			country_event = {
				id = indonesianfirstelection.21
				days = 35
			}
		}
    }
}

country_event = {
    id = indonesianfirstelection.7
    title = indonesianfirstelection.7.t
    desc = indonesianfirstelection.7.d
    picture = GFX_INS_Indonesiafirstelection_7_Picture
    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.7.a
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 9 }
		Increase_Party_Popularity = yes
		set_temp_variable = { power_points = 3 }
		Add_Prabowo_Power = yes
		hidden_effect = {
			clr_country_flag = INS_Prabowo_Candidate_flag
			set_country_flag = INS_Prabowo_Yusril_flag
		}
    }
}

country_event = {
    id = indonesianfirstelection.8
    title = indonesianfirstelection.8.t
    desc = indonesianfirstelection.8.d
    picture = GFX_INS_Indonesiafirstelection_8_Picture
    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.8.a
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 1 }
		Increase_Party_Popularity = yes
		set_temp_variable = { power_points = 3 }
		Add_Ganjar_Power = yes
		hidden_effect = {
			clr_country_flag = INS_Ganjar_Candidate_flag
			set_country_flag = INS_Ganjar_Mahfud_flag
		}
    }
}

country_event = {
    id = indonesianfirstelection.9
    title = indonesianfirstelection.9.t
    desc = indonesianfirstelection.9.d
    picture = GFX_INS_Indonesiafirstelection_9_Picture
    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.9.a
		set_temp_variable = { partyvar = 2.5 }
		set_temp_variable = { parties = 1 }
		Increase_Party_Popularity = yes
		set_temp_variable = { power_points = 3 }
		Add_Ganjar_Power = yes
		hidden_effect = {
			clr_country_flag = INS_Ganjar_Candidate_flag
			set_country_flag = INS_Ganjar_Andika_flag
		}
    }
}

country_event = {
    id = indonesianfirstelection.101
    title = indonesianfirstelection.101.t
    desc = indonesianfirstelection.101.d
    picture = GFX_INS_Indonesiafirstelection_10a_Picture
    is_triggered_only = yes
	
	immediate = {
		hidden_effect = {
			set_variable = { 
				var = INS_Party_Demokrat_Loyalty
				value = 1
			} 
			subtract_from_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_Demokrat_Seat
			}
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_Demokrat_Seat
			}
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

	option = {
		name = indonesianfirstelection.101.a
		custom_effect_tooltip = INS_Demokrat_BetrayUs_tooltip
	}
}

country_event = {
    id = indonesianfirstelection.111
    title = indonesianfirstelection.111.t
    desc = indonesianfirstelection.111.d
    picture = GFX_INS_Indonesiafirstelection_11a_Picture
    is_triggered_only = yes

	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					check_variable = {
						var = INS_Party_PKB_Loyalty
						value = 1
						compare = less_than
					}
				}
				set_variable = { 
					var = INS_Party_PKB_Loyalty
					value = 1
				} 
				subtract_from_variable = {
					var = INS_Opposition_Seat
					value = INS_Party_PKB_Seat
				}
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_PKB_Seat
				}
				#government and opposition
				INS_Gov_Opp_Balancing = yes
			}
		}
	}

    option = {
        name = indonesianfirstelection.111.a
		custom_effect_tooltip = INS_PKB_BetrayUs_tooltip
    }
}

country_event = {
    id = indonesianfirstelection.102
    title = indonesianfirstelection.102.t
    desc = indonesianfirstelection.102.d
    picture = GFX_INS_Indonesiafirstelection_10b_Picture
    is_triggered_only = yes

	option = {
		name = indonesianfirstelection.102.a
	}
}

country_event = {
    id = indonesianfirstelection.112
    title = indonesianfirstelection.112.t
    desc = indonesianfirstelection.112.d
    picture = GFX_INS_Indonesiafirstelection_11b_Picture
    is_triggered_only = yes

    option = {
        name = indonesianfirstelection.112.a
    }
}

country_event = {
    id = indonesianfirstelection.12
    title = indonesianfirstelection.12.t
    desc = indonesianfirstelection.12.d
    picture = GFX_INS_Indonesiafirstelection_12_Picture

    is_triggered_only = yes
	trigger = {
		NOT = {
			has_country_flag = INS_Martial_Law_flag
		}
	}

	immediate = {
		hidden_effect = {
			clr_country_flag = INS_figure_decision_flag
			set_country_flag = INS_Near_Election_2024_flag
			set_country_flag = INS_Anies_Candidate_flag
			set_country_flag = INS_Prabowo_Candidate_flag
			set_country_flag = INS_Ganjar_Candidate_flag

			# anies
			if = {
				limit = {
					has_country_flag = INS_Siding_People_flag
				}

				country_event = {
					id = indonesianfirstelection.1
					days = 7
				}

				if = {
					limit = {
						check_variable = { # if jokowi still powerful, prabowo mate will be gibran
							var = INS_Jokowi_Power_Value
							value = 20
							compare = greater_than_or_equals
						}
					}
					country_event = {
						id = indonesianfirstelection.28
						days = 30
						random_days = 3
					}
				}	
				else = {
					country_event = {
						id = indonesianfirstelection.7
						days = 37
						random_days = 3
					}
				}
				
				if = {
					limit = {
						check_variable = { # if ganjar more powerful than prabowo, ganjar mate will be andika
							var = INS_Prabowo_Power_Value
							value = INS_Ganjar_Power_Value
							compare = greater_than
						}
					}
					country_event = {
						id = indonesianfirstelection.8
						days = 14
						random_days = 3
					}
				}
				else = {
					country_event = {
						id = indonesianfirstelection.9
						days = 14
						random_days = 3
					}
				}
			}
			else_if = {
				limit = {
					has_country_flag = INS_Support_Bill_flag
				}
				if = {
					limit = {
						OR = {
							has_completed_focus = INS_Restrict_Group
							has_completed_focus = INS_Natuna_Sovereignity
						}
					}
					
					country_event = {
						id = indonesianfirstelection.2
						days = 7
					}

					random_list = {
						60 = {
							country_event = {
								id = indonesianfirstelection.4
								days = 14
								random_days = 3
							}
						}
						40 = {
							country_event = {
								id = indonesianfirstelection.5
								days = 14
								random_days = 3
							}
						}
					}
						
					country_event = {
						id = indonesianfirstelection.8
						days = 30
						random_days = 3
					}
				}
			}

			set_temp_variable = { stage_var = 1 }
			INS_Syncroning_Power_Value = yes

			set_country_flag = INS_2024_Election_Stage_One_flag
			activate_mission = INS_Election_Deadline_Mission
			activate_mission = INS_Focus_Deadline_Mission
		}
	}

    option = {
        name = indonesianfirstelection.12.a
		unlock_decision_category_tooltip = INS_2024_election_category
    }
}

country_event = {
    id = indonesianfirstelection.13
    title = indonesianfirstelection.13.t
    desc = indonesianfirstelection.13.d
	picture = GFX_INS_Anies_2024_Won_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			clr_country_flag = INS_Can_Campaign_flag
			set_country_flag = INS_Anies_Won_flag
			
			if = {
				limit = {
					has_country_flag = INS_2024_Election_Stage_One_flag
				}
				country_event = {
					id = indonesianfirstelection.14
					days = 244
				}
			}
			else_if = {
				limit = {
					OR = {
						has_country_flag = INS_2024_Election_Anies_Prabowo_flag
						has_country_flag = INS_2024_Election_Anies_Ganjar_flag
					}
				}
				country_event = {
					id = indonesianfirstelection.14
					days = 112
					hours = 18
				}
			}

			set_politics = {
				ruling_party = social_liberal
				elections_allowed = yes
				last_election = "2024.2.14"
				election_frequency = 65
			}
		}
	}

    option = {
        name = indonesianfirstelection.13.a
		custom_effect_tooltip = INS_Anies_Won_tooltip
	}
}

country_event = {
    id = indonesianfirstelection.14
    title = indonesianfirstelection.14.t
    desc = indonesianfirstelection.14.d
    picture = GFX_INS_Indonesiafirstelection_14_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {

			# election 2029 suspend
			country_event = {
				id = indonesiaanies.18
				days = 1200
				random_days = 60
			}

			#malaysia
			if = {
				limit = {
					country_exists = INB
				}
				PRC = {
					give_guarantee = MAL
				}
				MAL = {
					country_event = {
						id = malaysiaevent.6
						days = 60
						random_days = 30
					}
				}
			}

			#retire_character = INS_joko_widodo_char
			#create_country_leader = {
			#	name = "Megawati Soekarnoputri"
			#	picture = ""
			#	ideology = centrism
			#}


			#sikat partainya
			set_temp_variable = { partyvar = 10 }
			set_temp_variable = { parties = 2 }
			Decrease_Party_Popularity = yes
			set_temp_variable = { parties = 9 }
			Decrease_Party_Popularity = yes
			set_temp_variable = { parties = 8 }
			Decrease_Party_Popularity = yes
			set_temp_variable = { partyvar = 5 }
			set_temp_variable = { parties = 7 }
			Decrease_Party_Popularity = yes
			
			set_politics = {
				ruling_party = market_liberal
				elections_allowed = yes
				last_election = "2024.2.14"
				election_frequency = 65
			}
			retire_country_leader = yes
			add_country_leader_role = {
				character = INS_anies_baswedan_char
				promote_leader = yes
				country_leader = {
					ideology = civic_nationalism
					traits = {
						hos_smiling_for_the_camera
					}
				}
			}

			set_temp_variable = {
				coalition_partner_var_temp = token:conservative
			}
			add_to_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:social_democrat
			}
			add_to_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:authoritarian_democrat
			}
			remove_from_coalition = yes

			set_variable = { var = INS_Total_DPR_Seat value = 578 }
			INS_Run_DPR_Election = yes

			set_variable = { var = INS_Government_Seat value = 0 }
			set_variable = { var = INS_Opposition_Seat value = 0 }
			
			#loyalty
			# PSI
			set_variable = { 
				var = INS_Party_PSI_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PSI_Seat
			}
			# PDI-P
			set_variable = { 
				var = INS_Party_PDIP_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PDIP_Seat
			}
			# NasDem
			set_variable = { 
				var = INS_Party_NasDem_Loyalty
				value = 1
			}  
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_NasDem_Seat
			}
			# PPP
			set_variable = { 
				var = INS_Party_PPP_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PPP_Seat
			}
			# PAN
			set_variable = { 
				var = INS_Party_PAN_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PAN_Seat
			}
			# Golkar
			set_variable = { 
				var = INS_Party_Golkar_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_Golkar_Seat
			}
			# Gerindra
			set_variable = { 
				var = INS_Party_Gerindra_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_Gerindra_Seat
			}
			# PKS
			set_variable = { 
				var = INS_Party_PKS_Loyalty
				value = 1
			}  
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_PKS_Seat
			}

			if = {
				limit = {
					has_country_flag = INS_Anies_Imin_flag
				}
				country_event = {
					id = indonesiaanies.37
					days = 7
				}

				# PKB
				set_variable = { 
					var = INS_Party_PKB_Loyalty
					value = 1
				}  
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_PKB_Seat
				}
				# Demokrat
				set_variable = { 
					var = INS_Party_Demokrat_Loyalty
					value = 0
				} 
				add_to_variable = {
					var = INS_Opposition_Seat
					value = INS_Party_Demokrat_Seat
				}

				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Muhaimin_Iskandar
				}
			}
			else_if = {
				limit = {
					has_country_flag = INS_Anies_AHY_flag
				}
				country_event = {
					id = indonesiaanies.23
					days = 7
				}

				# PKB
				set_variable = { 
					var = INS_Party_PKB_Loyalty
					value = 0
				}  
				add_to_variable = {
					var = INS_Opposition_Seat
					value = INS_Party_PKB_Seat
				}
				# Demokrat
				set_variable = { 
					var = INS_Party_Demokrat_Loyalty
					value = 1
				} 
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_Demokrat_Seat
				}

				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Agus_Harimurti
				}
			}
			
			swap_ideas = {
				remove_idea = INS_Retno_Marsudi
				add_idea = vacant_for
			}
			swap_ideas = {
				remove_idea = INS_Airlangga_Hartarto
				add_idea = vacant_eco
			}
			swap_ideas = {
				remove_idea = INS_Tito_Karnavian
				add_idea = vacant_sec
			}
			swap_ideas = {
				remove_idea = INS_Budi_Gunawan
				add_idea = vacant_int
			}
			swap_ideas = {
				remove_idea = INS_Prabowo_Subianto_Defense
				add_idea = vacant_theorist
			}
			
			clr_country_flag = INS_Prabowo_Gibran_flag
			clr_country_flag = INS_Prabowo_Yusril_flag
			clr_country_flag = INS_Ganjar_Mahfud_flag
			clr_country_flag = INS_Ganjar_Andika_flag
			clr_country_flag = INS_Near_Election_2024_flag
			clr_country_flag = INS_Jokowi_Period
			clr_country_flag = INS_year2021_flag
			clr_country_flag = INS_2024_Election_Anies_Ganjar_flag
			clr_country_flag = INS_2024_Election_Anies_Prabowo_flag

			set_country_flag = INS_Anies_Period
			
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

    option = {
        name = indonesianfirstelection.14.a
		set_party_name = {
			ideology = social_democrat
			long_name = "Coalition of Change - NasDem"
			name = "CoC (SD)"
		}
		set_party_name = {
			ideology = market_liberal
			long_name = "Coalition of Change - Liberalism"
			name = "CoC (L)"
		}
		set_party_name = {
			ideology = conservative
			long_name = "Coalition of Change - PKS"
			name = "CoC (C)"
		}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.1
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.05
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.05
		}
		country_event = {
			id = indonesianfirstelection.29
			days = 3
		}
		effect_tooltip = {

			add_country_leader_role = {
				character = INS_anies_baswedan_char
				promote_leader = yes
				country_leader = {
					ideology = civic_nationalism
					traits = {
						hos_smiling_for_the_camera
					}
				}
			}

			if = {
				limit = {
					has_country_flag = INS_Anies_Imin_flag
				}
				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Muhaimin_Iskandar
				}
			}
			else_if = {
				limit = {
					has_country_flag = INS_Anies_AHY_flag
				}
				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Agus_Harimurti
				}
			}
			swap_ideas = {
				remove_idea = INS_Retno_Marsudi
				add_idea = vacant_for
			}
			swap_ideas = {
				remove_idea = INS_Airlangga_Hartarto
				add_idea = vacant_eco
			}
			swap_ideas = {
				remove_idea = INS_Tito_Karnavian
				add_idea = vacant_sec
			}
			swap_ideas = {
				remove_idea = INS_Budi_Gunawan
				add_idea = vacant_int
			}
			swap_ideas = {
				remove_idea = INS_Prabowo_Subianto_Defense
				add_idea = vacant_theorist
			}
		}
		#papua
		if = {
			limit = {
				NOT = {
					has_country_flag = INS_finish_garuda_i_flag
					has_country_flag = INS_can_do_garuda_flag
				}
			}
			set_country_flag = INS_can_do_garuda_flag
			unlock_decision_tooltip = INS_Reduce_Tension_In_Papua
		}
		
		load_focus_tree = indonesia_focus_anies
		focus_unlock = yes
    }
}


country_event = {
    id = indonesianfirstelection.15
    title = indonesianfirstelection.15.t
    desc = indonesianfirstelection.15.d
    picture = GFX_INS_Indonesiafirstelection_15_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			clr_country_flag = INS_2024_Election_Stage_One_flag
			set_country_flag = INS_2024_Election_Anies_Prabowo_flag

			activate_mission = INS_Election_Deadline_AP_Mission
		}
	}

    option = {
        name = indonesianfirstelection.15.a
		set_temp_variable = { stage_var = 2 }
		set_temp_variable = { candidatevar = 1 }
		INS_Syncroning_Power_Value = yes

		effect_tooltip = {
			activate_mission = INS_Election_Deadline_AP_Mission
		}
	}
}

country_event = {
    id = indonesianfirstelection.16
    title = indonesianfirstelection.16.t
    desc = indonesianfirstelection.16.d
    picture = GFX_INS_Indonesiafirstelection_16_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			clr_country_flag = INS_2024_Election_Stage_One_flag
			set_country_flag = INS_2024_Election_Anies_Ganjar_flag

			activate_mission = INS_Election_Deadline_AG_Mission
		}
	}

    option = {
        name = indonesianfirstelection.16.a
		set_temp_variable = { stage_var = 2 }
		set_temp_variable = { candidatevar = 2 }
		INS_Syncroning_Power_Value = yes
		effect_tooltip = {
			activate_mission = INS_Election_Deadline_AG_Mission
		}
	}
}

country_event = {
    id = indonesianfirstelection.17
    title = indonesianfirstelection.17.t
    desc = indonesianfirstelection.17.d
    picture = GFX_INS_Indonesiafirstelection_17_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			set_country_flag = INS_Can_Campaign_flag
			if = {
				limit = {
					has_completed_focus = INS_Opposition_Coalition
				}
				country_event = {
					id = indonesianfirstelection.25
					days = 3
				}

				country_event = {
					id = indonesianfirstelection.18
					days = 21
					random_days = 14
				}

				country_event = {
					id = indonesianfirstelection.19
					days = 14
					random_days = 3
				}
			}
			else_if = {
				limit = {
					has_completed_focus = INS_Oligarchy_Friendly
				}
				country_event = {
					id = indonesianfirstelection.26
					days = 3
				}

				country_event = {
					id = indonesianfirstelection.19
					days = 14
					random_days = 3
				}

				country_event = {
					id = indonesianfirstelection.20
					days = 35
					random_days = 14
				}
			}

			
			
			activate_mission = INS_Rival_Auto_Campaign_mission
		}
	}

    option = {
        name = indonesianfirstelection.17.a
		effect_tooltip = {
			activate_mission = INS_Rival_Auto_Campaign_mission
		}
	}
}

country_event = {
    id = indonesianfirstelection.18
    title = indonesianfirstelection.18.t
    desc = indonesianfirstelection.18.d
    picture = GFX_INS_Indonesiafirstelection_18_Picture
    is_triggered_only = yes

	immediate = {
	}

    option = {
        name = indonesianfirstelection.18.a
		set_temp_variable = { power_points = 15 }
		Add_Prabowo_Power = yes
	}
}

country_event = {
    id = indonesianfirstelection.19
    title = indonesianfirstelection.19.t
    desc = indonesianfirstelection.19.d
    picture = GFX_INS_Indonesiafirstelection_19_Picture
    is_triggered_only = yes

	immediate = {
	}

    option = {
        name = indonesianfirstelection.19.a
		set_temp_variable = { power_points = -5 }
		Add_Ganjar_Power = yes
	}
}


country_event = {
    id = indonesianfirstelection.20
    title = indonesianfirstelection.20.t
    desc = indonesianfirstelection.20.d
    picture = GFX_INS_Indonesiafirstelection_20_Picture
    is_triggered_only = yes

	immediate = {
	}

    option = {
        name = indonesianfirstelection.20.a
		set_temp_variable = { power_points = 3.0 }
		Add_Anies_Power = yes
		set_temp_variable = {
			var = academic_development_var_temp
			value = 0.1
		}
		add_academic_development = yes
	}
}


country_event = {
    id = indonesianfirstelection.21
    title = indonesianfirstelection.21.t
    desc = indonesianfirstelection.21.d
    picture = GFX_INS_Indonesiafirstelection_21_Picture
    is_triggered_only = yes

	immediate = {
	}

    option = {
        name = indonesianfirstelection.21.a
		add_stability = -0.01
		set_temp_variable = { power_points = -3.0 }
		Add_Prabowo_Power = yes
	}
}

country_event = {
    id = indonesianfirstelection.22
    title = indonesianfirstelection.22.t
    desc = indonesianfirstelection.22.d
    picture = GFX_INS_Indonesiafirstelection_22_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			clr_country_flag = INS_Can_Campaign_flag
			set_country_flag = INS_Prabowo_Won_flag
			
			if = {
				limit = {
					has_country_flag = INS_2024_Election_Stage_One_flag
				}
				country_event = {
					id = indonesianfirstelection.23
					days = 244
				}
			}
			else_if = {
				limit = {
					OR = {
						has_country_flag = INS_2024_Election_Anies_Prabowo_flag
						has_country_flag = INS_2024_Election_Prabowo_Ganjar_flag
					}
				}
				country_event = {
					id = indonesianfirstelection.23
					days = 112
				}
			}

			set_politics = {
				ruling_party = social_liberal
				elections_allowed = yes
				last_election = "2024.2.14"
				election_frequency = 65
			}
		}
	}

    option = {
        name = indonesianfirstelection.22.a
		custom_effect_tooltip = INS_Prabowo_Won_tooltip
	}
}
country_event = {
    id = indonesianfirstelection.23
    title = indonesianfirstelection.23.t
    desc = indonesianfirstelection.23.d
    picture = GFX_INS_Indonesiafirstelection_23_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			#malaysia
			if = {
				limit = {
					country_exists = INB
				}
				PRC = {
					give_guarantee = MAL
				}
				MAL = {
					country_event = {
						id = malaysiaevent.4
						days = 60
						random_days = 30
					}
				}
			}
			
			#sikat partainya
			set_temp_variable = { partyvar = 5 }
			set_temp_variable = { parties = 2 }
			Decrease_Party_Popularity = yes
			set_temp_variable = { parties = 9 }
			Decrease_Party_Popularity = yes
			set_temp_variable = { parties = 3 }
			Decrease_Party_Popularity = yes
			set_temp_variable = { parties = 4 }
			Decrease_Party_Popularity = yes
			
			set_politics = {
				ruling_party = conservative
				elections_allowed = yes
				last_election = "2024.2.14"
				election_frequency = 65
			}
			retire_country_leader = yes
			add_country_leader_role = {
				character = INS_prabowo_subianto_char
				promote_leader = yes
				country_leader = {
					ideology = right_populism
					traits = {
					}
				}
			}

			set_temp_variable = {
				coalition_partner_var_temp = token:social_democrat
			}
			remove_from_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:authoritarian_democrat
			}
			add_to_coalition = yes
			set_temp_variable = {
				coalition_partner_var_temp = token:market_liberal
			}
			add_to_coalition = yes

			set_variable = { var = INS_Total_DPR_Seat value = 578 }
			INS_Run_DPR_Election = yes

			set_variable = { var = INS_Government_Seat value = 0 }
			set_variable = { var = INS_Opposition_Seat value = 0 }
			
			#loyalty
			# PDIP
			set_variable = { 
				var = INS_Party_PDIP_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PDIP_Seat
			}
			# NasDem
			set_variable = { 
				var = INS_Party_NasDem_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_NasDem_Seat
			}
			# PPP
			set_variable = { 
				var = INS_Party_PPP_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PPP_Seat
			}
			# PAN
			set_variable = { 
				var = INS_Party_PAN_Loyalty
				value = 1
			}  
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_PAN_Seat
			}
			# Golkar
			set_variable = { 
				var = INS_Party_Golkar_Loyalty
				value = 1
			}  
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_Golkar_Seat
			}
			# Gerindra
			set_variable = { 
				var = INS_Party_Gerindra_Loyalty
				value = 1
			}  
			add_to_variable = {
				var = INS_Government_Seat
				value = INS_Party_Gerindra_Seat
			}
			# PKS
			set_variable = { 
				var = INS_Party_PKS_Loyalty
				value = 0
			}  
			add_to_variable = {
				var = INS_Opposition_Seat
				value = INS_Party_PKS_Seat
			}

			if = {
				limit = {
					has_country_flag = INS_Anies_AHY_flag
				}
				# PKB
				set_variable = { 
					var = INS_Party_PKB_Loyalty
					value = 1
				}  
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_PKB_Seat
				}
				# Demokrat
				set_variable = { 
					var = INS_Party_Demokrat_Loyalty
					value = 0
				} 
				add_to_variable = {
					var = INS_Opposition_Seat
					value = INS_Party_Demokrat_Seat
				}
			}
			else_if = {
				limit = {
					has_country_flag = INS_Anies_Imin_flag
				}
				# PKB
				set_variable = { 
					var = INS_Party_PKB_Loyalty
					value = 0
				}  
				add_to_variable = {
					var = INS_Opposition_Seat
					value = INS_Party_PKB_Seat
				}
				# Demokrat
				set_variable = { 
					var = INS_Party_Demokrat_Loyalty
					value = 1
				} 
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_Demokrat_Seat
				}
			}

			if = {
				limit = {
					has_country_flag = INS_Prabowo_Gibran_flag
				}

				# PSI
				set_variable = { 
					var = INS_Party_PSI_Loyalty
					value = 1
				}  
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_PSI_Seat
				}


				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Gibran_Raka
				}
			}
			else_if = {
				limit = {
					has_country_flag = INS_Prabowo_Yusril_flag
				}

				
				# PSI
				set_variable = { 
					var = INS_Party_PSI_Loyalty
					value = 2
				} 
				add_to_variable = {
					var = INS_Government_Seat
					value = INS_Party_PSI_Seat
				}

				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Yusril_Ihza
				}
			}
			
			swap_ideas = {
				remove_idea = INS_Retno_Marsudi
				add_idea = vacant_for
			}
			swap_ideas = {
				remove_idea = INS_Airlangga_Hartarto
				add_idea = vacant_eco
			}
			swap_ideas = {
				remove_idea = INS_Tito_Karnavian
				add_idea = vacant_sec
			}
			swap_ideas = {
				remove_idea = INS_Budi_Gunawan
				add_idea = vacant_int
			}
			swap_ideas = {
				remove_idea = INS_Prabowo_Subianto_Defense
				add_idea = vacant_theorist
			}
			
			clr_country_flag = INS_Anies_Imin_flag
			clr_country_flag = INS_Anies_AHY_flag
			clr_country_flag = INS_Ganjar_Mahfud_flag
			clr_country_flag = INS_Ganjar_Andika_flag
			clr_country_flag = INS_Near_Election_2024_flag
			clr_country_flag = INS_Jokowi_Period
			clr_country_flag = INS_year2021_flag
			clr_country_flag = INS_2024_Election_Prabowo_Ganjar_flag
			clr_country_flag = INS_2024_Election_Anies_Prabowo_flag

			set_country_flag = INS_Prabowo_Period
			
			#government and opposition
			INS_Gov_Opp_Balancing = yes
		}
	}

    option = {
        name = indonesianfirstelection.23.a
		add_political_power = 200
		set_party_name = {
			ideology = conservative
			long_name = "Gerindra - Populism"
			name = "Gerindra (P)"
		}
		set_party_name = {
			ideology = authoritarian_democrat
			long_name = "Gerindra - Authoritarian"
			name = "Gerindra (A)"
		}
		add_popularity = {
			ideology = conservative
			popularity = 0.1
		}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.05
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.05
		}
		country_event = {
			id = indonesianfirstelection.30
			days = 3
		}
		effect_tooltip = {
			add_country_leader_role = {
				character = INS_prabowo_subianto_char
				promote_leader = yes
				country_leader = {
					ideology = right_populism
					traits = {
					}
				}
			}

			if = {
				limit = {
					has_country_flag = INS_Prabowo_Gibran_flag
				}
				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Gibran_Raka
				}
			}
			else_if = {
				limit = {
					has_country_flag = INS_Prabowo_Yusril_flag
				}
				swap_ideas = {
					remove_idea = INS_Maruf_Amin
					add_idea = INS_Yusril_Ihza
				}
			}
			
			swap_ideas = {
				remove_idea = INS_Retno_Marsudi
				add_idea = vacant_for
			}
			swap_ideas = {
				remove_idea = INS_Airlangga_Hartarto
				add_idea = vacant_eco
			}
			swap_ideas = {
				remove_idea = INS_Tito_Karnavian
				add_idea = vacant_sec
			}
			swap_ideas = {
				remove_idea = INS_Budi_Gunawan
				add_idea = vacant_int
			}
			swap_ideas = {
				remove_idea = INS_Prabowo_Subianto_Defense
				add_idea = vacant_theorist
			}
		}
		#papua
		if = {
			limit = {
				NOT = {
					has_country_flag = INS_finish_garuda_i_flag
					has_country_flag = INS_can_do_garuda_flag
				}
			}
			set_country_flag = INS_can_do_garuda_flag
			unlock_decision_tooltip = INS_Reduce_Tension_In_Papua
		}
		
		load_focus_tree = indonesia_focus_prabowo
		focus_unlock = yes
	}
}
country_event = {
    id = indonesianfirstelection.24
    title = indonesianfirstelection.24.t
    desc = indonesianfirstelection.24.d
    picture = GFX_INS_Indonesiafirstelection_24_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			clr_country_flag = INS_2024_Election_Stage_One_flag
			set_country_flag = INS_2024_Election_Prabowo_Ganjar_flag

			activate_mission = INS_Election_Deadline_PG_Mission
		}
	}

    option = {
        name = indonesianfirstelection.15.a
		set_temp_variable = { stage_var = 2 }
		set_temp_variable = { candidatevar = 3 }
		INS_Syncroning_Power_Value = yes

		effect_tooltip = {
			activate_mission = INS_Election_Deadline_PG_Mission
		}
	}
}


country_event = {
    id = indonesianfirstelection.25
    title = indonesianfirstelection.25.t
    desc = indonesianfirstelection.25.d
    picture = GFX_INS_Indonesiafirstelection_25_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
		}
	}

    option = {
        name = indonesianfirstelection.25.a
		set_temp_variable = {
			var = academic_development_var_temp
			value = 0.05
		}
		add_academic_development = yes
		set_temp_variable = { power_points = 2.5 }
		Add_Anies_Power = yes
	}
    option = {
        name = indonesianfirstelection.25.b
		set_temp_variable = { partyvar = 3 }
		set_temp_variable = { parties = 12 }
		Increase_Party_Popularity = yes
		set_temp_variable = { power_points = 2.5 }
		Add_Anies_Power = yes
	}
}

country_event = {
    id = indonesianfirstelection.26
    title = indonesianfirstelection.26.t
    desc = indonesianfirstelection.26.d
    picture = GFX_INS_Indonesiafirstelection_26_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
		}
	}

    option = {
        name = indonesianfirstelection.26.a
	}
    option = {
        name = indonesianfirstelection.26.b
	}
}

country_event = {
    id = indonesianfirstelection.27
    title = indonesianfirstelection.27.t
    desc = indonesianfirstelection.27.d
    picture = GFX_INS_Indonesiafirstelection_27_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
		}
	}

    option = {
        name = indonesianfirstelection.27.a
	}
    option = {
        name = indonesianfirstelection.27.b
	}
}

country_event = {
    id = indonesianfirstelection.28
    title = indonesianfirstelection.28.t
    desc = indonesianfirstelection.28.d
    picture = GFX_INS_Indonesiafirstelection_28_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
			if = {
				limit = {
					OR = {
						has_completed_focus = INS_Restrict_Group
						has_completed_focus = INS_Natuna_Sovereignity
					}
					has_country_flag = INS_Support_Bill_flag
				}
				set_country_flag = INS_Prabowo_Gibran_flag
				clr_country_flag = INS_Prabowo_Candidate_flag
				country_event = {
					id = indonesianfirstelection.21
					days = 35
				}
			}
			else = {
				country_event = {
					id = indonesianfirstelection.6
					days = 7
				}
			}
		}
	}

    option = {
        name = indonesianfirstelection.28.a
		add_stability = -0.05
		add_political_power = -30
	}
}

country_event = {
    id = indonesianfirstelection.29
    title = indonesianfirstelection.29.t
    desc = indonesianfirstelection.29.d
    picture = GFX_INS_Indonesiafirstelection_29_Picture
    is_triggered_only = yes

	immediate = {
	}

    option = {
        name = indonesianfirstelection.29.a
		add_stability = 0.05

		swap_ideas = {
			remove_idea = vacant_for
			add_idea = INS_Patti_Jalal
		}
		swap_ideas = {
			remove_idea = vacant_eco
			add_idea = INS_Thomas_Lembong
		}
		swap_ideas = {
			remove_idea = vacant_sec
			add_idea = INS_Nurbaya_Bakar
		}
		swap_ideas = {
			remove_idea = vacant_int
			add_idea = INS_Oegroseno
		}
		swap_ideas = {
			remove_idea = vacant_theorist
			add_idea = INS_Muhammad_Syaugi
		}
	}
}

country_event = {
    id = indonesianfirstelection.30
    title = indonesianfirstelection.30.t
    desc = indonesianfirstelection.30.d
    picture = GFX_INS_Indonesiafirstelection_30_Picture
    is_triggered_only = yes

	immediate = {
		hidden_effect = {
		}
	}

    option = {
        name = indonesianfirstelection.30.a
	}
}