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_rewards_give_liege_prestige_effect

tournament_contest_rewards_give_liege_prestige_effect = { AMOUNT = … TOOLTIP = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 4195 (18 lines). Parameters: $AMOUNT$, $TOOLTIP$.

tournament_contest_rewards_give_liege_prestige_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 4195 of its file. A call passes 2 parameters: AMOUNT and TOOLTIP. The game's script calls it in 5 places, among them tournament_second_prestige_rewards_effect (scripted effect), tournament_team_loser_prestige_rewards_effect (scripted effect) and tournament_team_winner_prestige_rewards_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

What it does

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

The script as written (18 lines of game script)
tournament_contest_rewards_give_liege_prestige_effect = {
	if = {
		limit = { tournament_is_knightly_entourage_character_trigger = yes }
		# Now, we distribute the sum.
		hidden_effect = {
			# Save for loc.
			save_scope_as = winner
			liege = {
				# Save for loc.
				save_scope_as = winner_liege
				# Distribute prestige.
				add_prestige = scope:host.$AMOUNT$
			}
		}
		# And remember to tell everyone about it.
		custom_tooltip = $TOOLTIP$
	}
}

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