defined_text = {
	name = GetCGLevelText
	text = {
		trigger = {
			OR = {
				has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
			}
			check_variable = { var = GER_industrial_consumer_goods_factor value = 1 compare = greater_than_or_equals }
		}
		localization_key = GER_max_CG_tt
	}
	text = {
		trigger = {
			OR = {
				has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
			}
			check_variable = { GER_industrial_consumer_goods_factor < 1 }
		}
		localization_key = GER_increasing_cg_tt 
	}
}

defined_text = {
	name = GetCGPenaltiesText
	text = {
		trigger = {
			OR = {
				has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
			}
			check_variable = { GER_industrial_consumer_goods_factor < 0.5 }
		}
		localization_key = GER_CG_penalties_may_apply
	}
	text = {
		trigger = {
			OR = {
				has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
			}
			check_variable = { var = GER_industrial_consumer_goods_factor value = 0.49 compare = greater_than_or_equals }
			NOT = { check_variable = { GER_industrial_consumer_goods_expected_value > 0.01 }}
		}
		localization_key = GER_CG_penalties_warning 
	}
}

defined_text = {
	name = GetSubmarineMaxSpeed
	text = {
		trigger = {
			has_completed_focus = GER_unrestricted_convoy_raiding #Focus grants bonuses
			has_completed_focus = GER_u_boat_efforts #Focus grants bonuses
		}
		localization_key = GER_submarine_max_speed_big_tt #+10%
	}
	text = {
		trigger = {
			has_completed_focus = GER_u_boat_efforts #Focus grants bonuses
		}
		localization_key = GER_submarine_max_speed_small_tt #+5%
	}
	text = {
		localization_key = generic_null
	}
}

defined_text = {
	name = GetMotorMechAttack
	text = {
		trigger = {
			has_completed_focus = GER_panzergrenadier #Focus grants bonuses
		}
		localization_key = GER_display_motor_and_mech_attack_tt #+5% motor and mech attacl
	}
	text = {
		localization_key = generic_null
	}
}

defined_text = {
	name = GetIndustrialModifier
	text = {
		trigger = {
			has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
		}
		localization_key = GER_mefo_bills_modifier 
	}
	text = {
		trigger = {
			has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
		}
		localization_key = GER_economy_of_conquest_modifier 
	}
	text = {
		trigger = {
			has_dynamic_modifier = { modifier = GER_recovering_economy_modifier }
		}
		localization_key = GER_recovering_economy_modifier 
	}
	text = {
		trigger = {
			has_dynamic_modifier = { modifier = GER_wirtschaftswunder_modifier }
		}
		localization_key = GER_wirtschaftswunder_modifier 
	}
}

defined_text = {
	name = GetGermanMilitaryName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_military_modifier_fascist
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_military_modifier_neutral 
	}
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_military_modifier_democratic 
	}
	text = {
		trigger = {
			has_government = communism
		}
		localization_key = GER_military_modifier_communism 
	}
}

defined_text = {
	name = GetReichsWerkeName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_reichswerke_fascist
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_reichswerke_neutral 
	}
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_reichswerke_democratic 
	}
	text = {
		trigger = {
			has_government = communism
		}
		localization_key = GER_reichswerke_communism 
	}
}

defined_text = {
	name = GetKfdWagenNames
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_kdf_wagen_factories_fascist
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_kdf_wagen_factories_neutral 
	}
	text = {
		trigger = {
			OR = {
				has_government = communism
				has_government = democratic
			}
		}
		localization_key = GER_kdf_wagen_factories_volkswagen
	}
}

# MOLOTOV-RIBBENTROP PACT NAME - MOLOTOV
defined_text = {
	name = GetMolotovInMRPact
	text = {
		trigger = {
			SOV = { has_completed_focus = SOV_policy_of_collective_security }
		}
		localization_key = MR_pact_litvinov
	}
	text = {
		localization_key = MR_pact_molotov 
	}
}

# MOLOTOV-RIBBENTROP PACT NAME - RIBBENTROP
defined_text = {
	name = GetRibbentropInMRPact
	text = {
		localization_key = MR_pact_ribbentrop
	}
}

