Scripted effect · By God Alone files
save_most_suitable_monastic_leader_effect
save_most_suitable_monastic_leader_effect = yesgame/common/scripted_effects/pam_effects.txt, line 798 (104 lines). No parameters.
save_most_suitable_monastic_leader_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 798 of its file. It takes no parameters: save_most_suitable_monastic_leader_effect = yes. The game's script calls it in 1 place, among them Negotiate Release (interaction). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (104 lines of game script)
save_most_suitable_monastic_leader_effect = {
#Patronized by puppet_or_actor
random_faith_holy_order = {
limit = {
take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor }
holy_order_patron = scope:puppet_or_actor
}
leader = {
save_scope_as = archabbot
}
}
#leases from puppet_or_actor
if = {
limit = {
NOT = {
exists = scope:archabbot
}
}
random_faith_holy_order = {
limit = {
take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor }
any_leased_title = {
county.holder ?= scope:puppet_or_actor
}
}
leader = {
save_scope_as = archabbot
}
}
}
#patronized by puppet_or_actor's superior
if = {
limit = {
NOT = {
exists = scope:archabbot
}
}
random_faith_holy_order = {
limit = {
take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor }
holy_order_patron = {
is_liege_or_above_of = scope:puppet_or_actor
}
}
leader = {
save_scope_as = archabbot
}
}
}
#in same realm as puppet_or_actor
if = {
limit = {
NOT = {
exists = scope:archabbot
}
}
random_faith_holy_order = {
limit = {
take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor }
any_leased_title = {
county.holder.top_liege ?= scope:puppet_or_actor.top_liege
}
}
leader = {
save_scope_as = archabbot
}
}
}
#in diplo range of puppet_or_actor
if = {
limit = {
NOT = {
exists = scope:archabbot
}
}
random_faith_holy_order = {
limit = {
take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor }
leader = {
in_diplomatic_range = scope:puppet_or_actor
}
}
leader = {
save_scope_as = archabbot
}
}
}
#any order
if = {
limit = {
NOT = {
exists = scope:archabbot
}
}
random_faith_holy_order = {
limit = {
take_the_vows_valid_monastic_order_trigger = { CHARACTER = scope:puppet_or_actor }
}
leader = {
save_scope_as = archabbot
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls save_most_suitable_monastic_leader_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.