Scripted trigger
hunt_new_sighting_event_trigger
hunt_new_sighting_event_trigger = { TYPE = … }game/common/scripted_triggers/00_hunt_triggers.txt, line 531 (18 lines). Parameters: $TYPE$.
hunt_new_sighting_event_trigger is a scripted trigger in Crusader Kings III, written at line 531 of its file. A call passes 1 parameter: TYPE. The game's script calls it in 7 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
- If is not landed:
domicile.domicile_location.county ?= { … }
- Otherwise › Any sub realm county:
• 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 (18 lines of game script)
hunt_new_sighting_event_trigger = {
trigger_if = {
limit = { is_landed = no }
domicile.domicile_location.county ?= {
NOR = {
has_variable = recent_sighting
any_neighboring_county = { has_variable = recent_sighting }
has_county_modifier = hunt_sighting_$TYPE$_modifier
any_neighboring_county = { has_county_modifier = hunt_sighting_$TYPE$_modifier }
hunt_activity_recent_hunt_sighting_trigger = yes
any_neighboring_county = { hunt_activity_recent_hunt_sighting_trigger = yes }
}
}
}
trigger_else = {
any_sub_realm_county = { hunt_activity_recent_hunt_sighting_trigger = no }
}
}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_new_sighting_event_trigger.
Court position tasks (3)
- Track Dangerous Game
- Track Legendary Game
- Track Regular Game
Events (4)
- The … …
hunt.2510 - The … … of …
hunt.2520 - The … of …
hunt.2500 - The … of …
hunt.2530
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.