Scripted trigger · Legends of the Dead files
valid_for_legendary_integration_d
valid_for_legendary_integration_d = yesgame/common/scripted_triggers/06_ce1_legend_triggers.txt, line 76 (26 lines). No parameters.
valid_for_legendary_integration_d is a scripted trigger in Crusader Kings III, in the Legends of the Dead files, written at line 76 of its file. It takes no parameters: valid_for_legendary_integration_d = yes (or no). The game's script calls it in 2 places, among them Expand the Realm (decision) and Legendary Integration (event ce1_decision_events.1010). Patch 1.20.1.2, from game/common/scripted_triggers/06_ce1_legend_triggers.txt.
What it checks
NOT = { kingdom ?= root.primary_title }NOT = { empire ?= root.primary_title }NOT = { hegemony ?= root.primary_title }One of these
de_jure_drift_progress = { target = root.primary_title value > 0 }or
Their kingdom:de_jure_drift_progress = { target = root.primary_title value > 0 }
or
Their empire:de_jure_drift_progress = { target = root.primary_title value > 0 }
or
holder = root
• 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 (26 lines of game script)
valid_for_legendary_integration_d = {
NOR = {
kingdom ?= root.primary_title
empire ?= root.primary_title
hegemony ?= root.primary_title
}
OR = {
de_jure_drift_progress = {
target = root.primary_title
value > 0
}
kingdom ?= {
de_jure_drift_progress = {
target = root.primary_title
value > 0
}
}
empire ?= {
de_jure_drift_progress = {
target = root.primary_title
value > 0
}
}
holder = root
}
}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 valid_for_legendary_integration_d.
Decisions (1)
Events (1)
- Legendary Integration
ce1_decision_events.1010
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.