defined_text = {
	name = INS_Confrontation_Var_Text
	
	text = {
		trigger = {
			OR = {
				check_variable = {
					var = INS_confrontation_var
					value = 1
					compare = less_than_or_equals
				}
			}
		}
		localization_key = "INS_Confrontation_Var_Text_green"
	}

	text = {
		trigger = {
			check_variable = { INS_confrontation_var > 1 }

			check_variable = {
				var = INS_confrontation_var
				value = 12
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Confrontation_Var_Text_yellow"
	}

	text = {
		trigger = {
			check_variable = { INS_confrontation_var > 12 }

			check_variable = {
				var = INS_confrontation_var
				value = 15
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Confrontation_Var_Text_red"
	}
}

defined_text = {
	name = INS_Confrontation_Tips_Text
	
	text = {
		trigger = {
			has_country_flag = INS_confrontation_war_flag
		}
		localization_key = "INS_Tips_Ganyang_Text"
	}

	text = {
		trigger = {
			has_country_flag = INS_confrontation_diplomatic_flag
		}
		localization_key = "INS_Tips_Peace_Text"
	}
}

defined_text = {
	name = INS_Papuan_Strength_Implication
	
	text = {
		trigger = {
			OR = {
				check_variable = {
					var = INS_Papuan_Strength
					value = 10
					compare = less_than_or_equals
				}
			}
		}
		localization_key = "INS_Crushing_The_Insurgents_category_desc_green"
	}

	text = {
		trigger = {
			check_variable = { INS_Papuan_Strength > 10 }

			check_variable = {
				var = INS_Papuan_Strength
				value = 40
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Crushing_The_Insurgents_category_desc_yellow"
	}

	text = {
		trigger = {
			check_variable = { INS_Papuan_Strength > 40 }

			check_variable = {
				var = INS_Papuan_Strength
				value = 60
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Crushing_The_Insurgents_category_desc_orange"
	}

	text = {
		trigger = {
			check_variable = { INS_Papuan_Strength > 60 }

			check_variable = {
				var = INS_Papuan_Strength
				value = 90
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Crushing_The_Insurgents_category_desc_red"
	}

	text = {
		trigger = {
			check_variable = { INS_Papuan_Strength > 90 }

			check_variable = {
				var = INS_Papuan_Strength
				value = 100
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Crushing_The_Insurgents_category_desc_darkred"
	}
}

#DPR

#PSI
defined_text = {
	name = INS_Party_PSI_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_PSI_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PSI_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_PSI_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PSI_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_PSI_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PSI_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_PSI_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PSI_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_PSI_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}


defined_text = {
	name = INS_Party_PSI_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_PSI_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PSI_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PSI_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#PDI-P
defined_text = {
	name = INS_Party_PDI-P_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_PDIP_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PDIP_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_PDIP_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PDIP_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_PDIP_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PDIP_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_PDIP_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PDIP_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_PDIP_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_PDI-P_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_PDIP_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PDIP_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PDIP_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#NasDem
defined_text = {
	name = INS_Party_NasDem_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_NasDem_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_NasDem_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_NasDem_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_NasDem_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_NasDem_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_NasDem_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_NasDem_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_NasDem_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_NasDem_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_NasDem_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_NasDem_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_NasDem_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_NasDem_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#PKB
defined_text = {
	name = INS_Party_PKB_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_PKB_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKB_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_PKB_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKB_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_PKB_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKB_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_PKB_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKB_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_PKB_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_PKB_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_PKB_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PKB_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PKB_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#PPP
defined_text = {
	name = INS_Party_PPP_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_PPP_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PPP_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_PPP_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PPP_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_PPP_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PPP_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_PPP_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PPP_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_PPP_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}


defined_text = {
	name = INS_Party_PPP_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_PPP_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PPP_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}
			

	text = {
		trigger = {
			check_variable = {
				INS_Party_PPP_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#Demokrat
defined_text = {
	name = INS_Party_Demokrat_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_Demokrat_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Demokrat_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_Demokrat_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Demokrat_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_Demokrat_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Demokrat_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_Demokrat_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Demokrat_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_Demokrat_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_Demokrat_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_Demokrat_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_Demokrat_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_Demokrat_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#PAN
defined_text = {
	name = INS_Party_PAN_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_PAN_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PAN_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_PAN_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PAN_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_PAN_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PAN_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_PAN_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PAN_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_PAN_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_PAN_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_PAN_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PAN_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PAN_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#Golkar
defined_text = {
	name = INS_Party_Golkar_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_Golkar_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Golkar_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_Golkar_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Golkar_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_Golkar_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Golkar_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_Golkar_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Golkar_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_Golkar_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_Golkar_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_Golkar_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_Golkar_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_Golkar_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#Gerindra
defined_text = {
	name = INS_Party_Gerindra_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_Gerindra_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Gerindra_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_Gerindra_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Gerindra_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_Gerindra_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Gerindra_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_Gerindra_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_Gerindra_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_Gerindra_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_Gerindra_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_Gerindra_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_Gerindra_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_Gerindra_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#PKS
defined_text = {
	name = INS_Party_PKS_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Party_PKS_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKS_Popularity > 10.0 }
			check_variable = {
				var = INS_Party_PKS_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKS_Popularity > 40.0 }
			check_variable = {
				var = INS_Party_PKS_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKS_Popularity > 70.0 }
			check_variable = {
				var = INS_Party_PKS_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Party_PKS_Popularity > 90.0 }
			check_variable = {
				var = INS_Party_PKS_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Party_PKS_Loyalty_Text
	
	text = {
		trigger = {
			check_variable = {
				INS_Party_PKS_Loyalty = 0
			}
		}
		localization_key = "INS_Party_Loyalty_0"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PKS_Loyalty = 1
			}
		}
		localization_key = "INS_Party_Loyalty_1"
	}

			
	text = {
		trigger = {
			check_variable = {
				INS_Party_PKS_Loyalty = 2
			}
		}
		localization_key = "INS_Party_Loyalty_2"
	}
}

#DPR TEXT


defined_text = {
	name = INS_Representatives_Title_Text
	
	text = {
		trigger = {
			has_country_flag = INS_Another_DPR_flag
			has_country_flag = INS_Federal_Parliament_flag
		}
		localization_key = "INS_Federal_Parliament_Title"
	}
	text = {
		trigger = {
			has_country_flag = INS_Another_DPR_flag
			has_country_flag = INS_Islamic_Syura_flag
		}
		localization_key = "INS_Islamic_Syura_Title"
	}

	text = {
		trigger = {
			OR = {
				has_country_flag = INS_Prabowo_Period
				has_country_flag = INS_Anies_Period
				has_country_flag = INS_Jokowi_Period
			}
			NOT = {
				has_country_flag = INS_Another_DPR_flag
			}
		}
		localization_key = "INS_Dewan_Perwakilan_Rakyat_Title"
	}
}

defined_text = {
	name = INS_Representatives_Text
	
	text = {
		trigger = {
			has_country_flag = INS_Another_DPR_flag
			has_country_flag = INS_Federal_Parliament_flag
		}
		localization_key = "INS_Federal_Parliament"
	}
	text = {
		trigger = {
			has_country_flag = INS_Another_DPR_flag
			has_country_flag = INS_Islamic_Syura_flag
		}
		localization_key = "INS_Islamic_Syura"
	}

	text = {
		trigger = {
			OR = {
				has_country_flag = INS_Prabowo_Period
				has_country_flag = INS_Anies_Period
				has_country_flag = INS_Jokowi_Period
			}
			NOT = {
				has_country_flag = INS_Another_DPR_flag
			}
		}
		localization_key = "INS_Dewan_Perwakilan_Rakyat"
	}
}

defined_text = {
	name = INS_DPR_Text

	text = {
		trigger = {
			has_country_flag = INS_Prabowo_Period
		}
		localization_key = "INS_DPR_2024_Prabowo"
	}

	text = {
		trigger = {
			has_country_flag = INS_Anies_Period
		}
		localization_key = "INS_DPR_2024_Anies"
	}

	text = {
		trigger = {
			INS_joko_widodo_char = {
				is_country_leader = yes
				has_ideology = centrist
			}
		}
		localization_key = "INS_DPR_2020"
	}
}

defined_text = {
	name = INS_Province_Text

	text = {
		trigger = {
			check_variable = {
				provincevar = 335
			}
		}
		localization_key = "Java"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 672
			}
		}
		localization_key = "Sumatra"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 334
			}
		}
		localization_key = "Kalimantan"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 673
			}
		}
		localization_key = "Sulawesi"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 667
			}
		}
		localization_key = "Lesser Sunda Islands"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 668
			}
		}
		localization_key = "The Moluccas"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 669
			}
		}
		localization_key = "West Papua"
	}

	text = {
		trigger = {
			check_variable = {
				provincevar = 738
			}
		}
		localization_key = "Aru Islands"
	}
}

#interest grup
#labour
defined_text = {
	name = INS_Group_Labor_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Group_Labor_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Labor_Popularity > 10.0 }
			check_variable = {
				var = INS_Group_Labor_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Labor_Popularity > 40.0 }
			check_variable = {
				var = INS_Group_Labor_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Labor_Popularity > 70.0 }
			check_variable = {
				var = INS_Group_Labor_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Labor_Popularity > 90.0 }
			check_variable = {
				var = INS_Group_Labor_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

#Islamist
defined_text = {
	name = INS_Group_FPI_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Group_FPI_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_FPI_Popularity > 10.0 }
			check_variable = {
				var = INS_Group_FPI_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_FPI_Popularity > 40.0 }
			check_variable = {
				var = INS_Group_FPI_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_FPI_Popularity > 70.0 }
			check_variable = {
				var = INS_Group_FPI_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_FPI_Popularity > 90.0 }
			check_variable = {
				var = INS_Group_FPI_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

#Police
defined_text = {
	name = INS_Group_Police_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Group_Police_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Police_Popularity > 10.0 }
			check_variable = {
				var = INS_Group_Police_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Police_Popularity > 40.0 }
			check_variable = {
				var = INS_Group_Police_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Police_Popularity > 70.0 }
			check_variable = {
				var = INS_Group_Police_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Police_Popularity > 90.0 }
			check_variable = {
				var = INS_Group_Police_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

#Police
defined_text = {
	name = INS_Group_Army_Popularity_Text
	
	text = {
		trigger = {
			check_variable = {
				var = INS_Group_Army_Popularity
				value = 10.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_1"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Army_Popularity > 10.0 }
			check_variable = {
				var = INS_Group_Army_Popularity
				value = 40.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_2"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Army_Popularity > 40.0 }
			check_variable = {
				var = INS_Group_Army_Popularity
				value = 70.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_3"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Army_Popularity > 70.0 }
			check_variable = {
				var = INS_Group_Army_Popularity
				value = 90.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_4"
	}

	text = {
		trigger = {
			check_variable = { INS_Group_Army_Popularity > 90.0 }
			check_variable = {
				var = INS_Group_Army_Popularity
				value = 100.0
				compare = less_than_or_equals
			}
		}
		localization_key = "INS_Party_Popularity_5"
	}
}

defined_text = {
	name = INS_Anies_Supporter_Text

	text = {
		trigger = {
			has_country_flag = INS_Anies_AHY_flag
		}
		localization_key = "INS_Anies_Support_Text_3"
	}

	text = {
		trigger = {
			has_country_flag = INS_Anies_Imin_flag
		}
		localization_key = "INS_Anies_Support_Text_2"
	}

	text = {
		trigger = {
			has_country_flag = INS_Anies_Candidate_flag
		}
		localization_key = "INS_Anies_Support_Text_1"
	}

	text = {
		trigger = {
			has_country_flag = INS_figure_decision_flag
		}
		localization_key = "INS_Anies_Support_Text_0"
	}
}

defined_text = {
	name = INS_Prabowo_Supporter_Text

	text = {
		trigger = {
			AND = {
				has_country_flag = INS_Anies_AHY_flag
				has_country_flag = INS_Prabowo_Yusril_flag
			}
		}
		localization_key = "INS_Prabowo_Support_Text_5"
	}

	text = {
		trigger = {
			AND = {
				has_country_flag = INS_Anies_Imin_flag
				has_country_flag = INS_Prabowo_Yusril_flag
			}
		}
		localization_key = "INS_Prabowo_Support_Text_4"
	}

	text = {
		trigger = {
			AND = {
				has_country_flag = INS_Anies_AHY_flag
				has_country_flag = INS_Prabowo_Gibran_flag
			}
		}
		localization_key = "INS_Prabowo_Support_Text_3"
	}

	text = {
		trigger = {
			AND = {
				has_country_flag = INS_Anies_Imin_flag
				has_country_flag = INS_Prabowo_Gibran_flag
			}
		}
		localization_key = "INS_Prabowo_Support_Text_2"
	}

	text = {
		trigger = {
			has_country_flag = INS_Prabowo_Gibran_flag
		}
		localization_key = "INS_Prabowo_Support_Text_1"
	}

	text = {
		trigger = {
			OR = {
				has_country_flag = INS_figure_decision_flag
				has_country_flag = INS_Prabowo_Candidate_flag
			}
		}
		localization_key = "INS_Prabowo_Support_Text_0"
	}
}

defined_text = {
	name = INS_Ganjar_Supporter_Text

	text = {
		trigger = {
			OR = {
				has_country_flag = INS_Ganjar_Candidate_flag
				has_country_flag = INS_Ganjar_Andika_flag
				has_country_flag = INS_Ganjar_Mahfud_flag
			}
		}
		localization_key = "INS_Ganjar_Support_Text_1"
	}

	text = {
		trigger = {
			has_country_flag = INS_figure_decision_flag
		}
		localization_key = "INS_Ganjar_Support_Text_0"
	}
}

defined_text = {
	name = INS_Jokowi_Supporter_Text

	text = {
		trigger = {
			has_country_flag = INS_figure_decision_flag
		}
		localization_key = "INS_Jokowi_Support_Text_0"
	}
}

defined_text = {
	name = INS_Not_Deciding_Text

	text = {
		trigger = {
			has_country_flag = INS_figure_decision_flag
		}
		localization_key = "INS_Not_Decided_Text_0"
	}
}

# 2024 election
defined_text = {
	name = INS_Anies_Deputy_Text
	text = {
		trigger = {
			has_country_flag = INS_Anies_Candidate_flag
		}
		localization_key = "INS_Vacant_Deputy_Text"
	}

	text = {
		trigger = {
			has_country_flag = INS_Anies_Imin_flag
		}
		localization_key = INS_Muhaimin_Iskandar
	}

	text = {
		trigger = {
			has_country_flag = INS_Anies_AHY_flag
		}
		localization_key = INS_Agus_Harimurti
	}
}
defined_text = {
	name = INS_Prabowo_Deputy_Text
	text = {
		trigger = {
			has_country_flag = INS_Prabowo_Candidate_flag
		}
		localization_key = "INS_Vacant_Deputy_Text"
	}

	text = {
		trigger = {
			has_country_flag = INS_Prabowo_Gibran_flag
		}
		localization_key = INS_Gibran_Raka
	}

	text = {
		trigger = {
			has_country_flag = INS_Prabowo_Yusril_flag
		}
		localization_key = INS_Yusril_Ihza
	}
}
defined_text = {
	name = INS_Ganjar_Deputy_Text
	text = {
		trigger = {
			has_country_flag = INS_Ganjar_Candidate_flag
		}
		localization_key = "INS_Vacant_Deputy_Text"
	}

	text = {
		trigger = {
			has_country_flag = INS_Ganjar_Andika_flag
		}
		localization_key = INS_Andika_Perkasa
	}

	text = {
		trigger = {
			has_country_flag = INS_Ganjar_Mahfud_flag
		}
		localization_key = INS_Mahfud_MD
	}
}

define_text = {
	name = INS_2024_Election_Text

	text = {
		trigger = {
			has_country_flag = INS_2024_Election_Stage_One_flag
		}
		localization_key = "INS_2024_election_stage_one_text"
	}

	text = {
		trigger = {
			has_country_flag = INS_2024_Election_Anies_Prabowo_flag
		}
		localization_key = "INS_2024_election_stage_two_anies_prabowo_text"
	}

	text = {
		trigger = {
			has_country_flag = INS_2024_Election_Anies_Ganjar_flag
		}
		localization_key = "INS_2024_election_stage_two_anies_ganjar_text"
	}

}

define_text = {
	name = INS_Who_Period

	text = {
		trigger = {
			has_country_flag = INS_Anies_Period
		}
		localization_key = "INS_anies_baswedan_char"
	}
}