Scripted trigger
hunt_sighting_event_trigger
hunt_sighting_event_trigger = yesgame/common/scripted_triggers/00_hunt_triggers.txt, line 509 (21 lines). No parameters.
hunt_sighting_event_trigger is a scripted trigger in Crusader Kings III, written at line 509 of its file. It takes no parameters: hunt_sighting_event_trigger = yes (or no). The game's script calls it in 9 places, among them Track Dangerous Game (court task), Track Legendary Game (court task) and Track Regular Game (court task). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.
What it checks
is_available_adult = yesis_landless_adventurer = no- If is not landed:
NOT = { domicile.domicile_location ?= province:496 }
One of these
court_position:master_of_hunt_court_position ?= { is_available_adult = yes }or
court_position:huntperson_camp_officer ?= { is_available_adult = yes }or
Any vassal or below:is_available_adult = yes- Has the Trait: Hunter
or
Any courtier:is_available_adult = yes- Has the Trait: Hunter
• 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 (21 lines of game script)
hunt_sighting_event_trigger = {
is_available_adult = yes
is_landless_adventurer = no
NOT = { has_character_flag = recent_hunt_sighting }
trigger_if = {
limit = { is_landed = no }
NOT = { domicile.domicile_location ?= province:496 }
}
OR = {
court_position:master_of_hunt_court_position ?= { is_available_adult = yes }
court_position:huntperson_camp_officer ?= { is_available_adult = yes }
any_vassal_or_below = {
is_available_adult = yes
has_trait = lifestyle_hunter
}
any_courtier = {
is_available_adult = yes
has_trait = lifestyle_hunter
}
}
}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_sighting_event_trigger.
Court position tasks (3)
- Track Dangerous Game
- Track Legendary Game
- Track Regular Game
Events (5)
- From Here to There
hunt.2540 - The … …
hunt.2510 - The … … of …
hunt.2520 - The … of …
hunt.2500 - The … of …
hunt.2530
On actions (the game's own hooks) (1)
- hunt_sighting_on_action
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.