Scripted effect · Tours and Tournaments files
tournament_wounded_or_dead_contest_effect
tournament_wounded_or_dead_contest_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 3065 (27 lines). No parameters.
tournament_wounded_or_dead_contest_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 3065 of its file. It takes no parameters: tournament_wounded_or_dead_contest_effect = yes. The game's script calls it in 1 place, among them … …: … and … (event contest_events.0810). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
The comment above it in the file
List correct wound status for versus contests
What it does
- scope:activity › Depending on has current phase:
- When has current phase is Joust › scope:contest_loser:
tournament_wounded_or_dead_tooltip_effect = { CONTEST = joust }
- When has current phase is Wrestling › scope:contest_loser:
tournament_wounded_or_dead_tooltip_effect = { CONTEST = wrestling }
- When has current phase is Duel › scope:contest_loser:
tournament_wounded_or_dead_tooltip_effect = { CONTEST = duel }
- When has current phase is Board Game › scope:contest_loser:
tournament_wounded_or_dead_tooltip_effect = { CONTEST = board_game }
- When has current phase is Joust › scope:contest_loser:
• 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 (27 lines of game script)
tournament_wounded_or_dead_contest_effect = {
scope:activity = {
switch = {
trigger = has_current_phase
tournament_phase_joust = {
scope:contest_loser = {
tournament_wounded_or_dead_tooltip_effect = { CONTEST = joust }
}
}
tournament_phase_wrestling = {
scope:contest_loser = {
tournament_wounded_or_dead_tooltip_effect = { CONTEST = wrestling }
}
}
tournament_phase_duel = {
scope:contest_loser = {
tournament_wounded_or_dead_tooltip_effect = { CONTEST = duel }
}
}
tournament_phase_board_game = {
scope:contest_loser = {
tournament_wounded_or_dead_tooltip_effect = { CONTEST = board_game }
}
}
}
}
}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_wounded_or_dead_contest_effect.
Events (1)
- … …: … and …
contest_events.0810
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.