defined_text = {
	name = GetSubIdeologyLoc
	text = {
		trigger = { has_government = communist }
		localization_key = "[GetSubIdeologyLocCommunist]"
	}
	text = {
		trigger = { has_government = socialist }
		localization_key = "[GetSubIdeologyLocSocialist]"
	}
	text = {
		trigger = { has_government = progressivism }
		localization_key = "[GetSubIdeologyLocProgressivism]"
	}
	text = {
		trigger = { has_government = liberalism }
		localization_key = "[GetSubIdeologyLocLiberalDemocracy]"
	}
	text = {
		trigger = { has_government = conservatism }
		localization_key = "[GetSubIdeologyLocConservativeDemocracy]"
	}
	text = {
		trigger = { has_government = liberal_conservatism }
		localization_key = "[GetSubIdeologyLocLiberalConservatism]"
	}
	text = {
		trigger = { has_government = paternalism }
		localization_key = "[GetSubIdeologyLocPaternalism]"
	}
	text = {
		trigger = { has_government = despotism }
		localization_key = "[GetSubIdeologyLocDespotism]"
	}
	text = {
		trigger = { has_government = ultranationalism }
		localization_key = "[GetSubIdeologyLocUltranationalism]"
	}
	text = {
		trigger = { has_government = fascism }
		localization_key = "[GetSubIdeologyLocFascism]"
	}
	text = {
		trigger = { has_government = national_socialism }
		localization_key = "[GetSubIdeologyLocNationalSocialism]"
	}
}

defined_text = {
	name = GetSubIdeologyLocCommunist
	text = {
		trigger = { has_country_leader_ideology = communist_bolshevism_subtype }
		localization_key = communist_bolshevism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_marxism_leninism_subtype }
		localization_key = communist_marxism_leninism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_left_communist_subtype }
		localization_key = communist_left_communist_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_stratocratic_communism_subtype }
		localization_key = communist_stratocratic_communism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_mao_zedong_thought_subtype }
		localization_key = communist_mao_zedong_thought_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_amazonism_subtype }
		localization_key = communist_amazonism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_arab_communism_subtype }
		localization_key = communist_arab_communism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_national_communism_subtype }
		localization_key = communist_national_communism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_workerism_subtype }
		localization_key = communist_workerism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_harmonism_subtype }
		localization_key = communist_harmonism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_revolutionary_baathism_subtype }
		localization_key = communist_revolutionary_baathism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_trotskyism_subtype }
		localization_key = communist_trotskyism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_guevarism_subtype }
		localization_key = communist_guevarism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_peoples_democracy_subtype }
		localization_key = communist_peoples_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = communist_spartacism_subtype }
		localization_key = communist_spartacism_subtype
	}	
	text = {
		localization_key = communist
	}
}

defined_text = {
	name = GetSubIdeologyLocSocialist
	text = {
		trigger = { has_country_leader_ideology = socialist_anarcho_communist_subtype }
		localization_key = socialist_anarcho_communist_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_christian_socialism_subtype }
		localization_key = socialist_christian_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_revolutionary_frontism_subtype }
		localization_key = socialist_revolutionary_frontism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_ultravisionary_socialism_subtype }
		localization_key = socialist_ultravisionary_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_ultravisionary_socialism_pink_subtype }
		localization_key = socialist_ultravisionary_socialism_pink_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_agrarian_socialism_subtype }
		localization_key = socialist_agrarian_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_syndicalism_subtype }
		localization_key = socialist_syndicalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_panafricanism_subtype }
		localization_key = socialist_panafricanism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_baathism_subtype }
		localization_key = socialist_baathism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_left_wing_nationalism_subtype }
		localization_key = socialist_left_wing_nationalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_guevarism_subtype }
		localization_key = socialist_guevarism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_nasserism_subtype }
		localization_key = socialist_nasserism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_neocommunism_subtype }
		localization_key = socialist_neocommunism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_african_socialism_subtype }
		localization_key = socialist_african_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_islamic_socialism_subtype }
		localization_key = socialist_islamic_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_social_democracy_subtype }
		localization_key = socialist_social_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_reformist_socialism_subtype }
		localization_key = socialist_reformist_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_buddhist_socialism_subtype }
		localization_key = socialist_buddhist_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_revolutionary_gaitanismo_subtype }
		localization_key = socialist_revolutionary_gaitanismo_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = socialist_socialist_zionism_subtype }
		localization_key = socialist_socialist_zionism_subtype
	}
	text = {
		localization_key = socialist
	}
}

defined_text = {
	name = GetSubIdeologyLocProgressivism
	text = {
		trigger = { has_country_leader_ideology = progressivism_democratic_socialism_subtype }
		localization_key = progressivism_democratic_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_social_democracy_subtype }
		localization_key = progressivism_social_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_reformist_socialism_subtype }
		localization_key = progressivism_reformist_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_left_wing_populism_subtype }
		localization_key = progressivism_left_wing_populism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_left_kemalism_subtype }
		localization_key = progressivism_left_kemalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_labor_zionism_subtype }
		localization_key = progressivism_labor_zionism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_popular_front_subtype }
		localization_key = progressivism_popular_front_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_social_radicalism_subtype }
		localization_key = progressivism_social_radicalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_christian_progressivism_subtype }
		localization_key = progressivism_christian_progressivism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_left_wing_agrarianism_subtype }
		localization_key = progressivism_left_wing_agrarianism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_liberal_socialism_subtype }
		localization_key = progressivism_liberal_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_utopian_socialism_subtype }
		localization_key = progressivism_utopian_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_eastern_progressivism_subtype }
		localization_key = progressivism_eastern_progressivism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_western_progressivism_subtype }
		localization_key = progressivism_western_progressivism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_gaitanismo_subtype }
		localization_key = progressivism_gaitanismo_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_neocorporatism_subtype }
		localization_key = progressivism_neocorporatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = progressivism_social_republicanism_subtype }
		localization_key = progressivism_social_republicanism_subtype
	}
	text = {
		localization_key = progressivism
	}
}

