Scripted trigger · All Under Heaven files
tgp_primary_title_is_ministry
tgp_primary_title_is_ministry = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 121 (13 lines). No parameters.
tgp_primary_title_is_ministry is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 121 of its file. It takes no parameters: tgp_primary_title_is_ministry = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
One of these
- Their primary title is Chancellery
or
Their primary title is Censorateor
Their primary title is Commissionor
Their primary title is Ministry of Personnelor
Their primary title is Ministry of Revenueor
Their primary title is Ministry of Ritesor
Their primary title is Ministry of Waror
Their primary title is Ministry of Justiceor
Their primary title is Ministry of Works
• 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 (13 lines of game script)
tgp_primary_title_is_ministry = {
OR = {
primary_title ?= title:e_minister_chancellor
primary_title ?= title:e_minister_censor
primary_title ?= title:e_minister_grand_marshal
primary_title ?= title:e_minister_of_personnel
primary_title ?= title:e_minister_of_revenue
primary_title ?= title:e_minister_of_rites
primary_title ?= title:e_minister_of_war
primary_title ?= title:e_minister_of_justice
primary_title ?= title:e_minister_of_works
}
}As written in game/common/scripted_triggers/10_tgp_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.