# SUDETENLAND - REJECT OPTION - Ally or neutral
defined_text = {
	name = GetSudetenlandRejectOption

	text = {
		trigger = {
			is_in_faction_with = GER
		}
		localization_key = germany.1041.b_ally_of_ger
	}
	text = {
		localization_key = germany.1041.b_default
	}
}

defined_text = {
	name = GetColonialDecisionName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_reichskolonialbund_name
	}
	text = {
		localization_key = GER_weltpolitik_name 
	}
}


# African Colonies Event - Standard or German Subject DESCRIPTION

defined_text = {
	name = GetGERAfricanColonyOverlordDesc

	text = {
		trigger = {
			is_subject_of = GER
		}
		localization_key = GER_is_colonial_overlord_desc
	}
	text = {
		localization_key = GER_is_not_colonial_overlord_desc
	}
}

# African Colonies Event - Standard or German Subject OPTION

defined_text = {
	name = GetGERAfricanColonyOverlordOption

	text = {
		trigger = {
			is_subject_of = GER
		}
		localization_key = GER_is_colonial_overlord_option
	}
	text = {
		localization_key = GER_is_not_colonial_overlord_option
	}
}

#Anschluss TT

defined_text = {
	name = GetAustrianArmyExists

	text = {
		trigger = {
			AUS = {
				has_army_manpower = {
					size > 0
				}
			}
		}
		localization_key = GER_austrian_army_exists
	}

	text = {
		trigger = {
			AUS = {
				has_army_manpower = {
					size < 1
				}
			}
		}
		localization_key = GER_austrian_army_does_not_exist
	}
}

#Proletarian Solidarity 

defined_text = {
	name = GetIsRootProletarianSubject

	text = {
		trigger = {
			ROOT = {
				NOT = {
					is_subject_of = GER
				}
			}
		}
		localization_key = GER_root_is_proletarian_subject
	}

	text = {
		trigger = {
			ROOT = {
				is_subject_of = GER
			}
		}

		localization_key = GER_root_not_proletarian_subject
	}
}

defined_text = {
	name = GetAutobahnName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_autobahn_fascism
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_autobahn_neutral 
	}
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_autobahn_democratic 
	}
	text = {
		trigger = {
			has_government = communism
		}
		localization_key = GER_autobahn_communism 
	}
}

defined_text = {
	name = GetKDFFactoriesText
	text = {
		trigger = {
			has_completed_focus = GER_prioritize_economic_growth
		}
		localization_key = GER_kdf_wagen_factories_economic_growth_text
	}
	text = {
		localization_key = GER_kdf_wagen_factories_autarky_text 
	}
}

defined_text = {
	name = GetDefenseofGermanyName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_defense_of_the_reich_fascism
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_defense_of_the_reich_neutral 
	}
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_defense_of_the_reich_democratic 
	}
	text = {
		trigger = {
			has_government = communism
		}
		localization_key = GER_defense_of_the_reich_communism 
	}
}

defined_text = {
	name = GetKriegsmarinewerftName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_expand_kriegsmarinewerft_fascism
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_expand_kriegsmarinewerft_neutrality 
	}
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_expand_kriegsmarinewerft_democratic 
	}
	text = {
		trigger = {
			has_government = communism
		}
		localization_key = GER_expand_kriegsmarinewerft_communism 
	}
}

# The Kriegsmarine focus
defined_text = {
	name = GetStrengthenKriegsmarineName
	text = {
		trigger = {
			has_government = fascism
		}
		localization_key = GER_strengthen_kriegsmarine_fascism
	}
	text = {
		trigger = {
			has_government = neutrality
		}
		localization_key = GER_strengthen_kriegsmarine_neutrality 
	}
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_strengthen_kriegsmarine_democratic 
	}
	text = {
		trigger = {
			has_government = communism
		}
		localization_key = GER_strengthen_kriegsmarine_communism 
	}
}

