defined_text = { #party localisation for the 1st color
	name = get_party_name_scripted_loc_1
	text = {
		trigger = {
			check_variable = { internal_politics_party_1^0 = 1 }
		}
		localization_key = "Red Party"
	}
	text = {
		localization_key = "Unnamed Red Party"
	}
}
defined_text = { #party localisation for the 2nd color
	name = get_party_name_scripted_loc_2
	text = {
		trigger = {
			check_variable = { internal_politics_party_2^0 = 1 }
		}
		localization_key = "Blue Party"
	}
	text = {
		localization_key = "Unnamed Blue Party"
	}
}
defined_text = { #party localisation for the 3rd color
	name = get_party_name_scripted_loc_3
	text = {
		trigger = {
			check_variable = { internal_politics_party_3^0 = 1 }
		}
		localization_key = "Green Party"
	}
	text = {
		localization_key = "Unnamed Green Party"
	}
}
defined_text = { #party localisation for the 4th color
	name = get_party_name_scripted_loc_4
	text = {
		trigger = {
			check_variable = { internal_politics_party_4^0 = 1 }
		}
		localization_key = "Yellow Party"
	}
	text = {
		localization_key = "Unnamed Yellow Party"
	}
}
defined_text = { #party localisation for the 5th color
	name = get_party_name_scripted_loc_5
	text = {
		trigger = {
			check_variable = { internal_politics_party_5^0 = 1 }
		}
		localization_key = "Purple Party"
	}
	text = {
		localization_key = "Unnamed Purple Party"
	}
}
defined_text = { #party localisation for the 6th color
	name = get_party_name_scripted_loc_6
	text = {
		trigger = {
			check_variable = { internal_politics_party_6^0 = 1 }
		}
		localization_key = "Pink Party"
	}
	text = {
		localization_key = "Unnamed Pink Party"
	}
}
defined_text = { #party localisation for the 7th color
	name = get_party_name_scripted_loc_7
	text = {
		trigger = {
			check_variable = { internal_politics_party_7^0 = 1 }
		}
		localization_key = "Cyan Party"
	}
	text = {
		localization_key = "Unnamed Cyan Party"
	}
}
defined_text = { #party localisation for the 8th color
	name = get_party_name_scripted_loc_8
	text = {
		trigger = {
			check_variable = { internal_politics_party_8^0 = 1 }
		}
		localization_key = "Lime Party"
	}
	text = {
		localization_key = "Unnamed Lime Party"
	}
}
defined_text = { #party localisation for the 9th color
	name = get_party_name_scripted_loc_9
	text = {
		trigger = {
			check_variable = { internal_politics_party_9^0 = 1 }
		}
		localization_key = "Orange Party"
	}
	text = {
		localization_key = "Unnamed Orange Party"
	}
}
defined_text = { #party localisation for the 10th color
	name = get_party_name_scripted_loc_10
	text = {
		trigger = {
			check_variable = { internal_politics_party_10^0 = 1 }
		}
		localization_key = "Dark Grey"
	}
	text = {
		localization_key = "Unnamed Dark Grey Party"
	}
}
defined_text = { #party localisation for the 11th color
	name = get_party_name_scripted_loc_11
	text = {
		trigger = {
			check_variable = { internal_politics_party_11^0 = 1 }
		}
		localization_key = "Light Grey"
	}
	text = {
		localization_key = "Unnamed Light Grey Party"
	}
}
defined_text = { #party localisation for the 12th color
	name = get_party_name_scripted_loc_12
	text = {
		trigger = {
			check_variable = { internal_politics_party_12^0 = 1 }
		}
		localization_key = "Burgundy Party"
	}
	text = {
		localization_key = "Unnamed Burgundy Party"
	}
}
defined_text = { #party localisation for the 13th color
	name = get_party_name_scripted_loc_13
	text = {
		trigger = {
			check_variable = { internal_politics_party_13^0 = 1 }
		}
		localization_key = "Brown Party"
	}
	text = {
		localization_key = "Unnamed Brown Party"
	}
}
defined_text = { #party localisation for the 14th color
	name = get_party_name_scripted_loc_14
	text = {
		trigger = {
			check_variable = { internal_politics_party_14^0 = 1 }
		}
		localization_key = "Colbalt Party"
	}
	text = {
		localization_key = "Unnamed Colbalt Party"
	}
}
defined_text = { #party localisation for the 15th color
	name = get_party_name_scripted_loc_15
	text = {
		trigger = {
			check_variable = { internal_politics_party_15^0 = 1 }
		}
		localization_key = "Jade Party"
	}
	text = {
		localization_key = "Unnamed Jade Party"
	}
}
defined_text = { #party localisation for the 16th color
	name = get_party_name_scripted_loc_16
	text = {
		trigger = {
			check_variable = { internal_politics_party_16^0 = 1 }
		}
		localization_key = "Peach Party"
	}
	text = {
		localization_key = "Unnamed Peach Party"
	}
}
defined_text = { #party localisation for the 17th color
	name = get_party_name_scripted_loc_17
	text = {
		trigger = {
			check_variable = { internal_politics_party_17^0 = 1 }
		}
		localization_key = "Lavander Party"
	}
	text = {
		localization_key = "Unnamed Lavander Party"
	}
}
defined_text = { #party localisation for the 18th color
	name = get_party_name_scripted_loc_18
	text = {
		trigger = {
			check_variable = { internal_politics_party_18^0 = 1 }
		}
		localization_key = "Indigo Party"
	}
	text = {
		localization_key = "Unnamed Indigo Party"
	}
}
defined_text = { #party localisation for the 19th color
	name = get_party_name_scripted_loc_19
	text = {
		trigger = {
			check_variable = { internal_politics_party_19^0 = 1 }
		}
		localization_key = "Teal Party"
	}
	text = {
		localization_key = "Unnamed Teal Party"
	}
}defined_text = { #party localisation for the 20th color
	name = get_party_name_scripted_loc_20
	text = {
		trigger = {
			check_variable = { internal_politics_party_20^0 = 1 }
		}
		localization_key = "Olive Party"
	}
	text = {
		localization_key = "Unnamed Olive Party"
	}
}
defined_text = { #party localisation for the 21st color
	name = get_party_name_scripted_loc_21
	text = {
		trigger = {
			check_variable = { internal_politics_party_21^0 = 1 }
		}
		localization_key = "Apricot Party"
	}
	text = {
		localization_key = "Unnamed Apricot Party"
	}
}
defined_text = { #party localisation for the 22nd color
	name = get_party_name_scripted_loc_22
	text = {
		trigger = {
			check_variable = { internal_politics_party_22^0 = 1 }
		}
		localization_key = "Black Party"
	}
	text = {
		localization_key = "Unnamed Black Party"
	}
}
defined_text = { #party localisation for the 23rd color
	name = get_party_name_scripted_loc_23
	text = {
		trigger = {
			check_variable = { internal_politics_party_23^0 = 1 }
		}
		localization_key = "White Party"
	}
	text = {
		localization_key = "Unnamed White Party"
	}
}
defined_text = { #party localisation for the 24th color
	name = get_party_name_scripted_loc_24
	text = {
		trigger = {
			check_variable = { internal_politics_party_24^0 = 1 }
		}
		localization_key = "Navy Blue Party"
	}
	text = {
		localization_key = "Unnamed Navy Blue Party"
	}
}
defined_text = { #party localisation for the 25th color
	name = get_party_name_scripted_loc_25
	text = {
		trigger = {
			check_variable = { internal_politics_party_25^0 = 1 }
		}
		localization_key = "Salmon Party"
	}
	text = {
		localization_key = "Unnamed Salmon Party"
	}
}
defined_text = { #party localisation for the 26th color
	name = get_party_name_scripted_loc_26
	text = {
		trigger = {
			check_variable = { internal_politics_party_26^0 = 1 }
		}
		localization_key = "Maroon Party"
	}
	text = {
		localization_key = "Unnamed Maroon Party"
	}
}
defined_text = { #party localisation for the 27th color
	name = get_party_name_scripted_loc_27
	text = {
		trigger = {
			check_variable = { internal_politics_party_27^0 = 1 }
		}
		localization_key = "Scarlet Party"
	}
	text = {
		localization_key = "Unnamed Scarlet Party"
	}
}
defined_text = { #party localisation for the 28th color
	name = get_party_name_scripted_loc_28
	text = {
		trigger = {
			check_variable = { internal_politics_party_28^0 = 1 }
		}
		localization_key = "Viridian Party"
	}
	text = {
		localization_key = "Unnamed Viridian Party"
	}
}
defined_text = { #party localisation for the 29th color
	name = get_party_name_scripted_loc_29
	text = {
		trigger = {
			check_variable = { internal_politics_party_29^0 = 1 }
		}
		localization_key = "Silver Party"
	}
	text = {
		localization_key = "Unnamed Silver Party"
	}
}
defined_text = { #party localisation for the 30th color
	name = get_party_name_scripted_loc_30
	text = {
		trigger = {
			check_variable = { internal_politics_party_30^0 = 1 }
		}
		localization_key = "Carmine Party"
	}
	text = {
		localization_key = "Unnamed Carmine Party"
	}
}
defined_text = { #party localisation for the 31st color
	name = get_party_name_scripted_loc_31
	text = {
		trigger = {
			check_variable = { internal_politics_party_31^0 = 1 }
		}
		localization_key = "Aquamarine Party"
	}
	text = {
		localization_key = "Unnamed Aquamarine Party"
	}
}

