# Gravity Snare Cooldown
defined_text = {
	name = GetGravitySnareCooldownForFleet
	value = value:gravity_snare_cooldown_for_fleet
}

defined_text = {
	name = GetAdvisorCoreAdditionnalQuote
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			is_tutorial_level = 0
		}
		localization_key = advisor_core_desc_tutorial_off
	}
	default = advisor_core_desc_tutorial_on
}

# Wrangler Jobs (Primal Calling)
defined_text = {
	name = GetWranglerJobName
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_rancher_job = yes
		}
		localization_key = job_rancher
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_trophy_hunter_job = yes
		}
		localization_key = job_trophy_hunter
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_animal_handler_job = yes
		}
		localization_key = job_animal_handler
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = job_beastfighter
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_drone_wrangler_job = yes
		}
		localization_key = job_drone_wrangler
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_hunter_drone_job = yes
		}
		localization_key = job_hunter_drone
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_symbiosis_integrator_job = yes
		}
		localization_key = job_symbiosis_integrator
	}
	default = job_wrangler
}
defined_text = {
	name = GetWranglerJobNamePlural
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_rancher_job = yes
		}
		localization_key = job_rancher_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_trophy_hunter_job = yes
		}
		localization_key = job_trophy_hunter_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_animal_handler_job = yes
		}
		localization_key = job_animal_handler_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = job_beastfighter_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_drone_wrangler_job = yes
		}
		localization_key = job_drone_wrangler_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_hunter_drone_job = yes
		}
		localization_key = job_hunter_drone_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_symbiosis_integrator_job = yes
		}
		localization_key = job_symbiosis_integrator_plural
	}
	default = job_wrangler_plural
}
defined_text = {
	name = GetWranglerJobNameWithIcon
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_rancher_job = yes
		}
		localization_key = job_rancher_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_trophy_hunter_job = yes
		}
		localization_key = job_trophy_hunter_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_animal_handler_job = yes
		}
		localization_key = job_animal_handler_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = job_beastfighter_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_drone_wrangler_job = yes
		}
		localization_key = job_drone_wrangler_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_hunter_drone_job = yes
		}
		localization_key = job_hunter_drone_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_symbiosis_integrator_job = yes
		}
		localization_key = job_symbiosis_integrator_with_icon
	}
	default = job_wrangler_with_icon
}
defined_text = {
	name = GetWranglerJobNamePluralWithIcon
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_rancher_job = yes
		}
		localization_key = job_rancher_plural_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_trophy_hunter_job = yes
		}
		localization_key = job_trophy_hunter_plural_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_animal_handler_job = yes
		}
		localization_key = job_animal_handler_plural_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = job_beastfighter_plural_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_drone_wrangler_job = yes
		}
		localization_key = job_drone_wrangler_plural_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_hunter_drone_job = yes
		}
		localization_key = job_hunter_drone_plural_with_icon
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_symbiosis_integrator_job = yes
		}
		localization_key = job_symbiosis_integrator_plural_with_icon
	}
	default = job_wrangler_plural_with_icon
}
defined_text = {
	name = GetWranglerVariantJobsAdd
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_rancher_job = yes
		}
		localization_key = mod_job_rancher_add
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_trophy_hunter_job = yes
		}
		localization_key = mod_job_trophy_hunter_add
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_animal_handler_job = yes
		}
		localization_key = mod_job_animal_handler_add
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = mod_job_beastfighter_add
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_drone_wrangler_job = yes
		}
		localization_key = mod_job_drone_wrangler_add
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_hunter_drone_job = yes
		}
		localization_key = mod_job_hunter_drone_add
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_symbiosis_integrator_job = yes
		}
		localization_key = mod_job_symbiosis_integrator_add
	}
	default = mod_job_wrangler_add
}
defined_text = {
	name = GetWranglerVariantJobPerPop
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_rancher_job = yes
		}
		localization_key = mod_job_rancher_per_pop
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_trophy_hunter_job = yes
		}
		localization_key = mod_job_trophy_hunter_per_pop
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_animal_handler_job = yes
		}
		localization_key = mod_job_animal_handler_per_pop
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = mod_job_beastfighter_per_pop
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_drone_wrangler_job = yes
		}
		localization_key = mod_job_drone_wrangler_per_pop
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_hunter_drone_job = yes
		}
		localization_key = mod_job_hunter_drone_per_pop
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_symbiosis_integrator_job = yes
		}
		localization_key = mod_job_symbiosis_integrator_per_pop
	}
	default = mod_job_wrangler_per_pop
}

