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_round_scope_effect

tournament_contest_versus_round_scope_effect = { CONTEST = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 2028 (22 lines). Parameters: $CONTEST$.

tournament_contest_versus_round_scope_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 2028 of its file. A call passes 1 parameter: CONTEST. The game's script calls it in 1 place, among them tournament_contest_versus_match_scope_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

The comment above it in the file

Save scopes of opponent based on bout stage

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (22 lines of game script)
tournament_contest_versus_round_scope_effect = {
	if = {
		limit = { scope:activity.var:contest_versus_progress = 0 }
		if = {
			limit = { exists = var:contest_qualified_match_$CONTEST$ }
			var:contest_qualified_match_$CONTEST$ = { save_scope_as = versus_contestant }
		}
	}
	else_if = {
		limit = { scope:activity.var:contest_versus_progress = 1 }
		if = {
			limit = { exists = var:contest_semi_finalist_match_$CONTEST$ }
			var:contest_semi_finalist_match_$CONTEST$ = { save_scope_as = versus_contestant }
		}
	}
	else = {
		if = {
			limit = { exists = var:contest_finalist_match_$CONTEST$ }
			var:contest_finalist_match_$CONTEST$ = { save_scope_as = versus_contestant }
		}
	}
}

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_round_scope_effect.

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?