defined_text = {
	name = GetSubIdeologyLocLiberalDemocracy
	text = {
		trigger = { has_country_leader_ideology = liberalism_national_liberal_subtype }
		localization_key = liberalism_national_liberal_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_liberal_radicalism_subtype }
		localization_key = liberalism_liberal_radicalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_revisionist_zionism_subtype }
		localization_key = liberalism_revisionist_zionism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_christian_liberalism_subtype }
		localization_key = liberalism_christian_liberalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_liberal_agrarianism_subtype }
		localization_key = liberalism_liberal_agrarianism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_social_liberalism_subtype }
		localization_key = liberalism_social_liberalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_progressive_liberalism_subtype }
		localization_key = liberalism_progressive_liberalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_classical_liberalism_subtype }
		localization_key = liberalism_classical_liberalism_subtype
	}
	text = {
		trigger = { 
			OR = {
				has_country_leader_ideology = liberalism_dynastic_liberalism_lbj_subtype
				has_country_leader_ideology = liberalism_dynastic_liberalism_hart_subtype
				has_country_leader_ideology = liberalism_dynastic_liberalism_gabor_subtype
				has_country_leader_ideology = liberalism_dynastic_liberalism_chep_subtype
				has_country_leader_ideology = liberalism_dynastic_liberalism_kirk_subtype
				has_country_leader_ideology = liberalism_dynastic_liberalism_kennedy_subtype
			}		
		}
		localization_key = liberalism_dynastic_liberalism_lbj_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberalism_liberal_technocracy_subtype }
		localization_key = liberalism_liberal_technocracy_subtype
	}
	text = {
		localization_key = liberalism
	}
}

defined_text = {
	name = GetSubIdeologyLocLiberalConservatism
	text = { 
		trigger = { has_country_leader_ideology = liberal_conservatism_market_liberalism_subtype }
		localization_key = liberal_conservatism_market_liberalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberal_conservatism_christian_democracy_subtype }
		localization_key = liberal_conservatism_christian_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberal_conservatism_big_tent_subtype }
		localization_key = liberal_conservatism_big_tent_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberal_conservatism_moderate_technocracy_subtype }
		localization_key = liberal_conservatism_moderate_technocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberal_conservatism_oligarchic_liberalism_subtype }
		localization_key = liberal_conservatism_oligarchic_liberalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberal_conservatism_islamic_modernism_subtype }
		localization_key = liberal_conservatism_islamic_modernism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = liberal_conservatism_centrist_progressivism_subtype}
		localization_key = liberal_conservatism_centrist_progressivism_subtype
	}
	text = {
		localization_key = liberal_conservatism
	}
}

defined_text = {
	name = GetSubIdeologyLocConservativeDemocracy
	text = {
		trigger = { has_country_leader_ideology = conservatism_agrarianism_subtype }
		localization_key = conservatism_agrarianism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_paternalistic_conservatism_subtype }
		localization_key = conservatism_paternalistic_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_islamic_conservatism_subtype }
		localization_key = conservatism_islamic_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_populist_conservatism_subtype }
		localization_key = conservatism_populist_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_revisionist_zionism_subtype }
		localization_key = conservatism_revisionist_zionism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_christian_conservatism_subtype }
		localization_key = conservatism_christian_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_progressive_conservatism_subtype }
		localization_key = conservatism_progressive_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_free_market_conservatism_subtype }
		localization_key = conservatism_free_market_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_silent_conservatism_subtype }
		localization_key = conservatism_silent_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_natural_conservatism_subtype }
		localization_key = conservatism_natural_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_urban_populism_subtype }
		localization_key = conservatism_urban_populism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_prairie_populism_subtype }
		localization_key = conservatism_prairie_populism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_goken_conservatism_subtype }
		localization_key = conservatism_goken_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_liberal_corporatism_subtype }
		localization_key = conservatism_liberal_corporatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_oligarchic_conservatism_subtype }
		localization_key = conservatism_oligarchic_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_right_kemalism_subtype }
		localization_key = conservatism_right_kemalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = conservatism_free_market_conservatism_subtype }
		localization_key = conservatism_free_market_conservatism_subtype
	}
	text = {
		localization_key = conservatism
	}
}

defined_text = {
	name = GetSubIdeologyLocPaternalism
	text = {
		trigger = { has_country_leader_ideology = paternalism_national_conservatism_subtype }
		localization_key = paternalism_national_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_social_nationalism_subtype }
		localization_key = paternalism_social_nationalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_controlled_democracy_subtype }
		localization_key = paternalism_controlled_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_stratocracy_subtype }
		localization_key = paternalism_stratocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_oligarchy_subtype }
		localization_key = paternalism_oligarchy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_solidarism_subtype }
		localization_key = paternalism_solidarism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_military_mandate_subtype }
		localization_key = paternalism_military_mandate_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_dixiecrat_subtype }
		localization_key = paternalism_dixiecrat_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_social_credit_subtype }
		localization_key = paternalism_social_credit_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_corporate_paternalism_subtype }
		localization_key = paternalism_corporate_paternalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_semi_constitutional_monarchy_subtype }
		localization_key = paternalism_semi_constitutional_monarchy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_dominant_party_democracy_subtype }
		localization_key = paternalism_dominant_party_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_peronism_subtype }
		localization_key = paternalism_peronism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_kemalism_subtype }
		localization_key = paternalism_kemalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_provisional_government_subtype }
		localization_key = paternalism_provisional_government_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_right_wing_populism_subtype }
		localization_key = paternalism_right_wing_populism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_xunzheng_subtype }
		localization_key = paternalism_xunzheng_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_anocracy_subtype }
		localization_key = paternalism_anocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_left_wing_corporatism_subtype }
		localization_key = paternalism_left_wing_corporatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_transitioning_democracy_subtype }
		localization_key = paternalism_transitioning_democracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_paleoconservatism_subtype }
		localization_key = paternalism_paleoconservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_poujadism_subtype }
		localization_key = paternalism_poujadism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_authoritarian_developmentalism_subtype }
		localization_key = paternalism_authoritarian_developmentalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_paternalistic_developmentalism_subtype }
		localization_key = paternalism_paternalistic_developmentalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_herrerism_subtype }
		localization_key = paternalism_herrerism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_antarctic_administration_subtype }
		localization_key = paternalism_antarctic_administration_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = paternalism_vory_state_subtype }
		localization_key = paternalism_vory_state_subtype
	}
	text = {
		localization_key = paternalism
	}
}

