Scripted trigger · By God Alone files
realm_theocratic_county_share_ai_below_cap_trigger
realm_theocratic_county_share_ai_below_cap_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 6605 (12 lines). No parameters.
realm_theocratic_county_share_ai_below_cap_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 6605 of its file. It takes no parameters: realm_theocratic_county_share_ai_below_cap_trigger = yes (or no). The game's script calls it in 3 places, among them Ecclesiastical (government), Theocracy (government) and is_grant_government_valid (scripted rules). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
5+ counties so small dukes do not found theocracies When no theocratic vassal exists we skip the percent scan so this stays fast
What it checks
- Sub realm county (at least 5):
One of these
None of these
- Any vassal: Government is a Theocratic-type Government
or
Sub realm county (at least 10%) › Their holder: Government is a Theocratic-type Government
• 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 (12 lines of game script)
realm_theocratic_county_share_ai_below_cap_trigger = {
any_sub_realm_county = {
count >= 5
}
OR = {
NOT = { any_vassal = { government_has_flag = government_is_theocracy } }
any_sub_realm_county = {
percent < 0.10
holder = { government_has_flag = government_is_theocracy }
}
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls realm_theocratic_county_share_ai_below_cap_trigger.
Governments (2)
Scripted rules (1)
- is_grant_government_valid
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.