Scripted trigger · All Under Heaven files
is_civilian_candidate_trigger
is_civilian_candidate_trigger = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 313 (11 lines). No parameters.
is_civilian_candidate_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 313 of its file. It takes no parameters: is_civilian_candidate_trigger = yes (or no). The game's script calls it in 1 place, among them Ask for Governorship (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
The comment above it in the file
Civilian/military triggers
What it checks
- If has “appointment trait override” (a variable the game's script sets): Appointment trait override is trait:education stewardship 1
- Otherwise: Has one of the traits: Amateurish Plotter, Flamboyant Trickster, Intricate Webweaver, Elusive Shadow, Conniving Puppetmaster, Naive Appeaser, Adequate Bargainer, Charismatic Negotiator, Gray Eminence, Virtuoso Arbitrator, Indulgent Wastrel, Thrifty Clerk, Fortune Builder, Midas Touched, Golden Sovereign, Conscientious Scribe, Insightful Thinker, Astute Intellectual, Mastermind Philosopher, Erudite Oracle
• 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 (11 lines of game script)
is_civilian_candidate_trigger = {
trigger_if = {
limit = {
has_variable = appointment_trait_override
}
var:appointment_trait_override = trait:education_stewardship_1
}
trigger_else = {
has_trait_with_flag = civilian_province
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_civilian_candidate_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/10_tgp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.