Scripted trigger · The Northern Lords files
fp1_remove_stele_new_holder_trigger
fp1_remove_stele_new_holder_trigger = { NEW_HOLDER = … PREVIOUS_HOLDER = … TITLE = … }game/common/scripted_triggers/01_fp1_scripted_triggers.txt, line 94 (23 lines). Parameters: $NEW_HOLDER$, $PREVIOUS_HOLDER$, $TITLE$.
fp1_remove_stele_new_holder_trigger is a scripted trigger in Crusader Kings III, in the The Northern Lords files, written at line 94 of its file. A call passes 3 parameters: NEW_HOLDER, PREVIOUS_HOLDER and TITLE. The game's script calls it in 5 places, among them Grant Appointment (interaction), Grant Titles (interaction) and Transfer County (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/01_fp1_scripted_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (23 lines of game script)
fp1_remove_stele_new_holder_trigger = {
# Is there a rogue stone around?
$TITLE$ = { exists = var:stele_commissioner }
# And would the new holder want to tear down the stele?
$NEW_HOLDER$ = {
OR = {
AND = {
exists = dynasty
# E.g., because they're a different family and won't maintain it.
NOT = { dynasty = $PREVIOUS_HOLDER$.dynasty }
}
# Or because they're a subject of the runestone, which means it's memorialising their defeat.
## ... Unless they're a ghost. Damned proctors, I guess.
AND = {
exists = $TITLE$.var:stele_container
exists = $TITLE$.var:stele_scope_type
# Remember not to compare a character with a title.
$TITLE$.var:stele_scope_type = flag:character
this = $TITLE$.var:stele_container
}
}
}
}As written in game/common/scripted_triggers/01_fp1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp1_remove_stele_new_holder_trigger.
Character interactions (3)
Events (1)
On actions (the game's own hooks) (1)
- on_title_gain
Source: game/common/scripted_triggers/01_fp1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.