defined_text = { #For Intrigue event amongst the Industrialists (Todt, Speer, Göring)
	name = GetIndustrialReichsleiterNames
	text = {
		trigger = {
			NOT = { has_completed_focus = GER_the_four_year_plan}
		}
		localization_key = GER_inner_circle_industrial_reichsleiter_no_goring
	}
	text = {
		localization_key = GER_inner_circle_industrial_reichsleiter_all 
	}
}

defined_text = {
	name = GetMilitaryProductionModifierName
	text = {
		trigger = {
			has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
		}
		localization_key = GER_mefo_bills
	}
	text = {
		trigger = {
			has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
		}
		localization_key = GER_economy_of_conquest_modifier 
	}
}


#########################
#########################
#### MONROE DOCTRINE ####
#########################
#########################
defined_text = {
	name = GetFinlandpuppetDescription
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_finland_puppet_description_democratic
	}
	text = {
		trigger = {
			NOT = {
				has_government = democratic
			}
		}
		localization_key = GER_finland_puppet_description_neutrality 
	}
}

defined_text = {
	name = GetWesternDuchiesName
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_western_duchies_name_democratic
	}
	text = {
		trigger = {
			NOT = {
				has_government = democratic
			}
		}
		localization_key = GER_western_duchies_name_neutrality 
	}
}

defined_text = {
	name = GetEasternDuchiesName
	text = {
		trigger = {
			has_government = democratic
		}
		localization_key = GER_eastern_duchies_name_democratic
	}
	text = {
		trigger = {
			NOT = {
				has_government = democratic
			}
		}
		localization_key = GER_eastern_duchies_name_neutrality 
	}
}

defined_text = {
	name = GetMonroeActorCat
	text = {
		trigger = {
			original_tag = USA
		}

		localization_key = GER_USA_is_monroe_actor_t
	}

	text = {
		trigger = {
			original_tag = GER
		}

		localization_key = GER_GER_is_monroe_actor_t
	}
}

defined_text = {
	name = GetMonroeActorCatDesc

	text = {
		trigger = {
			original_tag = USA
		}

		localization_key = GER_USA_is_monroe_actor_d
	}

	text = {
		trigger = {
			original_tag = GER
			USA = {
				has_country_flag = { flag = USA_save_monroe_flag }
			}
		}

		localization_key = GER_GER_is_monroe_actor_d_usa_resistance
	}

	text = {
		trigger = {
			original_tag = GER
			NOT = {
				USA = {
					has_country_flag = { flag = USA_save_monroe_flag } 
				}
			}
		}

		localization_key = GER_GER_is_monroe_actor_d_no_resistance
	}
}

defined_text = {
	name = GetMonroeSupportGoodBad

	text = {
		trigger = {
			original_tag = USA
		}

		localization_key = monroe_support_is_good
	}

	text = {
		trigger = {
			original_tag = GER
		}

		localization_key = monroe_support_is_bad
	}
}

defined_text = {
	name = GetMonroeOppositionGoodBad

	text = {
		trigger = {
			original_tag = GER
		}

		localization_key = monroe_opposition_is_good
	}

	text = {
		trigger = {
			original_tag = USA
		}

		localization_key = monroe_opposition_is_bad
	}
}

defined_text = {
	name = GetMonroeDecisionMapAreaName

	text = {
		trigger = {
			original_tag = GER
		}

		localization_key = monroe_abandon_map_area
	}

	text = {
		trigger = {
			original_tag = USA
		}

		localization_key = monroe_reinforce_map_area
	}
}

defined_text = {
	name = GetIsAnyoneOpposingMonroe

	text = {
		trigger = {
			check_variable = { global.monroe_countries_not_in_support^num = 0 } 
		}
		localization_key = noone_opposing_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_countries_not_in_support^num > 0 } 
		}
		localization_key = one_opposing_monroe
	}
	
}

defined_text = {
	name = GetOppositionMonroeCountries

	text = {
		trigger = {
			check_variable = { global.monroe_countries_not_in_support^num < 1 }
		}
		localization_key = noone_opposing_monroe
	}

	text = {
		trigger = {
			set_temp_variable = { array_length = global.monroe_countries_not_in_support^num }
			subtract_from_temp_variable = { array_length = 1 }
			check_variable = { iterator < array_length }
			add_to_temp_variable = { iterator = 1 }
		}

		localization_key = oppositional_monroe_list
	}
}

