CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · Tours and Tournaments files

activity_tournament_armor_trigger

activity_tournament_armor_trigger = yes

game/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_melee
          • or

            has_current_phase = tournament_phase_duel
          • or

            has_current_phase = tournament_phase_joust
    • or

      All of these

• 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.

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.

Spotted a mistake on this page?