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_round_outcome_tooltip_effect

versus_contest_round_outcome_tooltip_effect = { LOSER = … WINNER = … }

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

versus_contest_round_outcome_tooltip_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 9024 of its file. A call passes 2 parameters: LOSER and WINNER. The game's script calls it in 7 places, among them tournament_contest_versus_battle_effect (scripted effect), … …: … and … (event contest_events.0810) and …: Endgame (event contest_events.0873). 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 beats … and wins the … Contest

    Otherwise

    • They knocks … out

• 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_round_outcome_tooltip_effect = {
	if = {
        limit = { scope:activity.var:contest_versus_progress = 2 }
        custom_description = {
			text = tournament_contest_round_win_tt
			subject = $WINNER$
			object = $LOSER$
		}
    }
    else = {
       	custom_description = {
			text = tournament_contest_round_tt
			subject = $WINNER$
			object = $LOSER$
		}
    }
}

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

Events (5)

Scripted effects inside an event file (1)

  • contest_5510_win_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?