Scripted trigger
barony_is_valid_for_holy_order_lease_trigger
barony_is_valid_for_holy_order_lease_trigger = { CHARACTER = … }game/common/scripted_triggers/00_religious_triggers.txt, line 1034 (23 lines). Parameters: $CHARACTER$.
barony_is_valid_for_holy_order_lease_trigger is a scripted trigger in Crusader Kings III, written at line 1034 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 9 places, among them Found Military Order (decision), A Bold Gesture (event coronation_events.1032) and holy_order.0202 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
- Their province:
One of these
has_holding_type = castle_holdingor
has_holding_type = city_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
NOT = { is_leased_out = 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 (23 lines of game script)
barony_is_valid_for_holy_order_lease_trigger = {
title_province = {
OR = {
has_holding_type = castle_holding
has_holding_type = city_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
}
NOT = {
is_leased_out = yes
}
}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_holy_order_lease_trigger.
Decisions (1)
Events (6)
- A Bold Gesture
coronation_events.1032 - holy_order.0202
- holy_order.0203
- holy_order.0204
- Justifying Divorce
pam_interactions_events.0060 - Last Rites: Flesh, Blood and Oil
pam_decision_events.0007
Scripted triggers (2)
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.