Scripted effect · Tours and Tournaments files
tournament_versus_dead_qualifier_effect
tournament_versus_dead_qualifier_effect = { SUBSET = … }game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 3187 (33 lines). Parameters: $SUBSET$.
tournament_versus_dead_qualifier_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 3187 of its file. A call passes 1 parameter: SUBSET. The game's script calls it in 1 place, among them tournament_versus_qualifier_death_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
What it does
- Depending on has current phase:
- When has current phase is Duel:
add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_duel target = scope:versus_match }
- When has current phase is Wrestling:
add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_wrestling target = scope:versus_match }
- When has current phase is Board Game:
add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_board_game target = scope:versus_match }
- When has current phase is Joust:
add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_joust target = scope:versus_match }
- When has current phase is Duel:
• 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 (33 lines of game script)
tournament_versus_dead_qualifier_effect = {
switch = {
trigger = has_current_phase
tournament_phase_duel = {
add_to_guest_subset = {
name = $SUBSET$
phase = tournament_phase_duel
target = scope:versus_match
}
}
tournament_phase_wrestling = {
add_to_guest_subset = {
name = $SUBSET$
phase = tournament_phase_wrestling
target = scope:versus_match
}
}
tournament_phase_board_game = {
add_to_guest_subset = {
name = $SUBSET$
phase = tournament_phase_board_game
target = scope:versus_match
}
}
tournament_phase_joust = {
add_to_guest_subset = {
name = $SUBSET$
phase = tournament_phase_joust
target = scope:versus_match
}
}
}
}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_versus_dead_qualifier_effect.
Scripted effects (1)
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.