Scripted trigger · All Under Heaven files
is_a_previous_title_holder_trigger
is_a_previous_title_holder_trigger = { TITLE = … }game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 75 (14 lines). Parameters: $TITLE$.
is_a_previous_title_holder_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 75 of its file. A call passes 1 parameter: TITLE. The game's script calls it in 1 place, among them target_shares_nearest_related_title_holder_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (14 lines of game script)
is_a_previous_title_holder_trigger = {
save_temporary_scope_as = previous_holder_compare
$TITLE$ ?= {
# Easy out
trigger_if = {
limit = { previous_holder ?= scope:previous_holder_compare }
always = yes
}
# Hard out
trigger_else = {
any_past_holder = { this = scope:previous_holder_compare }
}
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_a_previous_title_holder_trigger.
Scripted triggers (1)
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.