Scripted trigger
court_position_petition_ai_weight_trigger
court_position_petition_ai_weight_trigger = { ROLE = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 1343 (4 lines). Parameters: $ROLE$.
court_position_petition_ai_weight_trigger is a scripted trigger in Crusader Kings III, written at line 1343 of its file. A call passes 1 parameter: ROLE. The game's script calls it in 49 places, among them Akolouthos (court position), Antiquarian (court position) and Bodyguard (court position). Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (4 lines of game script)
court_position_petition_ai_weight_trigger = {
scope:employee.var:petition_court_position_liege ?= scope:liege
scope:employee.var:petition_court_position_role ?= flag:$ROLE$
}As written in game/common/scripted_triggers/00_court_position_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls court_position_petition_ai_weight_trigger.
Court positions (49)
43 more
- Chief Qadi
- Court Artificer
- Court Brahmin
- Court Brewmaster
- Court Chronicler
- Court Gardener
- Court Jester
- Court Musician
- Court Poet
- Court Scholar
- Cultural Emissary
- Cup-Bearer
- Executioner
- Favored Minister
- Fire Dragon Engineer
- Food Taster
- Foreign Emissary
- Garden Hermit
- Garuda
- Grand Guardian
- Grand Mentor
- Grand Preceptor
- Guru
- High Almoner
- Keeper of the Harem
- Keeper of the Horses
- Keeper of the Swans
- Khlon Glan
- Lady-in-waiting
- Master Assassin
- Master of the Horse
- Master of the Hunt
- Noyan
- Personal Champion
- Personal Physician
- Royal Architect
- Seneschal
- Siege Engineer
- Stargazer
- Tutor
- Wet Nurse
- Yeke Jarquchi
- Yurtchi
Source: game/common/scripted_triggers/00_court_position_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.