Scripted trigger · Tours and Tournaments files
tournament_pertinent_contestant_trigger
tournament_pertinent_contestant_trigger = yesgame/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 486 (19 lines). No parameters.
tournament_pertinent_contestant_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 486 of its file. It takes no parameters: tournament_pertinent_contestant_trigger = yes (or no). The game's script calls it in 5 places, among them … …: … and … (event contest_events.0810), …: Endgame (event contest_events.0873) and …: Steel on Steel (event contest_events.0872). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
One of these
root.var:contest_murder_attempt ?= thisor
has_any_good_relationship_with_character_trigger = { CHARACTER = root }or
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }or
is_consort_of = rootor
is_close_family_of = rootor
All of these
has_court_position = champion_court_positionliege = root
or
is_knight_of = rootor
All of these
exists = root.househouse ?= root.house
or
root.var:tournament_wager_target ?= this
• 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_pertinent_contestant_trigger = {
OR = {
root.var:contest_murder_attempt ?= this
has_any_good_relationship_with_character_trigger = { CHARACTER = root }
has_any_bad_relationship_with_character_trigger = { CHARACTER = root }
is_consort_of = root
is_close_family_of = root
AND = {
has_court_position = champion_court_position
liege = root
}
is_knight_of = root
AND = {
exists = root.house
house ?= root.house
}
root.var:tournament_wager_target ?= this
}
}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_pertinent_contestant_trigger.
Events (5)
- … …: … and …
contest_events.0810 - …: Endgame
contest_events.0873 - …: Steel on Steel
contest_events.0872 - …: Striking Home
contest_events.0870 - …: Toss-up
contest_events.0871
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.