Scripted trigger
this_is_diplomatic_society_trigger
this_is_diplomatic_society_trigger = yesgame/common/scripted_triggers/00_elective_triggers.txt, line 65 (12 lines). No parameters.
this_is_diplomatic_society_trigger is a scripted trigger in Crusader Kings III, written at line 65 of its file. It takes no parameters: this_is_diplomatic_society_trigger = yes (or no). The game's script calls it in 5 places, among them elector_voting_pattern_circumstances_feudal_elective_modifier (scripted modifier), elector_voting_pattern_circumstances_gaelic_elective_modifier (scripted modifier) and elector_voting_pattern_circumstances_tribal_elective_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_elective_triggers.txt.
What it checks
One of these
- Government is Feudal
or
Government is unplayableor
Government is a Theocratic-type Government
One of these
- Their rite: The rite has the tenet Communal Identity
or
Their rite: The rite has the tenet Alexandrian Catechismor
Their rite: The rite has the tenet Legalism
• 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)
this_is_diplomatic_society_trigger = {
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_republic
government_has_flag = government_is_theocracy
}
OR = {
rite = { rite_has_tenet = tenet_communal_identity }
rite = { rite_has_tenet = tenet_alexandrian_catechism }
rite = { rite_has_tenet = tenet_legalism }
}
}As written in game/common/scripted_triggers/00_elective_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls this_is_diplomatic_society_trigger.
Scripted modifiers (AI weights) (5)
- elector_voting_pattern_circumstances_feudal_elective_modifier
- elector_voting_pattern_circumstances_gaelic_elective_modifier
- elector_voting_pattern_circumstances_tribal_elective_modifier
- elector_voting_pattern_theocratic_elective_modifier
- elector_voting_pattern_traits_feudal_elective_modifier
Source: game/common/scripted_triggers/00_elective_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.