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_resignation_tooltip_effect

versus_contest_resignation_tooltip_effect = { RESIGNER = … WINNER = … }

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

versus_contest_resignation_tooltip_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 9060 of its file. A call passes 2 parameters: RESIGNER and WINNER. The game's script calls it in 4 places, among them tournament_contest_versus_resignation_effect (scripted effect), versus_force_concession_effect (scripted effect) and …: … (event contest_events.0820). 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 … resignation

    Otherwise

    • They progresses by default due to … resignation

• 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_resignation_tooltip_effect = {
	if = {
		limit = { scope:activity.var:contest_versus_progress = 2 }
		custom_description = {
			text = tournament_contest_resign_win_tt
			subject = $WINNER$
			object = $RESIGNER$
		}
	}
	else = {
		custom_description = {
			text = tournament_contest_resign_round_tt
			subject = $WINNER$
			object = $RESIGNER$
		}
	}
}

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_resignation_tooltip_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?