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

versus_contest_disqualification_tooltip_effect

versus_contest_disqualification_tooltip_effect = { DISQUALIFIED = … WINNER = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 9042 (17 lines). Parameters: $DISQUALIFIED$, $WINNER$.

versus_contest_disqualification_tooltip_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 9042 of its file. A call passes 2 parameters: DISQUALIFIED and WINNER. The game's script calls it in 3 places, among them tournament_contest_versus_swap_winner_loser_effect (scripted effect), …: … (event contest_events.0820) and Grand Tournament: … Disqualification (event contest_events.0826). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

What it does

  • If

    • scope:activity.var:contest_versus_progress = 2

    Then

    • They wins the … Contest by default due to … disqualification

    Otherwise

    • They passes the … Contest … by default due to … disqualification

• 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 (17 lines of game script)
versus_contest_disqualification_tooltip_effect = {
	if = {
		limit = { scope:activity.var:contest_versus_progress = 2 }
		custom_description = {
			text = tournament_contest_disqualify_win_tt
			subject = $WINNER$
			object = $DISQUALIFIED$
		}
	}
	else = {
		custom_description = {
			text = tournament_contest_disqualify_round_tt
			subject = $WINNER$
			object = $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 versus_contest_disqualification_tooltip_effect.

Events (2)

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?