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

tournament_contest_event_trigger

tournament_contest_event_trigger = yes

game/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 370 (6 lines). No parameters.

tournament_contest_event_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 370 of its file. It takes no parameters: tournament_contest_event_trigger = yes (or no). The game's script calls it in 8 places, among them contest_ongoing_event_archery_pivotal_pulse (on action), contest_ongoing_event_archery_random_pulse (on action) and contest_ongoing_event_horse_race_pivotal_pulse (on action). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.

What it checks

  • Is played by a person
  • is_in_guest_subset = { name = qualified }

• 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 (6 lines of game script)
tournament_contest_event_trigger = {
	is_ai = no
	is_in_guest_subset = { name = qualified }
	exists = var:progress_to_victory
	NOT = { has_character_flag = busy_in_contest_event }
}

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

On actions (the game's own hooks) (8)

  • contest_ongoing_event_archery_pivotal_pulse
  • contest_ongoing_event_archery_random_pulse
  • contest_ongoing_event_horse_race_pivotal_pulse
  • contest_ongoing_event_horse_race_random_pulse
  • contest_ongoing_event_melee_pivotal_pulse
  • contest_ongoing_event_melee_random_pulse
2 more
  • contest_ongoing_event_recital_pivotal_pulse
  • contest_ongoing_event_recital_random_pulse

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?