Scripted effect · By God Alone files
pam_enforce_title_succession_effect
pam_enforce_title_succession_effect = yesgame/common/scripted_effects/pam_effects.txt, line 11497 (34 lines). No parameters.
pam_enforce_title_succession_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 11497 of its file. It takes no parameters: pam_enforce_title_succession_effect = yes. The game's script calls it in 1 place, among them Request Enforced Succession (interaction). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
NOT = { scope:enforced_heir = scope:succession_holder }
Then
scope:succession_title:change_title_holder_include_vassals = { holder = scope:enforced_heir change = scope:succession_title_change }
If
- scope:succession_holder: Is played by the AI
Then
- scope:succession_holder: Opinion: Meddling in my Succession
• 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 (34 lines of game script)
pam_enforce_title_succession_effect = {
scope:target = { save_scope_as = succession_title }
scope:target.holder = { save_scope_as = succession_holder }
scope:succession_title = {
current_heir = { save_scope_as = enforced_heir }
}
if = {
limit = {
exists = scope:enforced_heir
NOT = { scope:enforced_heir = scope:succession_holder }
}
create_title_and_vassal_change = {
type = stepped_down
save_scope_as = succession_title_change
add_claim_on_loss = no
}
scope:succession_title = {
change_title_holder_include_vassals = {
holder = scope:enforced_heir
change = scope:succession_title_change
}
}
resolve_title_and_vassal_change = scope:succession_title_change
}
if = {
limit = { scope:succession_holder = { is_ai = yes } }
scope:succession_holder = {
add_opinion = {
target = scope:actor
modifier = meddling_church_opinion
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_enforce_title_succession_effect.
Character interactions (1)
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.