Scripted trigger · Roads to Power files
petition_liege_vows_trigger
petition_liege_vows_trigger = yesgame/common/scripted_triggers/07_ep3_petition_triggers.txt, line 119 (27 lines). No parameters.
petition_liege_vows_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 119 of its file. It takes no parameters: petition_liege_vows_trigger = yes (or no). The game's script calls it in 2 places, among them Office Endorsement (event petition_liege.0121) and court_ceremonial_select_bribes_effect (local effect). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_petition_triggers.txt.
What it checks
- Is not a ruler
- Is not landed
- Is an Adult
- Is not married
number_of_concubines = 0- Their religion is the same as that of petition liege
- Their rite: The rite has Courtiers can Take the Vows and become a Monk
- scope:petition_vassal.rite: The rite has Courtiers can Take the Vows and become a Monk
- Does not have the Trait: Monk
Otherwise
always = 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 (27 lines of game script)
petition_liege_vows_trigger = {
is_ruler = no
is_landed = no
is_adult = yes
is_married = no
number_of_concubines = 0
religion = scope:petition_liege.religion
rite = { rite_has_parameter = take_vows_active }
scope:petition_vassal.rite = { rite_has_parameter = take_vows_active }
NOR = {
this = scope:petition_vassal.player_heir
has_trait = devoted
}
OR = {
has_trait = education_learning
learning >= medium_skill_rating
}
trigger_if = {
limit = { is_male = yes }
faith_dominant_gender_male_or_equal = yes
}
trigger_else_if = {
limit = { is_female = yes }
faith_dominant_gender_female_or_equal = yes
}
trigger_else = { always = yes }
}As written in game/common/scripted_triggers/07_ep3_petition_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_liege_vows_trigger.
Events (1)
- Office Endorsement
petition_liege.0121
Scripted effects inside an event file (1)
- court_ceremonial_select_bribes_effect
Source: game/common/scripted_triggers/07_ep3_petition_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.