defined_text = {
	name = GetIsAnyoneSupportingMonroe

	text = {
		trigger = {
			check_variable = { global.monroe_countries_in_support^num = 0 } 
		}
		localization_key = noone_supporting_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_countries_in_support^num > 0 } 
		}
		localization_key = one_supporting_monroe
	}
}

defined_text = {
	name = GetSupportingMonroeCountries

	text = {
		trigger = {
			check_variable = { global.monroe_countries_in_support^num < 1 }
		}
		localization_key = noone_supporting_monroe
	}

	text = {
		trigger = {
			set_temp_variable = { array_length = global.monroe_countries_in_support^num }
			subtract_from_temp_variable = { array_length = 1 }
			check_variable = { iterator < array_length }
			add_to_temp_variable = { iterator = 1 }
		}

		localization_key = supporting_monroe_list
	}
}

defined_text = {
	name = GetCountriesInTheMonroeDoctrine

	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 0}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 2}
		}
		localization_key = GER_1_country_in_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 1}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 3}
		}
		localization_key = GER_2_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 2}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 4}
		}
		localization_key = GER_3_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 3}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 5}
		}
		localization_key = GER_4_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 4}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 6}
		}
		localization_key = GER_5_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 5}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 7}
		}
		localization_key = GER_6_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 6}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 8}
		}
		localization_key = GER_7_country_in_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 7}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 9}
		}
		localization_key = GER_8_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 8}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 10}
		}
		localization_key = GER_9_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 9}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 11}
		}
		localization_key = GER_10_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 10}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 12}
		}
		localization_key = GER_11_country_in_monroe
	}text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 11}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 13}
		}
		localization_key = GER_12_country_in_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 12}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 14}
		}
		localization_key = GER_13_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 13}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 15}
		}
		localization_key = GER_14_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 14}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 16}
		}
		localization_key = GER_15_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 15}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 17}
		}
		localization_key = GER_16_country_in_monroe
	}text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 16}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 18}
		}
		localization_key = GER_17_country_in_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 17}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 19}
		}
		localization_key = GER_18_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 18}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 20}
		}
		localization_key = GER_19_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 19}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 21}
		}
		localization_key = GER_20_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 20}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 22}
		}
		localization_key = GER_21_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 21}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 23}
		}
		localization_key = GER_22_country_in_monroe
	}

	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 22}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 24}
		}
		localization_key = GER_23_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 23}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 25}
		}
		localization_key = GER_24_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 24}
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num < 26}
		}
		localization_key = GER_25_country_in_monroe
	}
	text = {
		trigger = {
			check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 25}
		}
		localization_key = GER_26_country_in_monroe
	}
}


### INTEGRATE PUPPET ECONOMIES (Fascist)
defined_text = {
	name = GetColorForCurrentIntegratedPuppetEconomiesValue
	text = {
		trigger = {
			check_variable = { GER_puppet_economies_integrated = GER_puppet_economies_integration_cap compare = greater_than_or_equals }
		}
		localization_key = R
	}
	text = {
		localization_key = G
	}
}



		  ##################################
#########################################################
  ### #  # #  # ### ###       ##  ### ###   ##  #   ### 
   #  ## # ## # #   #  #     #  #  #  #  # #  # #   #   
   #  # ## # ## ##  ###      #     #  ###  #    #   ##  
   #  #  # #  # #   #  #     #  #  #  #  # #  # #   #   
  ### #  # #  # ### #  #      ##  ### #  #  ##  ### ### 
#########################################################
		  ##################################


################################
  ########## TEXTS ###########
################################

defined_text = {
	name = GetAscendedAdvisorName1
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
		}
		localization_key = GER_fritz_todt
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
		}
		localization_key = GER_albert_speer
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
		}
		localization_key = GER_hermann_goring
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
		}
		localization_key = GER_heinrich_himmler
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
		}
		localization_key = GER_joseph_goebbels
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
		}
		localization_key = GER_rudolf_hess
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
		}
		localization_key = GER_martin_bormann
	}
}

