Scripted trigger · Legends of the Dead files
has_legend_chapter_trigger
has_legend_chapter_trigger = { CHAPTER = … }game/common/scripted_triggers/06_ce1_legend_triggers.txt, line 103 (8 lines). Parameters: $CHAPTER$.
has_legend_chapter_trigger is a scripted trigger in Crusader Kings III, in the Legends of the Dead files, written at line 103 of its file. A call passes 1 parameter: CHAPTER. The game's script calls it in 13 places, among them Embrace Celibacy (decision), …: Conclusion (event tournament_events.0150) and Captured for Posterity (event coronation_events.1030). Patch 1.20.1.2, from game/common/scripted_triggers/06_ce1_legend_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (8 lines of game script)
has_legend_chapter_trigger = {
has_dlc_feature = legends
exists = promoted_legend
promoted_legend.legend_owner = root
promoted_legend = {
has_legend_chapter = $CHAPTER$
}
}As written in game/common/scripted_triggers/06_ce1_legend_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_legend_chapter_trigger.
Decisions (1)
Events (4)
- …: Conclusion
tournament_events.0150 - Captured for Posterity
coronation_events.1030 - Mental Break: Unwelcome
stress_threshold.2101 - Til Death Do Us Part
death_management.1000
On actions (the game's own hooks) (7)
- on_birth_father
- on_birth_mother
- on_faith_created
- on_release_from_prison
- on_rite_created
- on_siege_completion
1 more
- on_travel_plan_movement
Scripted effects (1)
Source: game/common/scripted_triggers/06_ce1_legend_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.