defined_text = {
	name = GetWranglerContext
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = CIVILIAN_OUTPUT_BLANK
	}
	default = pick_wrangler_stance
}

defined_text = {
	name = GetRancherContext
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = CIVILIAN_OUTPUT_BLANK
	}
	default = pick_rancher_stance
}

defined_text = {
	name = GetTrophyHunterContext
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = CIVILIAN_OUTPUT_BLANK
	}
	default = pick_trophy_hunter_stance
}

defined_text = {
	name = GetAnimalHandlerContext
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_beastfighter_job = yes
		}
		localization_key = CIVILIAN_OUTPUT_BLANK
	}
	default = pick_animal_handler_stance
}

# Treasure Hunters

defined_text = {
	name = GetCaptainHooSnarkyInsult
	text = {
		trigger = {
			is_scope_valid = yes
			is_machine_empire = yes
		}
		localization_key = CAPTAIN_HOO_INSULT_MACHINE
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = yes
		}
		localization_key = CAPTAIN_HOO_INSULT_HIVE
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = HUM
		}
		localization_key = CAPTAIN_HOO_INSULT_HUM
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = MAM
		}
		localization_key = CAPTAIN_HOO_INSULT_MAM
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = REP
		}
		localization_key = CAPTAIN_HOO_INSULT_REP
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = AVI
		}
		localization_key = CAPTAIN_HOO_INSULT_AVI
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = ART
		}
		localization_key = CAPTAIN_HOO_INSULT_ART
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = MOL
		}
		localization_key = CAPTAIN_HOO_INSULT_MOL
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = FUN
		}
		localization_key = CAPTAIN_HOO_INSULT_FUN
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = PLANT
		}
		localization_key = CAPTAIN_HOO_INSULT_PLANT
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = LITHOID
		}
		localization_key = CAPTAIN_HOO_INSULT_LITHOID
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = NECROID
		}
		localization_key = CAPTAIN_HOO_INSULT_NECROID
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = AQUATIC
		}
		localization_key = CAPTAIN_HOO_INSULT_AQUATIC
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = no
			is_species_class = TOX
		}
		localization_key = CAPTAIN_HOO_INSULT_TOX
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_machine_empire = no
			OR = {
				is_species_class = ROBOT
				is_species_class = MACHINE
			}
		}
		localization_key = CAPTAIN_HOO_INSULT_ROBOT
	}
	default = CAPTAIN_HOO_INSULT_DEFAULT
}

defined_text = {
	name = GetCommonMineral
	random = yes
	text = { localization_key = COMMON_MINERAL_1 }
	text = { localization_key = COMMON_MINERAL_2 }
	text = { localization_key = COMMON_MINERAL_3 }
	text = { localization_key = COMMON_MINERAL_4 }
	text = { localization_key = COMMON_MINERAL_5 }
	text = { localization_key = COMMON_MINERAL_6 }
}

defined_text = {
	name = GetSpaceFaunaName
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			is_amoeba_country_type = yes
		}
		localization_key = space_amoeba
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_tiyanki_country_type = yes
		}
		localization_key = tiyanki
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_crystal_country_type = yes
		}
		localization_key = crystalline_entity
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_voidworms_country_type = yes
		}
		localization_key = voidworm
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_cutholoids_country_type = yes
		}
		localization_key = cutholoid
	}
	default = BLANK_STRING
}
defined_text = {
	name = GetSpaceFaunaNamePlural
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			is_amoeba_country_type = yes
		}
		localization_key = space_amoeba_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_tiyanki_country_type = yes
		}
		localization_key = tiyanki
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_crystal_country_type = yes
		}
		localization_key = crystalline_entity_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_voidworms_country_type = yes
		}
		localization_key = voidworms_plural
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_cutholoids_country_type = yes
		}
		localization_key = cutholoids_plural
	}
	default = BLANK_STRING
}

