Scripted trigger · Legends of the Dead files
valid_for_legendary_integration_e
valid_for_legendary_integration_e = yesgame/common/scripted_triggers/06_ce1_legend_triggers.txt, line 24 (25 lines). No parameters.
valid_for_legendary_integration_e is a scripted trigger in Crusader Kings III, in the Legends of the Dead files, written at line 24 of its file. It takes no parameters: valid_for_legendary_integration_e = yes (or no). The game's script calls it in 2 places, among them Exalt the Realm (decision) and Legendary Integration (event ce1_decision_events.1015). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/06_ce1_legend_triggers.txt.
What it checks
One of these
- You must control the entirety of the Kingdom
or
holder = root
- The title is not already a De Jure part of your Primary Title
• 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 (25 lines of game script)
valid_for_legendary_integration_e = {
save_temporary_scope_as = title_to_check
OR = {
custom_tooltip = {
text = control_the_entirity_of_title_tt
AND = {
de_jure_drift_progress = {
target = root.primary_title
value > 0
}
root = { completely_controls = scope:title_to_check }
}
}
holder = root
}
custom_tooltip = {
text = not_already_de_jure_your_title_tt
NOR = {
this = root.primary_title
root.primary_title = {
is_de_jure_liege_or_above_target = scope:title_to_check
}
}
}
}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_e.
Decisions (1)
Events (1)
- Legendary Integration
ce1_decision_events.1015
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.