defined_text = { #party localisation
	name = get_party_defines_scripted_loc
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 1 }
		}
		localization_key = party_internal_politics_party_1
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 2 }
		}
		localization_key = party_internal_politics_party_2
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 3 }
		}
		localization_key = party_internal_politics_party_3
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 4 }
		}
		localization_key = party_internal_politics_party_4
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 5 }
		}
		localization_key = party_internal_politics_party_5
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 6 }
		}
		localization_key = party_internal_politics_party_6
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 7 }
		}
		localization_key = party_internal_politics_party_7
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 8 }
		}
		localization_key = party_internal_politics_party_8
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 9 }
		}
		localization_key = party_internal_politics_party_9
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 10 }
		}
		localization_key = party_internal_politics_party_10
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 11 }
		}
		localization_key = party_internal_politics_party_11
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 12 }
		}
		localization_key = party_internal_politics_party_12
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 13 }
		}
		localization_key = party_internal_politics_party_13
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 14 }
		}
		localization_key = party_internal_politics_party_14
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 15 }
		}
		localization_key = party_internal_politics_party_15
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 16 }
		}
		localization_key = party_internal_politics_party_16
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 17 }
		}
		localization_key = party_internal_politics_party_17
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 18 }
		}
		localization_key = party_internal_politics_party_18
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 19 }
		}
		localization_key = party_internal_politics_party_19
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 20 }
		}
		localization_key = party_internal_politics_party_20
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 21 }
		}
		localization_key = party_internal_politics_party_21
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 22 }
		}
		localization_key = party_internal_politics_party_22
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 23 }
		}
		localization_key = party_internal_politics_party_23
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 24 }
		}
		localization_key = party_internal_politics_party_24
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 25 }
		}
		localization_key = party_internal_politics_party_25
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 26 }
		}
		localization_key = party_internal_politics_party_26
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 27 }
		}
		localization_key = party_internal_politics_party_27
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 28 }
		}
		localization_key = party_internal_politics_party_28
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 29 }
		}
		localization_key = party_internal_politics_party_29
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 30 }
		}
		localization_key = party_internal_politics_party_30
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties^party_posistion_idx = 31 }
		}
		localization_key = party_internal_politics_party_31
	}
	text = {
		localization_key = "ERROR"
	}
}

defined_text = { #party ideaology
	name = get_party_defines_ideaology_scripted_loc
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 1 }
		}
		localization_key = "Centrism"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 2 }
		}
		localization_key = "Traditional Conservatism"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 3 }
		}
		localization_key = "Social Egalitarian"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 4 }
		}
		localization_key = "Radical Socialist"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 5 }
		}
		localization_key = "Vanguard Communist"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 6 }
		}
		localization_key = "Autocracy"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 7 }
		}
		localization_key = "Fundamentalist"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 8 }
		}
		localization_key = "Radical Democracy"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 9 }
		}
		localization_key = "Chauvinist Populist"
	}
	text = {
		trigger = {
			check_variable = { internal_politics_parties_ideology^party_posistion_idx = 10 }
		}
		localization_key = "Anarchist"
	}
	text = {
		localization_key = "Unknown"
	}
}