Scripted trigger · Tours and Tournaments files
tournament_contest_can_compete_race_trigger
tournament_contest_can_compete_race_trigger = yesgame/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 440 (15 lines). No parameters.
tournament_contest_can_compete_race_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 440 of its file. It takes no parameters: tournament_contest_can_compete_race_trigger = yes (or no). The game's script calls it in 1 place, among them tournament_contest_race_composition_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
- Is an Adult
One of these
- Not: Is Lowborn
or
All of these
is_playable_character = yesprimary_title.tier >= tier_county
or
gold >= major_gold_value
NOT = { 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 (15 lines of game script)
tournament_contest_can_compete_race_trigger = {
is_adult = yes
exists = var:progress_to_victory
OR = {
is_lowborn = no
AND = {
is_playable_character = yes
primary_title.tier >= tier_county
}
gold >= major_gold_value
}
NOT = {
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 tournament_contest_can_compete_race_trigger.
Scripted effects (1)
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.