Scripted trigger
culture_has_pikemen_maa
culture_has_pikemen_maa = yesgame/common/scripted_triggers/00_cultural_triggers.txt, line 281 (10 lines). No parameters.
culture_has_pikemen_maa is a scripted trigger in Crusader Kings III, written at line 281 of its file. It takes no parameters: culture_has_pikemen_maa = yes (or no). The game's script calls it in 13 places, among them Defensive Tactics (tradition), Formation Fighting Experts (tradition) and Frugal Armorers (tradition). Patch 1.20.1.2, from game/common/scripted_triggers/00_cultural_triggers.txt.
What it checks
One of these
- Their Culture has the Can recruit Zupin Spearmen as Men-at-Arms Tradition
or
Their Culture has the Can recruit Warrior Monks as Men-at-Arms Traditionor
has_innovation = innovation_rectilinear_schiltronor
has_innovation = innovation_pike_columnsor
has_innovation = innovation_zweihandersor
Their Culture has the Can recruit Skoutatoi as Men-at-Arms Tradition
• 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 (10 lines of game script)
culture_has_pikemen_maa = { #I.e. Spearmen
OR = {
has_cultural_parameter = unlock_maa_zupin_warrior
has_cultural_parameter = unlock_warrior_monk_units
has_innovation = innovation_rectilinear_schiltron #Schiltron - Later Era MAA
has_innovation = innovation_pike_columns #Picchieri - Later Era MAA
has_innovation = innovation_zweihanders #Later Era MAA
has_cultural_parameter = unlock_maa_skoutatoi
}
}As written in game/common/scripted_triggers/00_cultural_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls culture_has_pikemen_maa.
Cultural traditions (6)
Events (2)
- Conqueror: Bolstered Ranks
conqueror.1100 - Martial Exercise
ep1_flavor.2000
Scripted effects inside an event file (1)
- ep1_flavor_2000_type_effect
Scripted effects (1)
Scripted triggers (1)
Script values (1)
- culture_ai_weight_pikemen
Scripted modifiers (AI weights) (1)
- ai_pikemen_modifier
Source: game/common/scripted_triggers/00_cultural_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.