Scripted trigger
this_is_martial_society_trigger
this_is_martial_society_trigger = yesgame/common/scripted_triggers/00_elective_triggers.txt, line 40 (24 lines). No parameters.
this_is_martial_society_trigger is a scripted trigger in Crusader Kings III, written at line 40 of its file. It takes no parameters: this_is_martial_society_trigger = yes (or no). The game's script calls it in 4 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
- Their rite:
- The rite does not have the tenet Pacifism
- The rite does not have the tenet Dharmic Pacifism
One of these
- Government is Clan
or
Government is a Tribal-type Governmentor
Government is unplayableor
Their government has the government is military holy order flagor
Their rite:One of these
- The rite has If one exists, the Head of Faith can declare a Great Holy War
or
The rite has If one exists, the Head of Faith can declare Great Holy Wars, provided this Faith is Organizedor
The rite has It costs Rulers of this Rite -20% less Piety to declare Holy Wars
or
Their culture: The culture has the tradition Bushidō
• 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 (24 lines of game script)
this_is_martial_society_trigger = {
rite = {
NOR = {
rite_has_tenet = tenet_pacifism
rite_has_tenet = tenet_dharmic_pacifism
}
}
OR = {
government_has_flag = government_is_clan
government_has_flag = government_is_tribal
government_has_flag = government_is_mercenary
government_has_flag = government_is_military_holy_order
rite = {
OR = {
rite_has_parameter = great_holy_wars_active
rite_has_parameter = great_holy_wars_active_if_reformed
rite_has_parameter = cheaper_holy_wars_active
}
}
culture = {
has_cultural_tradition = tradition_tgp_bushido
}
}
}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_martial_society_trigger.
Scripted modifiers (AI weights) (4)
- elector_voting_pattern_circumstances_feudal_elective_modifier
- elector_voting_pattern_circumstances_gaelic_elective_modifier
- elector_voting_pattern_circumstances_tribal_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.