Scripted trigger · All Under Heaven files
is_merit_based_official
is_merit_based_official = yesgame/common/scripted_triggers/10_tgp_triggers.txt, line 934 (17 lines). No parameters.
is_merit_based_official is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 934 of its file. It takes no parameters: is_merit_based_official = yes (or no). The game's script calls it in 1 place, among them The Prelude (event coronation_events.0200). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.
What it checks
- Government uses Merit
One of these
is_governor_or_admin_count = yesor
All of these
- Is a Councillor
NOT = { has_council_position = councillor_spouse }- Their liege:
or
tgp_is_ceremonial_regent_trigger = yes
• 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 (17 lines of game script)
is_merit_based_official = {
government_has_flag = government_has_merit
OR = {
is_governor_or_admin_count = yes
AND = {
is_councillor = yes
NOT = { has_council_position = councillor_spouse }
liege = {
OR = {
is_landed = yes # to exclude councilors of landless noble family heads
highest_held_title_tier >= tier_empire # for councilors of ministers
}
}
}
tgp_is_ceremonial_regent_trigger = yes
}
}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_merit_based_official.
Events (1)
- The Prelude
coronation_events.0200
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.