Scripted effect
donate_to_monastic_order_effect
donate_to_monastic_order_effect = yesgame/common/scripted_effects/00_religious_interaction_effects.txt, line 1734 (158 lines). No parameters.
donate_to_monastic_order_effect is a scripted effect in Crusader Kings III, written at line 1734 of its file. It takes no parameters: donate_to_monastic_order_effect = yes. The game's script calls it in 3 places, among them Donate to Monastic Order (interaction), Donation: … (event holy_order.2030) and Last Rites: Flesh, Blood and Oil (event pam_decision_events.0007). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.
What it does
scope:puppet_or_actor:change_spiritual_fulfillment = { … }add_piety = { … }Otherwise
pay_short_term_gold = { … }
If
scope:ceremonial_humbling ?= yes
Then
- Gain -750 Prestige
- Level of Fame -1
- Gains the modifier “Monastic Intercession” for 5 years
- Character starting spiritual fulfillment +5
- Zealot Vassal Opinion +10
- Clergy Opinion +10
scope:recipient:- Opinion: Donated to My Order
dynastic_monks_gain_xp_effect = yes
• 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)
donate_to_monastic_order_effect = {
if = {
limit = { NOT = { exists = scope:puppet_or_actor } }
scope:actor = { save_scope_as = puppet_or_actor }
}
scope:puppet_or_actor = {
change_spiritual_fulfillment = {
value = major_spiritual_fulfillment_value
if = {
limit = {
scope:huge_donation ?= yes
}
add = {
value = major_spiritual_fulfillment_value
multiply = 1.5
}
}
if = {
limit = {
scope:ceremonial_humbling ?= yes
}
add = {
value = major_spiritual_fulfillment_value
multiply = 1.5
}
}
if = {
limit = {
scope:recipient.holy_order.title ?= {
has_variable = ascetic_order_founder
var:ascetic_order_founder = scope:puppet_or_actor
}
}
multiply = 2
}
if = {
limit = {
has_trait = cynical
}
multiply = 0.75
}
if = {
limit = {
has_trait = zealous
}
multiply = 1.25
}
}
add_piety = {
value = medium_piety_gain
if = {
limit = {
scope:huge_donation ?= yes
}
add = {
value = medium_piety_gain
multiply = 1.5
}
}
if = {
limit = {
scope:ceremonial_humbling ?= yes
}
add = {
value = medium_piety_gain
multiply = 2.5
}
}
}
if = {
limit = {
has_treasury = yes
government_has_flag = government_is_theocracy
}
pay_treasury_to_gold = {
value = {
value = 0
if = {
limit = {
scope:huge_donation ?= yes
}
add = monastic_huge_donation_treasury_value
}
else = {
add = monastic_donation_treasury_value
}
}
target = scope:recipient
}
}
else = {
pay_short_term_gold = {
gold = {
value = 0
if = {
limit = {
scope:huge_donation ?= yes
}
add = monastic_huge_donation_value
}
else = {
add = monastic_donation_value
}
}
target = scope:recipient
}
}
if = {
limit = {
scope:ceremonial_humbling ?= yes
}
add_prestige = massive_prestige_loss
add_prestige_level = -1
add_character_modifier = {
modifier = monastics_praying_for_grievous_sins_modifier
years = 5
}
}
}
As written in game/common/scripted_effects/00_religious_interaction_effects.txt.
The first 120 of its 158 lines; the rest is in game/common/scripted_effects/00_religious_interaction_effects.txt from line 1734.
Where it is used
Every place in common/, events/ and history/ that calls donate_to_monastic_order_effect.
Character interactions (1)
Events (2)
- Donation: …
holy_order.2030 - Last Rites: Flesh, Blood and Oil
pam_decision_events.0007
Source: game/common/scripted_effects/00_religious_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.