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

Scripted trigger

barony_is_valid_for_monastic_order_lease_trigger

barony_is_valid_for_monastic_order_lease_trigger = { CHARACTER = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 1057 (28 lines). Parameters: $CHARACTER$.

barony_is_valid_for_monastic_order_lease_trigger is a scripted trigger in Crusader Kings III, written at line 1057 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 4 places, among them Justifying Divorce (event pam_interactions_events.0060), Last Rites: Flesh, Blood and Oil (event pam_decision_events.0007) and divorce_can_cause_holy_order_lease_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

What it checks

  • Their province:
    • has_holding_type = church_holding
  • If

    • holder.primary_title.tier != tier_barony

    Then

    • can_be_leased_out = yes
  • If

    • NOT = { holder = $CHARACTER$ }

    Then

    • holder.primary_title.tier = tier_barony
  • One of these

    • NOT = { is_leased_out = yes }
    • or

      lessee = { … }

• 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 (28 lines of game script)
barony_is_valid_for_monastic_order_lease_trigger = {
	title_province = {
		has_holding_type = church_holding
	}
	trigger_if = {
		limit = {
			holder.primary_title.tier != tier_barony
		}
		can_be_leased_out = yes
	}
	trigger_if = {
		limit = {
			NOT = { holder = $CHARACTER$ }
		}
		holder.primary_title.tier = tier_barony
	}
	OR = {
		NOT = {
			is_leased_out = yes
		}
		#Theocratic lessee
		lessee = {
			NOT = {
				government_has_flag = government_is_monastic_holy_order
			}
		}
	}
}

As written in game/common/scripted_triggers/00_religious_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls barony_is_valid_for_monastic_order_lease_trigger.

Source: game/common/scripted_triggers/00_religious_triggers.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?