Scripted trigger
petition_liege_council_seat_liege_trigger
petition_liege_council_seat_liege_trigger = yesgame/common/scripted_triggers/00_activity_triggers.txt, line 56 (44 lines). No parameters.
petition_liege_council_seat_liege_trigger is a scripted trigger in Crusader Kings III, written at line 56 of its file. It takes no parameters: petition_liege_council_seat_liege_trigger = yes (or no). The game's script calls it in 7 places, among them Petition the … (decision), Eminent Eunuch: Another Voice (event ep3_story_cycle_admin_eunuch.2041) and Eminent Eunuch: Powerful Counsel (event ep3_story_cycle_admin_eunuch.2044). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.
The comment above it in the file
Council Seat
What it checks
- Their liege:
One of these
cp:councillor_chancellor:NOT = { is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege } }
or
cp:councillor_marshal:NOT = { is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege } }
or
cp:councillor_steward:NOT = { is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege } }
or
cp:councillor_spymaster:NOT = { is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege } }
or
If
root.faith = root.liege.faith
Then
- Your rite: Has the Temporal, Revocable Doctrine
cp:councillor_court_chaplain:NOT = { is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege } }
or
NOT = { exists = cp:councillor_chancellor }or
NOT = { exists = cp:councillor_marshal }or
NOT = { exists = cp:councillor_steward }or
NOT = { exists = cp:councillor_spymaster }or
• 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 (44 lines of game script)
petition_liege_council_seat_liege_trigger = {
liege ?= {
OR = {
cp:councillor_chancellor ?= {
NOT = {
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege }
}
}
cp:councillor_marshal ?= {
NOT = {
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege }
}
}
cp:councillor_steward ?= {
NOT = {
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege }
}
}
cp:councillor_spymaster ?= {
NOT = {
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege }
}
}
trigger_if = {
limit = { root.faith = root.liege.faith }
root.rite = { rite_has_doctrine = doctrine_clerical_succession_temporal_appointment }
cp:councillor_court_chaplain ?= {
NOT = {
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = root.liege }
}
}
}
NOT = { exists = cp:councillor_chancellor }
NOT = { exists = cp:councillor_marshal }
NOT = { exists = cp:councillor_steward }
NOT = { exists = cp:councillor_spymaster }
trigger_if = {
limit = { root.faith = root.liege.faith }
root.rite = { rite_has_doctrine = doctrine_clerical_succession_temporal_appointment }
NOT = { exists = cp:councillor_court_chaplain }
}
}
}
}As written in game/common/scripted_triggers/00_activity_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_liege_council_seat_liege_trigger.
Decisions (1)
Events (6)
- Eminent Eunuch: Another Voice
ep3_story_cycle_admin_eunuch.2041 - Eminent Eunuch: Powerful Counsel
ep3_story_cycle_admin_eunuch.2044 - Eminent Eunuch: Seat at the Table
ep3_story_cycle_admin_eunuch.2040 - ep3_story_cycle_admin_eunuch.2042
- petition_liege.9000
- Petition: Switching Tactics
petition_liege.9001
Source: game/common/scripted_triggers/00_activity_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.