defined_text = {
	name = GetSubIdeologyLocDespotism
	text = {
		trigger = { has_country_leader_ideology = despotism_baathism_subtype }
		localization_key = despotism_baathism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_neo_baathism_subtype }
		localization_key = despotism_neo_baathism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_colonial_government_subtype }
		localization_key = despotism_colonial_government_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_interim_government_subtype }
		localization_key = despotism_interim_government_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_theocracy_subtype }
		localization_key = despotism_theocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_papacy_subtype }
		localization_key = despotism_papacy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_civilian_dictatorship_subtype }
		localization_key = despotism_civilian_dictatorship_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_military_junta_subtype }
		localization_key = despotism_military_junta_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_absolute_monarchy_subtype }
		localization_key = despotism_absolute_monarchy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_corporatocracy_subtype }
		localization_key = despotism_corporatocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_vanguard_anarchism_subtype }
		localization_key = despotism_vanguard_anarchism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_aristocratic_conservatism_subtype }
		localization_key = despotism_aristocratic_conservatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_eurasianism_subtype }
		localization_key = despotism_eurasianism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_warlordism_subtype }
		localization_key = despotism_warlordism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_personalistic_dictatorship_subtype }
		localization_key = despotism_personalistic_dictatorship_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_partisan_movement_subtype }
		localization_key = despotism_partisan_movement_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_national_catholicism_subtype }
		localization_key = despotism_national_catholicism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_managerial_state_subtype }
		localization_key = despotism_managerial_state_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_institutional_despotism_subtype }
		localization_key = despotism_institutional_despotism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_aristocratic_republicanism_subtype }
		localization_key = despotism_aristocratic_republicanism_subtype
	}	
	text = {
		trigger = { has_country_leader_ideology = despotism_military_socialism_subtype }
		localization_key = despotism_military_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_islamic_nationalism_subtype }
		localization_key = despotism_islamic_nationalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_radical_kemalism_subtype }
		localization_key = despotism_radical_kemalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_antarctic_administration_subtype }
		localization_key = despotism_antarctic_administration_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_wang_jingwei_thought_subtype }
		localization_key = despotism_wang_jingwei_thought_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_chiang_kai_shek_thought_subtype }
		localization_key = despotism_chiang_kai_shek_thought_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = despotism_technocratic_corporatism_subtype }
		localization_key = despotism_technocratic_corporatism_subtype
	}
	text = {
		localization_key = despotism
	}
}

defined_text = {
	name = GetSubIdeologyLocUltranationalism
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_slavo_aryanism_subtype }
		localization_key = ultranationalism_slavo_aryanism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_eurasianism_subtype }
		localization_key = ultranationalism_eurasianism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_ultramilitarism_subtype }
		localization_key = ultranationalism_ultramilitarism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_fundamentalism_subtype }
		localization_key = ultranationalism_fundamentalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_esoteric_despotism_subtype }
		localization_key = ultranationalism_esoteric_despotism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_stratocracy_subtype }
		localization_key = ultranationalism_stratocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_reactionary_nationalism_subtype }
		localization_key = ultranationalism_reactionary_nationalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_fundamentalist_zionism_subtype }
		localization_key = ultranationalism_fundamentalist_zionism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_stratocratic_corporatism_subtype }
		localization_key = ultranationalism_stratocratic_corporatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = ultranationalism_nakam_subtype }
		localization_key = ultranationalism_nakam_subtype
	}
	text = {
		localization_key = ultranationalism
	}
}

defined_text = {
	name = GetSubIdeologyLocFascism
	text = {
		trigger = { has_country_leader_ideology = fascism_corporate_statism_subtype }
		localization_key = fascism_corporate_statism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_corporatism_subtype }
		localization_key = fascism_corporatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_sansepolcrismo_subtype }
		localization_key = fascism_sansepolcrismo_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_fascist_mysticism_subtype }
		localization_key = fascism_fascist_mysticism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_statist_corporatocracy_subtype }
		localization_key = fascism_statist_corporatocracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_corporate_statism_subtype }
		localization_key = fascism_corporate_statism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_national_syndicalism_subtype }
		localization_key = fascism_national_syndicalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_fascist_populism_subtype }
		localization_key = fascism_fascist_populism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_revolutionary_nationalism_subtype }
		localization_key = fascism_revolutionary_nationalism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_revolutionary_zionism_subtype }
		localization_key = fascism_revolutionary_zionism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_reform_bureaucracy_subtype }
		localization_key = fascism_reform_bureaucracy_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_neosocialism_subtype }
		localization_key = fascism_neosocialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_integralism_subtype }
		localization_key = fascism_integralism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_neofascism_subtype }
		localization_key = fascism_neofascism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_falangism_subtype }
		localization_key = fascism_falangism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_clerical_fascism_subtype }
		localization_key = fascism_clerical_fascism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_ordosocialism_subtype }
		localization_key = fascism_ordosocialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_aristocratic_fascism_subtype }
		localization_key = fascism_aristocratic_fascism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_social_credit_subtype }
		localization_key = fascism_social_credit_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_baathism_subtype }
		localization_key = fascism_baathism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_antarctic_administration_subtype }
		localization_key = fascism_antarctic_administration_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_british_fascism_1_subtype }
		localization_key = fascism_british_fascism_1_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_british_fascism_2_subtype }
		localization_key = fascism_british_fascism_2_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_british_fascism_hamm_subtype }
		localization_key = fascism_british_fascism_hamm_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_british_fascism_bean_subtype }
		localization_key = fascism_british_fascism_bean_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = fascism_social_credit_subtype }
		localization_key = fascism_social_credit_subtype
	}
	text = {
		localization_key = fascism
	}
}