defined_text = {
	name = GetAscendedAdvisorName2
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
		}
		localization_key = GER_fritz_todt
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
		}
		localization_key = GER_albert_speer
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
		}
		localization_key = GER_hermann_goring
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
		}
		localization_key = GER_heinrich_himmler
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
		}
		localization_key = GER_joseph_goebbels
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
		}
		localization_key = GER_rudolf_hess
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
		}
		localization_key = GER_martin_bormann
	}
}

defined_text = {
	name = GetAscendedAdvisorName3
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 0 }	
		}
		localization_key = empty_key
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
		}
		localization_key = GER_fritz_todt
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
		}
		localization_key = GER_albert_speer
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
		}
		localization_key = GER_hermann_goring
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
		}
		localization_key = GER_heinrich_himmler
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
		}
		localization_key = GER_joseph_goebbels
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
		}
		localization_key = GER_rudolf_hess
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
		}
		localization_key = GER_martin_bormann
	}
}

defined_text = {
	name = GetAscendedAdvisorTrait1
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = idea_desc|GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = idea_desc|GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = idea_desc|GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = idea_desc|GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = idea_desc|GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = idea_desc|GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = idea_desc|GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = idea_desc|GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = idea_desc|GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = idea_desc|GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = idea_desc|GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorTrait2
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = idea_desc|GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = idea_desc|GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = idea_desc|GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = idea_desc|GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = idea_desc|GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = idea_desc|GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = idea_desc|GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = idea_desc|GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = idea_desc|GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = idea_desc|GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = idea_desc|GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorTrait3
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = idea_desc|GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = idea_desc|GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = idea_desc|GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = idea_desc|GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = idea_desc|GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = idea_desc|GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = idea_desc|GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = idea_desc|GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = idea_desc|GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = idea_desc|GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = idea_desc|GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorTraitName1
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorTraitName2
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorTraitName3
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = { #NAME OF ASCENDING ADSVISOR (THAT WILL REPLACE SOMEONE) FOR EVENT LOC
	name = GetAscendingAdvisorName
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 1 }
		}
		localization_key = GER_fritz_todt
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 2 }
		}
		localization_key = GER_albert_speer
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 3 }
		}
		localization_key = GER_hermann_goring
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 4 }
		}
		localization_key = GER_heinrich_himmler
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 5 }
		}
		localization_key = GER_joseph_goebbels
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 6 }
		}
		localization_key = GER_rudolf_hess
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 7 }
		}
		localization_key = GER_martin_bormann
	}
}

defined_text = { #PORTRAIT OF ASCENDING ADSVISOR (THAT WILL REPLACE SOMEONE) FOR EVENT PIC
	name = GetAscendingAdvisorPortrait
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 1 }
		}
		localization_key = GFX_report_event_GER_todt
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 2 }
		}
		localization_key = GFX_report_event_GER_speer
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 3 }
		}
		localization_key = GFX_report_event_GER_goring
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 4 }
		}
		localization_key = GFX_report_event_GER_himmler
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 5 }
		}
		localization_key = GFX_report_event_GER_goebbels
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 6 }
		}
		localization_key = GFX_report_event_GER_hess
	}
	text = {
		trigger = {
			check_variable = { GER_ascending_advisor = 7 }
		}
		localization_key = GFX_report_event_GER_bormann
	}
}

