Scripted effect · Tours and Tournaments files
tournament_contest_disqualification_effect
tournament_contest_disqualification_effect = { DISQUALIFIED = … }game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 2743 (15 lines). Parameters: $DISQUALIFIED$.
tournament_contest_disqualification_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 2743 of its file. A call passes 1 parameter: DISQUALIFIED. The game's script calls it in 1 place, among them …: Sabotage (event tournament_events.6052). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
The comment above it in the file
Disqualify qualified contestant from contest
What it does
- They is disqualified from the … Contest
• 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_disqualification_effect = {
$DISQUALIFIED$ = { save_scope_as = disqualify_target }
scope:disqualify_target = {
remove_variable = contest_aptitude
remove_variable = progress_to_victory
add_character_flag = {
flag = disqualified_contest_flag
months = 2
}
}
custom_description = {
text = tournament_contest_disqualify_tt
subject = $DISQUALIFIED$
}
}As written in game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tournament_contest_disqualification_effect.
Events (1)
- …: Sabotage
tournament_events.6052
Source: game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.