defined_text = {
	name = GetSubIdeologyLocNationalSocialism
	text = {
		trigger = { has_country_leader_ideology = national_socialism_reformed_national_socialism_subtype }
		localization_key = national_socialism_reformed_national_socialism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_ariocriollismo_subtype }
		localization_key = national_socialism_ariocriollismo_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_naturalised_nazism_subtype }
		localization_key = national_socialism_naturalised_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_idiosyncratic_nazism_subtype }
		localization_key = national_socialism_idiosyncratic_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_clerical_fascism_subtype }
		localization_key = national_socialism_clerical_fascism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_stratocratic_nazism_subtype }
		localization_key = national_socialism_stratocratic_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_technocratic_nazism_subtype }
		localization_key = national_socialism_technocratic_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_stratocratic_corporatism_subtype }
		localization_key = national_socialism_stratocratic_corporatism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_spartanism_subtype }
		localization_key = national_socialism_spartanism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_revolutionary_nazism_subtype }
		localization_key = national_socialism_revolutionary_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_palingenetic_nazism_subtype }
		localization_key = national_socialism_palingenetic_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_esoteric_nazism_subtype }
		localization_key = national_socialism_esoteric_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_burgundian_system_subtype }
		localization_key = national_socialism_burgundian_system_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_imperial_cult_subtype }
		localization_key = national_socialism_imperial_cult_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_deep_ecology_nazism_subtype }
		localization_key = national_socialism_deep_ecology_nazism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_rosenbergite_tendency_subtype }
		localization_key = national_socialism_rosenbergite_tendency_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_antarctic_administration_subtype }
		localization_key = national_socialism_antarctic_administration_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_slavo_aryanism_subtype }
		localization_key = national_socialism_slavo_aryanism_subtype
	}
	text = {
		trigger = { has_country_leader_ideology = national_socialism_agrarian_spartanism_subtype }
		localization_key = national_socialism_agrarian_spartanism_subtype
	}
	text = {
		localization_key = national_socialism
	}
}

defined_text = {
	name = GetFactionLeaderMember
	text = {
		trigger = {
			is_faction_leader = yes
		}
		localization_key = TNO_POLITICS_FACTION_LEADER
	}
	text = {
		trigger = {
			is_in_faction = yes
			is_faction_leader = no
		}
		localization_key = TNO_POLITICS_FACTION_MEMBER
	}
}

defined_text = {
	name = GetCurrentAutonomyState
	text = {
		trigger = { has_autonomy_state = autonomy_autonomous_reichskommissariat }
		localization_key = autonomy_autonomous_reichskommissariat
	}
	text = {
		trigger = { has_autonomy_state = autonomy_colony }
		localization_key = autonomy_colony
	}
	text = {
		trigger = { has_autonomy_state = autonomy_dominion }
		localization_key = autonomy_dominion
	}
	text = {
		trigger = { has_autonomy_state = autonomy_integrated_puppet }
		localization_key = autonomy_integrated_puppet
	}
	text = {
		trigger = { has_autonomy_state = autonomy_integrated_reichskommissariat }
		localization_key = autonomy_integrated_reichskommissariat
	}
	text = {
		trigger = { has_autonomy_state = autonomy_puppet }
		localization_key = autonomy_puppet
	}
	text = {
		trigger = { has_autonomy_state = autonomy_reichsprotektorat }
		localization_key = autonomy_reichsprotektorat
	}
	text = {
		trigger = { has_autonomy_state = autonomy_satellite }
		localization_key = autonomy_satellite
	}
	text = {
		trigger = { has_autonomy_state = autonomy_liberated_government }
		localization_key = autonomy_liberated_government
	}
	text = {
		trigger = { has_autonomy_state = autonomy_client_state }
		localization_key = autonomy_client_state
	}
	text = {
		trigger = { has_autonomy_state = autonomy_military_government }
		localization_key = autonomy_military_government
	}
}

defined_text = {
	name = get_academic_base_trend
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > -1 }
				check_variable = { academic_base_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > 0.99 }
				check_variable = { academic_base_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > 2.99 }
				check_variable = { academic_base_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger < -0.99 }
				check_variable = { academic_base_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger < -2.99 }
				check_variable = { academic_base_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_research_facilities_trend
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > -1 }
				check_variable = { research_facilities_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > 0.99 }
				check_variable = { research_facilities_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > 2.99 }
				check_variable = { research_facilities_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger < -0.99 }
				check_variable = { research_facilities_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger < -2.99 }
				check_variable = { research_facilities_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_agriculture_trend
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > -1 }
				check_variable = { agriculture_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > 0.99 }
				check_variable = { agriculture_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > 2.99 }
				check_variable = { agriculture_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger < -0.99 }
				check_variable = { agriculture_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger < -2.99 }
				check_variable = { agriculture_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_healthcare_trend
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > -1 }
				check_variable = { healthcare_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > 0.99 }
				check_variable = { healthcare_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > 2.99 }
				check_variable = { healthcare_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger < -0.99 }
				check_variable = { healthcare_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger < -2.99 }
				check_variable = { healthcare_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_admin_efficiency_trend
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > -1 }
				check_variable = { admin_efficiency_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > 0.99 }
				check_variable = { admin_efficiency_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > 2.99 }
				check_variable = { admin_efficiency_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger < -0.99 }
				check_variable = { admin_efficiency_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger < -2.99 }
				check_variable = { admin_efficiency_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_industrial_equipment_trend
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > -1 }
				check_variable = { industrial_equipment_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > 0.99 }
				check_variable = { industrial_equipment_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > 2.99 }
				check_variable = { industrial_equipment_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger < -0.99 }
				check_variable = { industrial_equipment_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger < -2.99 }
				check_variable = { industrial_equipment_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_industrial_expertise_trend
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > -1 }
				check_variable = { industrial_expertise_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > 0.99 }
				check_variable = { industrial_expertise_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > 2.99 }
				check_variable = { industrial_expertise_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger < -0.99 }
				check_variable = { industrial_expertise_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger < -2.99 }
				check_variable = { industrial_expertise_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_army_professionalism_trend
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > -1 }
				check_variable = { army_professionalism_monthly_change_trigger < 1 }
			}
		}
		localization_key = "GFX_idea_flat_line"
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > 0.99 }
				check_variable = { army_professionalism_monthly_change_trigger < 3 }
			}
		}
		localization_key = "GFX_idea_single_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > 2.99 }
				check_variable = { army_professionalism_monthly_change_trigger < 5 }
			}
		}
		localization_key = "GFX_idea_double_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = "GFX_idea_triple_up_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger < -0.99 }
				check_variable = { army_professionalism_monthly_change_trigger > -3 }
			}
		}
		localization_key = "GFX_idea_single_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger < -2.99 }
				check_variable = { army_professionalism_monthly_change_trigger > -5 }
			}
		}
		localization_key = "GFX_idea_double_down_arrow"
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = "GFX_idea_triple_down_arrow"
	}
}

