Scripted trigger
is_governor_or_admin_count
is_governor_or_admin_count = yesgame/common/scripted_triggers/00_available_for_events_triggers.txt, line 911 (7 lines). No parameters.
is_governor_or_admin_count is a scripted trigger in Crusader Kings III, written at line 911 of its file. It takes no parameters: is_governor_or_admin_count = yes (or no). The game's script calls it in 24 places, among them Adopt Meritocratic Government (decision), Withdraw from Governorship (decision) and Boundary Dispute (Scheme) (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.
What it checks
- they has administrative government mechanic
- Is landed
- Is an Independent Ruler
- Highest held Title is at least County Rank
tgp_is_ceremonial_liege_trigger = no
• 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 (7 lines of game script)
is_governor_or_admin_count = {
government_has_mechanic = administrative
is_landed = yes
top_liege != this
highest_held_title_tier >= tier_county
tgp_is_ceremonial_liege_trigger = no
}As written in game/common/scripted_triggers/00_available_for_events_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_governor_or_admin_count.
Character interactions (2)
Important actions (3)
- Advice: Governor
- Advice: Governor's Council
- Advice: Treasury
Events (1)
- Secret Tunnels
ep3_emperor_yearly.2170
On actions (the game's own hooks) (4)
- on_building_completed
- on_game_start_after_lobby
- on_title_gain
- yearly_playable_pulse
Scripted effects (1)
Scripted triggers (2)
Script values (1)
- temp_num_qualifying_counties_count
Customizable localization (1)
- GetRealmOrDomicileTooltip
Council positions (4)
- Chancellor
- Marshal
- Spymaster
- Steward
Event backgrounds (2)
- throne_room
- throne_room_scope
Event themes (1)
- administrative
Source: game/common/scripted_triggers/00_available_for_events_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.