Scripted trigger · All Under Heaven files
tgp_can_be_grand_marshal_trigger
tgp_can_be_grand_marshal_trigger = { COURT_OWNER = … }game/common/scripted_triggers/10_tgp_triggers.txt, line 235 (10 lines). Parameters: $COURT_OWNER$.
tgp_can_be_grand_marshal_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 235 of its file. A call passes 1 parameter: COURT_OWNER. The game's script calls it in 1 place, among them Grand Marshal (council positions). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
can_be_councillor_basics_trigger = yesOne of these
- Is not a ruler
or
Government is Celestial
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $COURT_OWNER$ }
• 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 (10 lines of game script)
tgp_can_be_grand_marshal_trigger = {
can_be_councillor_basics_trigger = yes
# Has to be celestial or a non-ruler
OR = {
is_ruler = no
government_has_flag = government_is_celestial
}
# Has to be able to lead armies
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = $COURT_OWNER$ }
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_can_be_grand_marshal_trigger.
Council positions (1)
- Grand Marshal
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.