defined_text = {
	name = GetAscendedAdvisorDesc1
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = idea_desc|GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = idea_desc|GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = idea_desc|GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = idea_desc|GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = idea_desc|GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = idea_desc|GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = idea_desc|GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = idea_desc|GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = idea_desc|GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = idea_desc|GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = idea_desc|GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorDesc2
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = idea_desc|GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = idea_desc|GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = idea_desc|GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = idea_desc|GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = idea_desc|GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = idea_desc|GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = idea_desc|GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = idea_desc|GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = idea_desc|GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = idea_desc|GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = idea_desc|GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisorDesc3
	text = { #NO ONE
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 0 }	
		}
		localization_key = empty_key
	}

	# TODT
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
			has_idea = GER_todt_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_todt_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 1 }
			has_idea = GER_todt_reich_engineer
		}
		localization_key = idea_desc|GER_todt_reich_engineer
	}

	# SPEER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
			has_idea = GER_speer_reich_minister_of_armaments
		}
		localization_key = idea_desc|GER_speer_reich_minister_of_armaments
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 2 }
			has_idea = GER_speer_reich_architect
		}
		localization_key = idea_desc|GER_speer_reich_architect
	}

	#GÖRING
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
			has_idea = GER_goring_four_year_plan_plenipotentiary
		}
		localization_key = idea_desc|GER_goring_four_year_plan_plenipotentiary
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 3 }
			has_idea = GER_goring_overseer_four_year_plan
		}
		localization_key = idea_desc|GER_goring_overseer_four_year_plan
	}

	#HIMMLER
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_reichsfuhrer_ss
		}
		localization_key = idea_desc|GER_himmler_reichsfuhrer_ss
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_director_reich_security
		}
		localization_key = idea_desc|GER_himmler_director_reich_security
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 4 }
			has_idea = GER_himmler_chief_of_german_police
		}
		localization_key = idea_desc|GER_himmler_chief_of_german_police
	}

	#GOEBBELS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_master_no_lar
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_film
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_film
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda_ministry
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda_ministry
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 5 }
			has_idea = GER_goebbels_reich_minister_of_propaganda
		}
		localization_key = idea_desc|GER_goebbels_reich_minister_of_propaganda
	}

	#HESS
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_first_among_equals
		}
		localization_key = idea_desc|GER_hess_first_among_equals
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_first_among_equals_no_aat
		}
		localization_key = idea_desc|GER_hess_first_among_equals_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor_improved
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor_improved_no_aat
		}
		localization_key = idea_desc|GER_hess_party_chancellor_improved_no_aat
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 6 }
			has_idea = GER_hess_party_chancellor
		}
		localization_key = idea_desc|GER_hess_party_chancellor
	}

	#BORMANN
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_brown_eminence
		}
		localization_key = idea_desc|GER_bormann_brown_eminence
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer_improved
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer_improved
	}
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 7 }
			has_idea = GER_bormann_secretary_to_the_fuhrer
		}
		localization_key = idea_desc|GER_bormann_secretary_to_the_fuhrer
	}
}

defined_text = {
	name = GetAscendedAdvisor1
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_1 = 0 }
		}
		localization_key = empty_key
	}
	text = {
		localization_key = GER_the_inner_circle_tt_ascended_advisor_1
	}
}

defined_text = {
	name = GetAscendedAdvisor2
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_2 = 0 }
		}
		localization_key = empty_key
	}
	text = {
		localization_key = GER_the_inner_circle_tt_ascended_advisor_2
	}
}

defined_text = {
	name = GetAscendedAdvisor3
	text = {
		trigger = {
			check_variable = { GER_ascended_advisor_3 = 0 }
		}
		localization_key = empty_key
	}
	text = {
		localization_key = GER_the_inner_circle_tt_ascended_advisor_3
	}
}


defined_text = {
	name = GetFuhrerName
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_adolf_hitler
			}
		}
		localization_key = GER_adolf_hitler
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_fritz_todt
			}
		}
		localization_key = GER_fritz_todt
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_albert_speer
			}
		}
		localization_key = GER_albert_speer
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_hermann_goring
			}
		}
		localization_key = GER_hermann_goring
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_heinrich_himmler
			}
		}
		localization_key = GER_heinrich_himmler
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_joseph_goebbels
			}
		}
		localization_key = GER_joseph_goebbels
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_rudolf_hess
			}
		}
		localization_key = GER_rudolf_hess
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_martin_bormann
			}
		}
		localization_key = GER_martin_bormann
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_eva_braun
			}
		}
		localization_key = GER_eva_braun
	}
}

