Scripted effect
take_vows_faith_opinion_effect
take_vows_faith_opinion_effect = yesgame/common/scripted_effects/00_holy_order_effects.txt, line 1340 (55 lines). No parameters.
take_vows_faith_opinion_effect is a scripted effect in Crusader Kings III, written at line 1340 of its file. It takes no parameters: take_vows_faith_opinion_effect = yes. The game's script calls it in 4 places, among them Ask to Join Military Order (interaction), Ask to Take Monastic Vows (interaction) and Ask to Take Vows (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_holy_order_effects.txt.
What it does
• 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 (55 lines of game script)
take_vows_faith_opinion_effect = {
if = {
limit = {
exists = cp:councillor_court_chaplain
scope:recipient = {
is_close_family_of = scope:puppet_or_actor
NOT = {
has_trait = bastard
}
}
}
cp:councillor_court_chaplain = {
add_opinion = {
target = scope:puppet_or_actor
modifier = pious_opinion
opinion = 20
}
}
}
#bastards
else_if = {
limit = {
exists = cp:councillor_court_chaplain
scope:recipient = {
is_close_family_of = scope:puppet_or_actor
}
}
cp:councillor_court_chaplain = {
add_opinion = {
target = scope:puppet_or_actor
modifier = pious_opinion
opinion = 10
}
}
}
if = {
limit = {
exists = faith.religious_head
faith.religious_head != scope:puppet_or_actor
scope:recipient = {
is_close_family_of = scope:puppet_or_actor
NOT = {
has_trait = bastard
}
}
}
faith.religious_head = {
add_opinion = {
target = scope:puppet_or_actor
modifier = pious_opinion
opinion = 10
}
}
}
}As written in game/common/scripted_effects/00_holy_order_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls take_vows_faith_opinion_effect.
Character interactions (3)
Scripted effects (1)
Source: game/common/scripted_effects/00_holy_order_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.