defined_text = {
	name = get_academic_base_trend_tt
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > -1 }
				check_variable = { academic_base_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > 0.99 }
				check_variable = { academic_base_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > 2.99 }
				check_variable = { academic_base_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger < -0.99 }
				check_variable = { academic_base_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger < -2.99 }
				check_variable = { academic_base_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_academic_base_monthly_change_value_with_modifiers = yes
				check_variable = { academic_base_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_research_facilities_trend_tt
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > -1 }
				check_variable = { research_facilities_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > 0.99 }
				check_variable = { research_facilities_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > 2.99 }
				check_variable = { research_facilities_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger < -0.99 }
				check_variable = { research_facilities_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger < -2.99 }
				check_variable = { research_facilities_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_research_facilities_monthly_change_value_with_modifiers = yes
				check_variable = { research_facilities_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_agriculture_trend_tt
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > -1 }
				check_variable = { agriculture_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > 0.99 }
				check_variable = { agriculture_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > 2.99 }
				check_variable = { agriculture_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger < -0.99 }
				check_variable = { agriculture_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger < -2.99 }
				check_variable = { agriculture_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_agriculture_monthly_change_value_with_modifiers = yes
				check_variable = { agriculture_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_healthcare_trend_tt
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > -1 }
				check_variable = { healthcare_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > 0.99 }
				check_variable = { healthcare_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > 2.99 }
				check_variable = { healthcare_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger < -0.99 }
				check_variable = { healthcare_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger < -2.99 }
				check_variable = { healthcare_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_healthcare_monthly_change_value_with_modifiers = yes
				check_variable = { healthcare_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_admin_efficiency_trend_tt
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > -1 }
				check_variable = { admin_efficiency_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > 0.99 }
				check_variable = { admin_efficiency_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > 2.99 }
				check_variable = { admin_efficiency_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger < -0.99 }
				check_variable = { admin_efficiency_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger < -2.99 }
				check_variable = { admin_efficiency_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_admin_efficiency_monthly_change_value_with_modifiers = yes
				check_variable = { admin_efficiency_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_industrial_equipment_trend_tt
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > -1 }
				check_variable = { industrial_equipment_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > 0.99 }
				check_variable = { industrial_equipment_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > 2.99 }
				check_variable = { industrial_equipment_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger < -0.99 }
				check_variable = { industrial_equipment_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger < -2.99 }
				check_variable = { industrial_equipment_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_industrial_equipment_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_equipment_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_industrial_expertise_trend_tt
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > -1 }
				check_variable = { industrial_expertise_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > 0.99 }
				check_variable = { industrial_expertise_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > 2.99 }
				check_variable = { industrial_expertise_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger < -0.99 }
				check_variable = { industrial_expertise_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger < -2.99 }
				check_variable = { industrial_expertise_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_industrial_expertise_monthly_change_value_with_modifiers = yes
				check_variable = { industrial_expertise_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_army_professionalism_trend_tt
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > -1 }
				check_variable = { army_professionalism_monthly_change_trigger < 1 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > 0.99 }
				check_variable = { army_professionalism_monthly_change_trigger < 3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_Low
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > 2.99 }
				check_variable = { army_professionalism_monthly_change_trigger < 5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger > 4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase_High
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger < -0.99 }
				check_variable = { army_professionalism_monthly_change_trigger > -3 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_Low
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger < -2.99 }
				check_variable = { army_professionalism_monthly_change_trigger > -5 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
	text = {
		trigger = {
			AND = {
				get_army_professionalism_monthly_change_value_with_modifiers = yes
				check_variable = { army_professionalism_monthly_change_trigger < -4.99 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease_High
	}
}

defined_text = {
	name = get_academic_base_development_status
	text = {
		trigger = {
			check_variable = { var = academic_base_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Academic_Base_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { academic_base_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Academic_Base_Status_Negative
	}
}

defined_text = {
	name = get_research_facilities_development_status
	text = {
		trigger = {
			check_variable = { var = research_facilities_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Research_Facilities_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { research_facilities_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Research_Facilities_Status_Negative
	}
}

defined_text = {
	name = get_agriculture_development_status
	text = {
		trigger = {
			check_variable = { var = agriculture_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Agriculture_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { agriculture_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Agriculture_Status_Negative
	}
}

defined_text = {
	name = get_healthcare_development_status
	text = {
		trigger = {
			check_variable = { var = healthcare_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Healthcare_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { healthcare_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Healthcare_Status_Negative
	}
}

defined_text = {
	name = get_admin_efficiency_development_status
	text = {
		trigger = {
			check_variable = { var = admin_efficiency_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Admin_Efficiency_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { admin_efficiency_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Admin_Efficiency_Status_Negative
	}
}

defined_text = {
	name = get_industrial_equipment_development_status
	text = {
		trigger = {
			check_variable = { var = industrial_equipment_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Industrial_Equip_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { industrial_equipment_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Industrial_Equip_Status_Negative
	}
}

defined_text = {
	name = get_industrial_expertise_development_status
	text = {
		trigger = {
			check_variable = { var = industrial_expertise_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Industrial_Expertise_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { industrial_expertise_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Industrial_Expertise_Status_Negative
	}
}

defined_text = {
	name = get_army_professionalism_development_status
	text = {
		trigger = {
			check_variable = { var = army_professionalism_counter value = 0 compare = greater_than_or_equals }
		}
		localization_key = TNO_SD_Trend_Army_Professionalism_Status_Positive
	}
	text = {
		trigger = {
			check_variable = { army_professionalism_counter < 0 }
		}
		localization_key = TNO_SD_Trend_Army_Professionalism_Status_Negative
	}
}

defined_text = {
	name = Getacademic_base_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { academic_base_monthly_change_tt = academic_base_monthly_change }
			add_to_temp_variable = { academic_base_monthly_change_tt = modifier@academic_base_monthly_rate }
		}
		localization_key = academic_base_monthly_change_value_tt
	}
}

defined_text = {
	name = Getresearch_facilities_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { research_facilities_monthly_change_tt = research_facilities_monthly_change }
			add_to_temp_variable = { research_facilities_monthly_change_tt = modifier@research_facilities_monthly_rate }
		}
		localization_key = research_facilities_monthly_change_value_tt
	}
}

defined_text = {
	name = Getagriculture_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { agriculture_monthly_change_tt = agriculture_monthly_change }
			add_to_temp_variable = { agriculture_monthly_change_tt = modifier@agriculture_monthly_rate }
		}
		localization_key = agriculture_monthly_change_value_tt
	}
}

defined_text = {
	name = Gethealthcare_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { healthcare_monthly_change_tt = healthcare_monthly_change }
			add_to_temp_variable = { healthcare_monthly_change_tt = modifier@healthcare_monthly_rate }
		}
		localization_key = healthcare_monthly_change_value_tt
	}
}

defined_text = {
	name = Getadmin_efficiency_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { admin_efficiency_monthly_change_tt = admin_efficiency_monthly_change }
			add_to_temp_variable = { admin_efficiency_monthly_change_tt = modifier@admin_efficiency_monthly_rate }
		}
		localization_key = admin_efficiency_monthly_change_value_tt
	}
}

defined_text = {
	name = Getindustrial_equipment_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { industrial_equipment_monthly_change_tt = industrial_equipment_monthly_change }
			add_to_temp_variable = { industrial_equipment_monthly_change_tt = modifier@industrial_equipment_monthly_rate }
		}
		localization_key = industrial_equipment_monthly_change_value_tt
	}
}

defined_text = {
	name = Getindustrial_expertise_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { industrial_expertise_monthly_change_tt = industrial_expertise_monthly_change }
			add_to_temp_variable = { industrial_expertise_monthly_change_tt = modifier@industrial_expertise_monthly_rate }
		}
		localization_key = industrial_expertise_monthly_change_value_tt
	}
}

defined_text = {
	name = Getarmy_professionalism_monthly_change_var
	text = {
		trigger = {
			set_temp_variable = { army_professionalism_monthly_change_tt = army_professionalism_monthly_change }
			add_to_temp_variable = { army_professionalism_monthly_change_tt = modifier@army_professionalism_monthly_rate }
		}
		localization_key = army_professionalism_monthly_change_value_tt
	}
}

### POLICY EFFECTIVENESS TRENDS

defined_text = {
	name = get_trade_laws_policy_trend
	text = {
		trigger = {
			AND = {
				get_trade_laws_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_laws_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_trade_laws_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_laws_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_trade_laws_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_laws_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_trade_laws_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_trade_laws_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_laws_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_trade_laws_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_laws_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_trade_laws_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_laws_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_income_taxation_policy_trend
	text = {
		trigger = {
			AND = {
				get_income_taxation_policy_monthly_change_value_with_modifiers = yes
				check_variable = { income_taxation_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_income_taxation_policy_monthly_change_value_with_modifiers = yes
				check_variable = { income_taxation_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_income_taxation_policy_monthly_change_value_with_modifiers = yes
				check_variable = { income_taxation_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_income_taxation_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_income_taxation_policy_monthly_change_value_with_modifiers = yes
				check_variable = { income_taxation_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_income_taxation_policy_monthly_change_value_with_modifiers = yes
				check_variable = { income_taxation_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_income_taxation_policy_monthly_change_value_with_modifiers = yes
				check_variable = { income_taxation_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_minimum_wage_policy_trend
	text = {
		trigger = {
			AND = {
				get_minimum_wage_policy_monthly_change_value_with_modifiers = yes
				check_variable = { minimum_wage_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_minimum_wage_policy_monthly_change_value_with_modifiers = yes
				check_variable = { minimum_wage_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_minimum_wage_policy_monthly_change_value_with_modifiers = yes
				check_variable = { minimum_wage_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_minimum_wage_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_minimum_wage_policy_monthly_change_value_with_modifiers = yes
				check_variable = { minimum_wage_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_minimum_wage_policy_monthly_change_value_with_modifiers = yes
				check_variable = { minimum_wage_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_minimum_wage_policy_monthly_change_value_with_modifiers = yes
				check_variable = { minimum_wage_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_max_workhours_policy_trend
	text = {
		trigger = {
			AND = {
				get_max_workhours_policy_monthly_change_value_with_modifiers = yes
				check_variable = { max_workhours_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_max_workhours_policy_monthly_change_value_with_modifiers = yes
				check_variable = { max_workhours_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_max_workhours_policy_monthly_change_value_with_modifiers = yes
				check_variable = { max_workhours_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_max_workhours_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_max_workhours_policy_monthly_change_value_with_modifiers = yes
				check_variable = { max_workhours_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_max_workhours_policy_monthly_change_value_with_modifiers = yes
				check_variable = { max_workhours_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_max_workhours_policy_monthly_change_value_with_modifiers = yes
				check_variable = { max_workhours_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_pensions_policy_trend
	text = {
		trigger = {
			AND = {
				get_pensions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { pensions_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_pensions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { pensions_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_pensions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { pensions_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_pensions_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_pensions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { pensions_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_pensions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { pensions_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_pensions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { pensions_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_unemployment_policy_trend
	text = {
		trigger = {
			AND = {
				get_unemployment_policy_monthly_change_value_with_modifiers = yes
				check_variable = { unemployment_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_unemployment_policy_monthly_change_value_with_modifiers = yes
				check_variable = { unemployment_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_unemployment_policy_monthly_change_value_with_modifiers = yes
				check_variable = { unemployment_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_unemployment_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_unemployment_policy_monthly_change_value_with_modifiers = yes
				check_variable = { unemployment_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_unemployment_policy_monthly_change_value_with_modifiers = yes
				check_variable = { unemployment_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_unemployment_policy_monthly_change_value_with_modifiers = yes
				check_variable = { unemployment_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_regulations_policy_trend
	text = {
		trigger = {
			AND = {
				get_regulations_policy_monthly_change_value_with_modifiers = yes
				check_variable = { regulations_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_regulations_policy_monthly_change_value_with_modifiers = yes
				check_variable = { regulations_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_regulations_policy_monthly_change_value_with_modifiers = yes
				check_variable = { regulations_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_regulations_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_regulations_policy_monthly_change_value_with_modifiers = yes
				check_variable = { regulations_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_regulations_policy_monthly_change_value_with_modifiers = yes
				check_variable = { regulations_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_regulations_policy_monthly_change_value_with_modifiers = yes
				check_variable = { regulations_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_health_care_policy_trend
	text = {
		trigger = {
			AND = {
				get_health_care_policy_monthly_change_value_with_modifiers = yes
				check_variable = { health_care_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_health_care_policy_monthly_change_value_with_modifiers = yes
				check_variable = { health_care_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_health_care_policy_monthly_change_value_with_modifiers = yes
				check_variable = { health_care_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_health_care_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_health_care_policy_monthly_change_value_with_modifiers = yes
				check_variable = { health_care_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_health_care_policy_monthly_change_value_with_modifiers = yes
				check_variable = { health_care_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_health_care_policy_monthly_change_value_with_modifiers = yes
				check_variable = { health_care_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_education_policy_trend
	text = {
		trigger = {
			AND = {
				get_education_policy_monthly_change_value_with_modifiers = yes
				check_variable = { education_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_education_policy_monthly_change_value_with_modifiers = yes
				check_variable = { education_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_education_policy_monthly_change_value_with_modifiers = yes
				check_variable = { education_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_education_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_education_policy_monthly_change_value_with_modifiers = yes
				check_variable = { education_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_education_policy_monthly_change_value_with_modifiers = yes
				check_variable = { education_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_education_policy_monthly_change_value_with_modifiers = yes
				check_variable = { education_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_penal_system_policy_trend
	text = {
		trigger = {
			AND = {
				get_penal_system_policy_monthly_change_value_with_modifiers = yes
				check_variable = { penal_system_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_penal_system_policy_monthly_change_value_with_modifiers = yes
				check_variable = { penal_system_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_penal_system_policy_monthly_change_value_with_modifiers = yes
				check_variable = { penal_system_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_penal_system_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_penal_system_policy_monthly_change_value_with_modifiers = yes
				check_variable = { penal_system_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_penal_system_policy_monthly_change_value_with_modifiers = yes
				check_variable = { penal_system_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_penal_system_policy_monthly_change_value_with_modifiers = yes
				check_variable = { penal_system_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_gender_rights_policy_trend
	text = {
		trigger = {
			AND = {
				get_gender_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { gender_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_gender_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { gender_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_gender_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { gender_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_gender_rights_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_gender_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { gender_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_gender_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { gender_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_gender_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { gender_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_security_policy_trend
	text = {
		trigger = {
			AND = {
				get_security_policy_monthly_change_value_with_modifiers = yes
				check_variable = { security_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_security_policy_monthly_change_value_with_modifiers = yes
				check_variable = { security_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_security_policy_monthly_change_value_with_modifiers = yes
				check_variable = { security_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_security_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_security_policy_monthly_change_value_with_modifiers = yes
				check_variable = { security_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_security_policy_monthly_change_value_with_modifiers = yes
				check_variable = { security_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_security_policy_monthly_change_value_with_modifiers = yes
				check_variable = { security_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_political_parties_policy_trend
	text = {
		trigger = {
			AND = {
				get_political_parties_policy_monthly_change_value_with_modifiers = yes
				check_variable = { political_parties_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_political_parties_policy_monthly_change_value_with_modifiers = yes
				check_variable = { political_parties_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_political_parties_policy_monthly_change_value_with_modifiers = yes
				check_variable = { political_parties_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_political_parties_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_political_parties_policy_monthly_change_value_with_modifiers = yes
				check_variable = { political_parties_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_political_parties_policy_monthly_change_value_with_modifiers = yes
				check_variable = { political_parties_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_political_parties_policy_monthly_change_value_with_modifiers = yes
				check_variable = { political_parties_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_religious_rights_policy_trend
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_religious_rights_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_trade_unions_policy_trend
	text = {
		trigger = {
			AND = {
				get_trade_unions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_unions_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_trade_unions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_unions_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_trade_unions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_unions_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_trade_unions_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_trade_unions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_unions_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_trade_unions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_unions_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_trade_unions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { trade_unions_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_immigration_policy_trend
	text = {
		trigger = {
			AND = {
				get_immigration_policy_monthly_change_value_with_modifiers = yes
				check_variable = { immigration_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_immigration_policy_monthly_change_value_with_modifiers = yes
				check_variable = { immigration_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_immigration_policy_monthly_change_value_with_modifiers = yes
				check_variable = { immigration_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_immigration_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_immigration_policy_monthly_change_value_with_modifiers = yes
				check_variable = { immigration_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_immigration_policy_monthly_change_value_with_modifiers = yes
				check_variable = { immigration_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_immigration_policy_monthly_change_value_with_modifiers = yes
				check_variable = { immigration_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_slavery_policy_trend
	text = {
		trigger = {
			AND = {
				get_slavery_policy_monthly_change_value_with_modifiers = yes
				check_variable = { slavery_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_slavery_policy_monthly_change_value_with_modifiers = yes
				check_variable = { slavery_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_slavery_policy_monthly_change_value_with_modifiers = yes
				check_variable = { slavery_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_slavery_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_slavery_policy_monthly_change_value_with_modifiers = yes
				check_variable = { slavery_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_slavery_policy_monthly_change_value_with_modifiers = yes
				check_variable = { slavery_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_slavery_policy_monthly_change_value_with_modifiers = yes
				check_variable = { slavery_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}


defined_text = {
	name = get_public_meetings_policy_trend
	text = {
		trigger = {
			AND = {
				get_public_meetings_policy_monthly_change_value_with_modifiers = yes
				check_variable = { public_meetings_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_public_meetings_policy_monthly_change_value_with_modifiers = yes
				check_variable = { public_meetings_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_public_meetings_policy_monthly_change_value_with_modifiers = yes
				check_variable = { public_meetings_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_public_meetings_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_public_meetings_policy_monthly_change_value_with_modifiers = yes
				check_variable = { public_meetings_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_public_meetings_policy_monthly_change_value_with_modifiers = yes
				check_variable = { public_meetings_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_public_meetings_policy_monthly_change_value_with_modifiers = yes
				check_variable = { public_meetings_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}


defined_text = {
	name = get_press_rights_policy_trend
	text = {
		trigger = {
			AND = {
				get_press_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { press_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_press_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { press_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_press_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { press_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_press_rights_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_press_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { press_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_press_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { press_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_press_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { press_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}


defined_text = {
	name = get_vote_franchise_policy_trend
	text = {
		trigger = {
			AND = {
				get_vote_franchise_policy_monthly_change_value_with_modifiers = yes
				check_variable = { vote_franchise_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_vote_franchise_policy_monthly_change_value_with_modifiers = yes
				check_variable = { vote_franchise_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_vote_franchise_policy_monthly_change_value_with_modifiers = yes
				check_variable = { vote_franchise_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_vote_franchise_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_vote_franchise_policy_monthly_change_value_with_modifiers = yes
				check_variable = { vote_franchise_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_vote_franchise_policy_monthly_change_value_with_modifiers = yes
				check_variable = { vote_franchise_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_vote_franchise_policy_monthly_change_value_with_modifiers = yes
				check_variable = { vote_franchise_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}


defined_text = {
	name = get_religious_rights_policy_trend
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_religious_rights_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_religious_rights_policy_monthly_change_value_with_modifiers = yes
				check_variable = { religious_rights_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_conscription_policy_trend
	text = {
		trigger = {
			AND = {
				get_conscription_policy_monthly_change_value_with_modifiers = yes
				check_variable = { conscription_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_conscription_policy_monthly_change_value_with_modifiers = yes
				check_variable = { conscription_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_conscription_policy_monthly_change_value_with_modifiers = yes
				check_variable = { conscription_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_conscription_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_conscription_policy_monthly_change_value_with_modifiers = yes
				check_variable = { conscription_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_conscription_policy_monthly_change_value_with_modifiers = yes
				check_variable = { conscription_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_conscription_policy_monthly_change_value_with_modifiers = yes
				check_variable = { conscription_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_military_supervision_policy_trend
	text = {
		trigger = {
			AND = {
				get_military_supervision_policy_monthly_change_value_with_modifiers = yes
				check_variable = { military_supervision_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_military_supervision_policy_monthly_change_value_with_modifiers = yes
				check_variable = { military_supervision_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_military_supervision_policy_monthly_change_value_with_modifiers = yes
				check_variable = { military_supervision_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_military_supervision_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_military_supervision_policy_monthly_change_value_with_modifiers = yes
				check_variable = { military_supervision_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_military_supervision_policy_monthly_change_value_with_modifiers = yes
				check_variable = { military_supervision_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_military_supervision_policy_monthly_change_value_with_modifiers = yes
				check_variable = { military_supervision_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}


defined_text = {
	name = get_training_policy_trend
	text = {
		trigger = {
			AND = {
				get_training_policy_monthly_change_value_with_modifiers = yes
				check_variable = { training_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_training_policy_monthly_change_value_with_modifiers = yes
				check_variable = { training_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_training_policy_monthly_change_value_with_modifiers = yes
				check_variable = { training_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_training_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_training_policy_monthly_change_value_with_modifiers = yes
				check_variable = { training_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_training_policy_monthly_change_value_with_modifiers = yes
				check_variable = { training_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_training_policy_monthly_change_value_with_modifiers = yes
				check_variable = { training_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

defined_text = {
	name = get_draft_exemptions_policy_trend
	text = {
		trigger = {
			AND = {
				get_draft_exemptions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { draft_exemptions_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_flat"
	}
	text = {
		trigger = {
			AND = {
				get_draft_exemptions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { draft_exemptions_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_up"
	}
	text = {
		trigger = {
			AND = {
				get_draft_exemptions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { draft_exemptions_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = "GFX_policy_effectiveness_arrow_down"
	}
}

defined_text = {
	name = get_draft_exemptions_policy_trend_tt
	text = {
		trigger = {
			AND = {
				get_draft_exemptions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { draft_exemptions_policy_monthly_change_trigger = 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Neutral
	}
	text = {
		trigger = {
			AND = {
				get_draft_exemptions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { draft_exemptions_policy_monthly_change_trigger > 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Increase
	}
	text = {
		trigger = {
			AND = {
				get_draft_exemptions_policy_monthly_change_value_with_modifiers = yes
				check_variable = { draft_exemptions_policy_monthly_change_trigger < 0 }
			}
		}
		localization_key = TNO_SD_Trend_SocDev_Decrease
	}
}

