Scripted effect
lease_to_monastic_order_interaction_effect
lease_to_monastic_order_interaction_effect = yesgame/common/scripted_effects/00_religious_interaction_effects.txt, line 1892 (143 lines). No parameters.
lease_to_monastic_order_interaction_effect is a scripted effect in Crusader Kings III, written at line 1892 of its file. It takes no parameters: lease_to_monastic_order_interaction_effect = yes. The game's script calls it in 2 places, among them Bestow a Monastery (interaction) and holy_order.2040 (event). Its body carries 4 texts 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:target:lease_out_to_holy_order = scope:monastic_order- Their county › scope:puppet_or_actor: … gains Integrating Monastics for 5 years
scope:puppet_or_actor:If
- scope:puppet_or_actor.faith › Any faith holy order:
leader = scope:recipientNOT = { holy_order_range_trigger = { CHARACTER = scope:puppet_or_actor } }
Then
- scope:puppet_or_actor: … will enter Order Vicinity, enabling their Interactions
- scope:puppet_or_actor.faith › Any faith holy order:
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)
lease_to_monastic_order_interaction_effect = {
scope:target = {
lease_out_to_holy_order = scope:monastic_order
county = {
save_scope_as = target_county
scope:puppet_or_actor = {
custom_tooltip = new_monastic_county_modifier_tt
}
hidden_effect = {
add_county_modifier = {
modifier = new_monastic_county_modifier
years = 5
}
}
}
}
scope:puppet_or_actor = {
change_spiritual_fulfillment = {
value = massive_spiritual_fulfillment_value
if = {
limit = {
scope:huge_donation ?= yes
}
multiply = 1.5
}
#It's less of a sacrifice the bigger your domain is... and you know it
multiply = 1.2
every_held_title = {
limit = {
tier = tier_county
is_landless_type_title = no
}
multiply = 0.85
}
if = {
limit = {
has_trait = cynical
}
multiply = 0.75
}
if = {
limit = {
has_trait = zealous
}
multiply = 1.25
}
if = {
limit = {
scope:recipient.holy_order.title ?= {
has_variable = ascetic_order_founder
var:ascetic_order_founder = scope:puppet_or_actor
}
}
multiply = 2
}
min = minor_spiritual_fulfillment_value
}
add_piety = {
value = major_piety_gain
if = {
limit = {
scope:huge_donation ?= yes
}
add = {
value = major_piety_gain
}
}
}
if = {
limit = {
scope:huge_donation ?= yes
}
pay_short_term_gold = {
gold = monastic_donation_value
target = scope:recipient
}
if = {
limit = {
NOT = {
scope:target_county = {
has_county_modifier = monastic_onslaught_modifier
}
}
}
custom_tooltip = {
text = monastic_onslaught_modifier_tt
scope:target_county = {
add_county_modifier = {
modifier = monastic_onslaught_modifier
years = 20
}
}
}
}
}
}
#Holy Order will now be in interaction range
if = {
limit = {
scope:puppet_or_actor.faith = {
any_faith_holy_order = {
leader = scope:recipient
NOT = { holy_order_range_trigger = { CHARACTER = scope:puppet_or_actor } }
}
}
}
scope:puppet_or_actor = {
custom_tooltip = monastic_order_entering_interaction_range_tt
}
}
#Holy order leader gains opinion
scope:recipient = {
add_opinion = {
target = scope:puppet_or_actor
modifier = monastic_donation_opinion
opinion = {
value = 30
if = {As written in game/common/scripted_effects/00_religious_interaction_effects.txt.
The first 120 of its 143 lines; the rest is in game/common/scripted_effects/00_religious_interaction_effects.txt from line 1892.
Where it is used
Every place in common/, events/ and history/ that calls lease_to_monastic_order_interaction_effect.
Character interactions (1)
Events (1)
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.