defined_text = { #FUHRER PORTRAIT FOR EVENT PIC (STRONG SUCCESSOR)
	name = GetFuhrerEventPortrait
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_adolf_hitler
			}
		}
		localization_key = GFX_report_event_GER_hitler
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_fritz_todt
			}
		}
		localization_key = GFX_report_event_GER_todt
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_albert_speer
			}
		}
		localization_key = GFX_report_event_GER_speer
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_hermann_goring
			}
		}
		localization_key = GFX_report_event_GER_goring
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_heinrich_himmler
			}
		}
		localization_key = GFX_report_event_GER_himmler
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_joseph_goebbels
			}
		}
		localization_key = GFX_report_event_GER_goebbels
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_rudolf_hess
			}
		}
		localization_key = GFX_report_event_GER_hess
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_martin_bormann
			}
		}
		localization_key = GFX_report_event_GER_bormann
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_eva_braun
			}
		}
		localization_key = GFX_report_event_GER_braun
	}
}

defined_text = { #NAME OF ADVISOR (For Intrigue event)
	name = GetIntrigueCharacterName
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 1 }
		}
		localization_key = GER_fritz_todt
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 2 }
		}
		localization_key = GER_albert_speer
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 3 }
		}
		localization_key = GER_hermann_goring
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 4 }
		}
		localization_key = GER_heinrich_himmler
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 5 }
		}
		localization_key = GER_joseph_goebbels
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 6 }
		}
		localization_key = GER_rudolf_hess
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 7 }
		}
		localization_key = GER_martin_bormann
	}
}

defined_text = { #PORTRAIT OF ADVISOR (For Intrigue event) - The one who triggered the event
	name = GetIndustrialIntrigueEventPortrait
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 1 }
		}
		localization_key = GFX_report_event_GER_todt
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 2 }
		}
		localization_key = GFX_report_event_GER_speer
	}
	text = {
		trigger = {
			check_variable = { GER_intrigue_character = 3 }
		}
		localization_key = GFX_report_event_GER_goring
	}
}

defined_text = { #HESS TRAIT TO DISPLAY IN THE FLIGHT OF HESS EVENTS
	name = GetHessTraitForFlight
	text = {
		localization_key = idea_desc|GER_hess_party_chancellor
	}
}

defined_text = { #Correct title (male/female)
	name = GetFuhrerGenderedName
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = GER_eva_braun
			}
		}
		localization_key = GER_fuhrer_title_text_female
	}
	text = {
		localization_key = GER_fuhrer_title_text
	}
}

defined_text = {
	name = GetAnschlussProgress

	text = {
		trigger = {
			original_tag = GER
			fighting_army_strength_ratio = {
				tag = AUS
				ratio < global.medium_anschluss_risk
			}
		}
		localization_key = GER_antischluss_progress_minimal
	}

	text = {
		trigger = {
			original_tag = GER
			fighting_army_strength_ratio = {
				tag = AUS
				ratio > global.medium_anschluss_risk
			}
			fighting_army_strength_ratio = {
				tag = AUS
				ratio < global.high_anschluss_risk
			}
		}
		localization_key = GER_antischluss_progress_moderate
	}

	text = {
		trigger = {
			original_tag = GER
			fighting_army_strength_ratio = {
				tag = AUS
				ratio < global.deployed_manpower_ratio_needed_for_anschluss 
			}
			fighting_army_strength_ratio = {
				tag = AUS
				ratio > global.high_anschluss_risk
			}
		}
		localization_key = GER_antischluss_progress_significant
	}

	text = {
		trigger = {
			original_tag = GER
			fighting_army_strength_ratio = {
				tag = AUS
				ratio > global.deployed_manpower_ratio_needed_for_anschluss 
			}
		}
		localization_key = GER_antischluss_progress_complete
	}
}



	#############################
#######################################
			###      # # 
			#  #     # # 
			###      ##  
			#  #     # # 
			#  #     # # 
#######################################
	#############################

defined_text = { #MM: This is a necessary step for the RK SCRIPTED GUI tooltip since $loc$ won't work unless it goes through scripted loc first
	name = GetRosenbergsModifiers
	text = {
		localization_key = GER_rk_rosenberg_tt
	}
}
