Scripted trigger · Tours and Tournaments files
accolade_has_unsuitable_maa_attribute_trigger
accolade_has_unsuitable_maa_attribute_trigger = yesgame/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 1568 (112 lines). No parameters.
accolade_has_unsuitable_maa_attribute_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 1568 of its file. It takes no parameters: accolade_has_unsuitable_maa_attribute_trigger = yes (or no). The game's script calls it in 1 place, among them Form Knightly Sellsword Band (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.
What it checks
One of these
All of these
has_accolade_type = archer_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = skirmisher_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = pike_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = outrider_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = vanguard_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = lancer_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = crossbowmen_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = besieger_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = camelry_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = elephantry_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = horse_archer_attributeaccolade_owner = { … }
or
All of these
has_accolade_type = gunpowder_attributeaccolade_owner = { … }
• 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 (112 lines of game script)
accolade_has_unsuitable_maa_attribute_trigger = {
OR = {
AND = {
has_accolade_type = archer_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = archers
value = 0
}
}
}
AND = {
has_accolade_type = skirmisher_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = skirmishers
value = 0
}
}
}
AND = {
has_accolade_type = pike_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = pikemen
value = 0
}
}
}
AND = {
has_accolade_type = outrider_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = light_cavalry
value = 0
}
}
}
AND = {
has_accolade_type = vanguard_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = heavy_infantry
value = 0
}
}
}
AND = {
has_accolade_type = lancer_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = heavy_cavalry
value = 0
}
}
}
AND = {
has_accolade_type = crossbowmen_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = archers
value = 0
}
}
}
AND = {
has_accolade_type = besieger_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = siege_weapon
value = 0
}
}
}
AND = {
has_accolade_type = camelry_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = camel_cavalry
value = 0
}
}
}
AND = {
has_accolade_type = elephantry_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = elephant_cavalry
value = 0
}
}
}
AND = {
has_accolade_type = horse_archer_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = archer_cavalry
value = 0
}
}
}
AND = {
has_accolade_type = gunpowder_attribute
accolade_owner = {
number_maa_regiments_of_base_type = {
type = gunpowder
value = 0
}
}
}
}
}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 accolade_has_unsuitable_maa_attribute_trigger.
Character interactions (1)
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.