Scripted trigger
has_alive_pet_trigger
has_alive_pet_trigger = yesgame/common/scripted_triggers/00_pet_triggers.txt, line 73 (11 lines). No parameters.
has_alive_pet_trigger is a scripted trigger in Crusader Kings III, written at line 73 of its file. It takes no parameters: has_alive_pet_trigger = yes (or no). The game's script calls it in 1 place, among them Homeward Bound (event travel_events.3010). Patch 1.20.1.2, from game/common/scripted_triggers/00_pet_triggers.txt.
What it checks
One of these
has_named_cat_trigger = yesor
has_named_dog_trigger = yesor
has_named_eagle_trigger = yesor
Has the Modifier: Pet Wolfor
Has the Modifier: Pet Bearor
Has the Modifier: Pet Lionor
Has the Modifier: Pet Tiger
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (11 lines of game script)
has_alive_pet_trigger = {
OR = {
has_named_cat_trigger = yes
has_named_dog_trigger = yes
has_named_eagle_trigger = yes
has_character_modifier = exotic_pet_wolf
has_character_modifier = exotic_pet_bear
has_character_modifier = exotic_pet_lion
has_character_modifier = exotic_pet_tiger
}
}As written in game/common/scripted_triggers/00_pet_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_alive_pet_trigger.
Events (1)
- Homeward Bound
travel_events.3010
Source: game/common/scripted_triggers/00_pet_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.