CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Tours and Tournaments files

tournament_contest_versus_match_scope_effect

tournament_contest_versus_match_scope_effect = { CHAR = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 2051 (19 lines). Parameters: $CHAR$.

tournament_contest_versus_match_scope_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 2051 of its file. A call passes 1 parameter: CHAR. The game's script calls it in 2 places, among them tournament_contest_start_portrait_effect (scripted effect) and …: … (event contest_events.0820). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

What it does

  • scope:activity › Depending on has current phase:
    • When has current phase is Joust:
      • $CHAR$ = { … }
    • When has current phase is Wrestling:
      • $CHAR$ = { … }
    • When has current phase is Duel:
      • $CHAR$ = { … }
    • When has current phase is Board Game:
      • $CHAR$ = { … }

• 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 (19 lines of game script)
tournament_contest_versus_match_scope_effect = {
	scope:activity = {
		switch = {
			trigger = has_current_phase
			tournament_phase_joust = {
				$CHAR$ = { tournament_contest_versus_round_scope_effect = { CONTEST = joust } }
			}
			tournament_phase_wrestling = {
				$CHAR$ = { tournament_contest_versus_round_scope_effect = { CONTEST = wrestling } }
			}
			tournament_phase_duel = {
				$CHAR$ = { tournament_contest_versus_round_scope_effect = { CONTEST = duel } }
			}
			tournament_phase_board_game = {
				$CHAR$ = { tournament_contest_versus_round_scope_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_contest_versus_match_scope_effect.

Events (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.

Spotted a mistake on this page?