Scripted trigger · Tours and Tournaments files
horse_archer_attribute_acceptable_trigger
horse_archer_attribute_acceptable_trigger = yesgame/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 1003 (32 lines). No parameters.
horse_archer_attribute_acceptable_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 1003 of its file. It takes no parameters: horse_archer_attribute_acceptable_trigger = yes (or no). The game's script calls it in 1 place, among them Horse Archer (accolade types). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
What it checks
One of these
- Hastiluder (horse) experience at least 20
or
Hastiluder (bow) experience at least 20or
Has the Trait: Flexible Leaderor
Martial at least 12
One of these
- Their culture:
One of these
- The Culture has the Can recruit Horse Archers as Men-at-Arms Tradition
or
The Culture has the Can recruit Mangudai as Men-at-Arms Traditionor
The Culture has the Can recruit Emishi Riders as Men-at-Arms Traditionor
The Culture has the Can recruit Mounted Samurai as Men-at-Arms Traditionor
The Culture has the Can recruit Cataphract Archers as Men-at-Arms Tradition
or
Their culture: The Culture has the Can recruit Cataphract Archers as Men-at-Arms Traditionor
Government is Nomadicor
Has the Trait: Way of the Nomad
- Their culture:
• 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 (32 lines of game script)
horse_archer_attribute_acceptable_trigger = {
OR = {
has_trait_xp = {
trait = tourney_participant
track = horse
value >= 20
}
has_trait_xp = {
trait = tourney_participant
track = bow
value >= 20
}
has_trait = flexible_leader
martial >= decent_skill_rating
}
OR = {
culture ?= {
OR = {
has_cultural_parameter = unlock_maa_horse_archers
has_cultural_parameter = unlock_maa_mangudai
has_cultural_parameter = unlock_emishi_horse_archers_units
has_cultural_parameter = unlock_mounted_samurai_units
has_cultural_parameter = unlock_maa_cataphract_archers
}
}
culture ?= {
has_cultural_parameter = unlock_maa_cataphract_archers
}
government_has_flag = government_is_nomadic
has_trait = nomadic_philosophy
}
}As written in game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls horse_archer_attribute_acceptable_trigger.
Accolade types (1)
- Horse Archer
Source: game/common/scripted_triggers/04_ep2_accolade_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.