Scripted trigger · Tours and Tournaments files
tournament_contest_wager_trigger
tournament_contest_wager_trigger = { CONTEST = … }game/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 140 (19 lines). Parameters: $CONTEST$.
tournament_contest_wager_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 140 of its file. A call passes 1 parameter: CONTEST. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
has_current_phase = tournament_phase_$CONTEST$None of these
- Any guest subset:
name = winnerphase = tournament_phase_$CONTEST$
- Any guest subset:
- Guest subset current phase (at least 3):
name = qualified
If
a check the game hides
Then
- Contest versus progress at most 3
• 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)
tournament_contest_wager_trigger = {
AND = {
has_current_phase = tournament_phase_$CONTEST$
NOT = {
any_guest_subset = {
name = winner
phase = tournament_phase_$CONTEST$
}
}
}
any_guest_subset_current_phase = {
name = qualified
count >= 3
}
trigger_if = {
limit = { exists = var:contest_versus_progress }
var:contest_versus_progress <= 3
}
}As written in game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.