CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

lease_to_monastic_order_interaction_effect

lease_to_monastic_order_interaction_effect = yes

game/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:
    • change_spiritual_fulfillment = { … }
    • add_piety = { … }
    • If

      • scope:huge_donation ?= yes

      Then

      • pay_short_term_gold = { gold = monastic_donation_value target = scope:recipient }
      • If

        • None of these

          • scope:target_county: The county has the modifier “Monastic Foundations”

        Then

        • … gains Monastic Foundations for 20 years
  • If

    • scope:puppet_or_actor.faith › Any faith holy order:

    Then

  • scope:recipient:

• 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.

Spotted a mistake on this page?