Scripted trigger · Tours and Tournaments files
would_want_to_attend_tournament
would_want_to_attend_tournament = yesgame/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 515 (24 lines). No parameters.
would_want_to_attend_tournament is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 515 of its file. It takes no parameters: would_want_to_attend_tournament = yes (or no). 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
If
is_playable_character = yes
Then
- Their government is not a Tribal-type Government
- Their government is not unplayable
Otherwise
- Is not a member of the Clergy
One of these
- Is played by a person
or
Has the Trait: Hastiluderor
Has the Trait: Students of Warfareor
Has the Trait: Students of Knighthoodor
Has the Trait: Gregariousor
Has the Trait: Braveor
Prowess at least 12or
has_court_position = champion_court_positionor
is_knight = yesor
Number of commander traits at least 1or
has_any_scripted_relation = scope:inviter
• 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 (24 lines of game script)
would_want_to_attend_tournament = {
trigger_if = {
limit = { is_playable_character = yes }
NOR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_mercenary
government_has_flag = government_is_holy_order
}
}
trigger_else = { is_clergy = no }
OR = {
is_ai = no
has_trait = tourney_participant
has_trait = education_martial
has_trait = education_martial_prowess
has_trait = gregarious
has_trait = brave
prowess >= decent_skill_rating
has_court_position = champion_court_position
is_knight = yes
number_of_commander_traits >= 1
has_any_scripted_relation = scope:inviter
}
}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.