Scripted trigger · Tours and Tournaments files
activity_tournament_armor_trigger
activity_tournament_armor_trigger = yesgame/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 160 (19 lines). No parameters.
activity_tournament_armor_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 160 of its file. It takes no parameters: activity_tournament_armor_trigger = yes (or no). The game's script calls it in 2 places, among them portrait_wear_armor_trigger (scripted trigger) and portrait_wear_helmet_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
- Their activity:
has_activity_type = activity_tournament
One of these
All of these
is_in_guest_subset = { name = qualified }- Their activity:
One of these
has_current_phase = tournament_phase_meleeor
has_current_phase = tournament_phase_duelor
has_current_phase = tournament_phase_joust
or
• 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 (19 lines of game script)
activity_tournament_armor_trigger = {
involved_activity ?= { has_activity_type = activity_tournament }
OR = {
AND = {
is_in_guest_subset = { name = qualified }
involved_activity = {
OR = {
has_current_phase = tournament_phase_melee
has_current_phase = tournament_phase_duel
has_current_phase = tournament_phase_joust
}
}
}
AND = {
has_character_modifier = ignores_gender_army_rules
is_in_guest_subset = { name = qualified }
}
}
}As written in game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls activity_tournament_armor_trigger.
Scripted triggers (2)
Source: game/common/scripted_triggers/04_ep2_tournament_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.