Scripted trigger · By God Alone files
can_send_make_external_ruler_puppet_trigger
can_send_make_external_ruler_puppet_trigger = { ACTOR = … RECIPIENT = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 7108 (149 lines). Parameters: $ACTOR$, $RECIPIENT$.
can_send_make_external_ruler_puppet_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 7108 of its file. A call passes 2 parameters: ACTOR and RECIPIENT. The game's script calls it in 2 places, among them Negotiate Release (interaction) and Puppet Secular Ruler (interaction). Its body carries 4 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- At least one of these: You are a Clerical Vassal of … · You are a Seducer and … is your Lover, or your Soulmate if … is of King rank or higher · You are a Torturer and hold … in your Dungeon · You are Family Hierarch and … is in your House · You are a Diplomat and … is your Ally · You are a Schemer and have a Hook on …, or a Strong Hook if … is of King rank or higher · You are a Gallant and … is your Spouse · You are a Diarch of … in an Entrenched Regency · You are … Head of Faith, Challenger Head of Faith, or Head of Rite
$ACTOR$ = { … }
• 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 (120 lines of game script)
can_send_make_external_ruler_puppet_trigger = {
custom_tooltip = {
text = make_external_ruler_puppet_tt
OR = {
$ACTOR$ = {
is_clergy = yes
is_vassal_of = $RECIPIENT$
}
AND = {
$ACTOR$ = {
has_trait = seducer
}
trigger_if = {
limit = {
$RECIPIENT$ = {
highest_held_title_tier >= tier_kingdom
}
}
$RECIPIENT$ = {
has_relation_soulmate = $ACTOR$
}
}
trigger_else = {
$RECIPIENT$ = {
has_relation_lover = $ACTOR$
}
}
}
AND = {
$ACTOR$ = {
has_trait = torturer
}
$RECIPIENT$ = {
is_imprisoned_by = $ACTOR$
is_in_prison_type = dungeon
}
}
AND = {
$ACTOR$ = {
has_trait = family_first
}
$RECIPIENT$ = {
is_close_family_of = $ACTOR$
}
}
$ACTOR$ = {
has_trait = schemer
trigger_if = {
limit = {
$RECIPIENT$ = {
highest_held_title_tier >= tier_kingdom
}
}
has_strong_hook = $RECIPIENT$
}
trigger_else = {
has_hook = $RECIPIENT$
}
}
$ACTOR$ = {
has_trait = diplomat
is_allied_to = $RECIPIENT$
}
AND = {
$ACTOR$ = {
has_trait = gallant
}
$RECIPIENT$ = {
is_spouse_of = $ACTOR$
}
}
AND = {
$ACTOR$ = {
is_diarch_of_target = $RECIPIENT$
}
$RECIPIENT$ = {
has_diarchy_parameter = diarchy_type_is_entrenched_regency
}
}
AND = {
exists = $RECIPIENT$.religious_head_or_challenger
$RECIPIENT$.religious_head_or_challenger = $ACTOR$
}
AND = {
exists = $RECIPIENT$.rite.head_of_rite
$RECIPIENT$.rite.head_of_rite = $ACTOR$
}
}
}
$ACTOR$ = {
trigger_if = {
limit = {
$RECIPIENT$ = {
highest_held_title_tier >= tier_empire
}
}
custom_tooltip = {
text = pam_empire_dread_or_strong_hook_tt
OR = {
has_strong_hook = $RECIPIENT$
$RECIPIENT$ = {
has_dread_level_towards = {
target = $ACTOR$
level >= 2
}
}
$RECIPIENT$.religious_head_or_challenger ?= $ACTOR$
}
}
}
trigger_else_if = {
limit = {
$RECIPIENT$ = {
highest_held_title_tier >= tier_kingdom
}
}
custom_tooltip = {
text = piety_level_4_dread_or_strong_hook_tt
OR = {
piety_level >= 4As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
The first 120 of its 149 lines; the rest is in game/common/scripted_triggers/pam_scripted_triggers.txt from line 7108.
Where it is used
Every place in common/, events/ and history/ that calls can_send_make_external_ruler_puppet_trigger.
Character interactions (2)
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.