Scripted trigger · Tours and Tournaments files
vanguard_attribute_trigger
vanguard_attribute_trigger = yesgame/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 322 (49 lines). No parameters.
vanguard_attribute_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 322 of its file. It takes no parameters: vanguard_attribute_trigger = yes (or no). The game's script calls it in 2 places, among them knight_qualify_for_accolade (combat phase events) and Vanguard (accolade types). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
What it checks
- Any of these: The Acclaimed Knight is Strong · The Acclaimed Knight is Athletic · The Acclaimed Knight has either Hale, Robust or Herculean · Acclaimed Knight's Hastiluder Foot Trait Experience is 30 or higher · May become available when the Acclaimed Knight fights a Battle alongside any Heavy Infantry Men-at-Arms
- Any of these: The Acclaimed Knight's Culture has either the Quilted Armor, Sarawit or Legionnaires Innovation · The Acclaimed Knight's Culture has either Coastal Warriors, Hirds, Futuwaa, Druzhina, Khadga Puja, Garuda Warriors, Himalayan Settlers, Mubarizun, Royal Army or Mountaineer Ruralism Cultural Tradition
- Accolade has not already specialized in a Men-at-Arms-type Accolade Attribute
• 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 (49 lines of game script)
vanguard_attribute_trigger = {
custom_tooltip = {
text = vanguard_attribute.unlock_tt
OR = {
var:vanguard_attribute_unlock ?= yes
has_trait = strong
has_trait = athletic
has_trait = physique_good
has_trait_xp = {
trait = tourney_participant
track = foot
value >= 30
}
}
}
custom_tooltip = {
text = vanguard_attribute.unlock_tt_2
culture ?= {
OR = {
has_innovation = innovation_quilted_armor
has_cultural_tradition = tradition_fp1_coastal_warriors
has_cultural_tradition = tradition_hird
has_cultural_tradition = tradition_futuwaa
has_cultural_tradition = tradition_druzhina
has_cultural_tradition = tradition_khadga_puja
has_cultural_tradition = tradition_garuda_warriors
has_cultural_tradition = tradition_himalayan_settlers
has_cultural_tradition = tradition_mubarizuns
has_cultural_tradition = tradition_burman_royal_army
has_cultural_tradition = tradition_mountaineer_ruralism
has_innovation = innovation_sarawit
has_innovation = innovation_legionnaires
has_cultural_parameter = unlock_zhanmadao
has_cultural_parameter = unlock_burenjia
}
}
}
custom_tooltip = {
text = single_maa_attribute_allowance
trigger_if = {
limit = {
exists = accolade
}
accolade = {
NOT = { has_accolade_category = men_at_arms }
}
}
}
}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 vanguard_attribute_trigger.
Accolade types (1)
- Vanguard
Combat phase events (1)
- knight_qualify_for_accolade
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.