defined_text = {
	name = GetSpaceFaunaGroup
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			is_amoeba_country_type = yes
		}
		localization_key = SPACE_AMOEBA_GROUP_NAME
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_tiyanki_country_type = yes
		}
		localization_key = TIYANKI_GROUP_NAME
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_crystal_country_type = yes
		}
		localization_key = CRYSTAL_GROUP_NAME
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_voidworms_country_type = yes
		}
		localization_key = VOIDWORM_GROUP_NAME
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_cutholoids_country_type = yes
		}
		localization_key = CUTHOLOID_GROUP_NAME
	}
	default = BLANK_STRING
}

defined_text = {
	name = GetExecuted
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_valid_civic = civic_hive_devouring_swarm
		}
		localization_key = DEVOURED
	}
	default = EXECUTED
}

defined_text = {
	name = GetVoidwormsHostility
	random = no
	text = {
		trigger = {
			check_variable = {
				which = frenzied_voidworms_hostility
				value >= @frenzied_hostility_hostile_threshold
			}
		}
		localization_key = voidworms_hostility_hostile
	}
	text = {
		trigger = {
			check_variable = {
				which = frenzied_voidworms_hostility
				value > @frenzied_hostility_pacified_threshold
			}
		}
		localization_key = voidworms_hostility_neutral
	}
	default = voidworms_hostility_pacified
}

defined_text = {
	name = GetCollectionRewardCategory
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			has_country_flag = selecting_xeno_geology_reward
		}
		localization_key = EXHIBITION_TITLE_1
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_country_flag = selecting_aesthetic_wonder_reward
		}
		localization_key = EXHIBITION_TITLE_2
	}
	text = {
		trigger = {
			is_scope_valid = yes
			has_country_flag = selecting_historical_item_reward
		}
		localization_key = EXHIBITION_TITLE_3
	}
	default = COLLECTION
}

# Curators' death considerations
defined_text = {
	name = GetCuratorsDesignation
	random = no
	text = {
		trigger = {
			exists = event_target:backup_curator_country
		}
		localization_key = DEAD_CURATORS_DESIGNATION
	}
	default = CURATORS_DESIGNATION
}

defined_text = {
	name = GetStage1Description
	random = no
	text = {
		trigger = {
			exists = event_target:backup_curator_country
		}
		localization_key = DEAD_CURATORS_STAGE_1_DESC
	}
	default = CURATORS_STAGE_1_DESC
}

defined_text = {
	name = GetStage2Description
	random = no
	text = {
		trigger = {
			exists = event_target:backup_curator_country
		}
		localization_key = DEAD_CURATORS_STAGE_2_DESC
	}
	default = CURATORS_STAGE_2_DESC
}

defined_text = {
	name = GetStage3Description
	random = no
	text = {
		trigger = {
			exists = event_target:backup_curator_country
		}
		localization_key = DEAD_CURATORS_STAGE_3_DESC
	}
	default = CURATORS_STAGE_3_DESC
}

defined_text = {
	name = GetVoidwormFleetBombardmentDamageIntensity
	random = no
	text = {
		trigger = {
			controller = {
				is_voidworms_country_type = yes
			}
		}
		localization_key = bombardment_damage_massive
	}
	default = bombardment_damage_moderate
}

defined_text = {
	name = GetDomesticationFinishEffectDesc
	random = no
	text = {
		trigger = {
			has_origin = origin_primal_calling
		}
		localization_key = tr_domestication_finish_desc_primal_calling
	}
	default = tr_domestication_finish_desc_default
}

defined_text = {
	name = GetHatchery
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			is_beastmasters_empire = yes
		}
		localization_key = sm_beastport
	}
	default = sm_hatchery
}

defined_text = {
	name = GetHatcheryPlural
	random = no
	text = {
		trigger = {
			is_scope_valid = yes
			is_beastmasters_empire = yes
		}
		localization_key = sm_beastport_plural
	}
	default = sm_hatchery_plural
}
