Scripted trigger
hunt_is_valid_subordinate_trigger
hunt_is_valid_subordinate_trigger = { LIEGE = … }game/common/scripted_triggers/00_hunt_triggers.txt, line 550 (14 lines). Parameters: $LIEGE$.
hunt_is_valid_subordinate_trigger is a scripted trigger in Crusader Kings III, written at line 550 of its file. A call passes 1 parameter: LIEGE. The game's script calls it in 2 places, among them Caught in a Trap (event hunt.7011) and hunt_activity_random_subordinate_participant_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.
What it checks
- Is an Adult
One of these
is_vassal_of = $LIEGE$or
is_courtier_of = $LIEGE$
is_participant_in_activity = $LIEGE$.involved_activity- Does not have the Trait: Incapable
- Does not have the Trait: Severely Injured
- Does not have the Trait: Brutally Mauled
• 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 (14 lines of game script)
hunt_is_valid_subordinate_trigger = {
is_adult = yes
NOT = { this = $LIEGE$ }
OR = {
is_vassal_of = $LIEGE$
is_courtier_of = $LIEGE$
}
is_participant_in_activity = $LIEGE$.involved_activity
NOR = {
has_trait = incapable
has_trait = wounded_2
has_trait = wounded_3
}
}As written in game/common/scripted_triggers/00_hunt_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_is_valid_subordinate_trigger.
Events (1)
- Caught in a Trap
hunt.7011
Scripted effects (1)
Source: game/common/scripted_triggers/00_hunt_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.