Scripted trigger
hunt_lifestyle_track_less_trigger
hunt_lifestyle_track_less_trigger = { LESS_THAN = … TRACK = … }game/common/scripted_triggers/00_hunt_triggers.txt, line 638 (8 lines). Parameters: $LESS_THAN$, $TRACK$.
hunt_lifestyle_track_less_trigger is a scripted trigger in Crusader Kings III, written at line 638 of its file. A call passes 2 parameters: LESS_THAN and TRACK. The game's script calls it in 5 places, among them Bounty of the Wild (event hunt.9001), Felling a Beast (event hunt.4004) and Illegal Prey (event hunt.4003). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.
What it checks
• 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 (8 lines of game script)
hunt_lifestyle_track_less_trigger = {
has_trait = lifestyle_hunter
has_trait_xp = {
trait = lifestyle_hunter
track = $TRACK$
value < $LESS_THAN$
}
}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_lifestyle_track_less_trigger.
Events (3)
- Bounty of the Wild
hunt.9001 - Felling a Beast
hunt.4004 - Illegal Prey
hunt.4003
Scripted triggers inside an event file (1)
- yearly_1010_hunter_xp_trigger
Scripted modifiers (AI weights) (1)
- activity_guest_hunt_ai_accept_modifier
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.