Scripted trigger · Roads to Power files
petition_liege_knight_trigger
petition_liege_knight_trigger = yesgame/common/scripted_triggers/07_ep3_petition_triggers.txt, line 147 (12 lines). No parameters.
petition_liege_knight_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 147 of its file. It takes no parameters: petition_liege_knight_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
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:petition_liege }
• 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 (12 lines of game script)
petition_liege_knight_trigger = {
is_ruler = no
is_landed = no
is_adult = yes
NOT = { this = scope:petition_vassal.player_heir }
OR = {
has_trait = education_martial
has_trait = education_martial_prowess
prowess >= medium_skill_rating
}
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:petition_liege }
}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_knight_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.