Scripted effect · Tours and Tournaments files
tournament_winner_prestige_rewards_effect
tournament_winner_prestige_rewards_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 4273 (32 lines). No parameters.
tournament_winner_prestige_rewards_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 4273 of its file. It takes no parameters: tournament_winner_prestige_rewards_effect = yes. The game's script calls it in 1 place, among them tournament_contest_rewards_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
What it does
If
scope:activity.num_phases > 4
Then
- Gain … Prestige
tournament_contest_rewards_give_liege_prestige_effect = { AMOUNT = tournament_first_place_reward_prestige_major_value TOOLTIP = tournament_landless_knight_liege_rewards.tt.tournament_first_place_reward_prestige_major }
Else if
scope:activity.num_phases > 3
Then
- Gain … Prestige
tournament_contest_rewards_give_liege_prestige_effect = { AMOUNT = tournament_first_place_reward_prestige_medium_value TOOLTIP = tournament_landless_knight_liege_rewards.tt.tournament_first_place_reward_prestige_medium }
Otherwise
- Gain … Prestige
tournament_contest_rewards_give_liege_prestige_effect = { AMOUNT = tournament_first_place_reward_prestige_minor_value TOOLTIP = tournament_landless_knight_liege_rewards.tt.tournament_first_place_reward_prestige_minor }
• 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 (32 lines of game script)
tournament_winner_prestige_rewards_effect = {
if = {
limit = { scope:activity.num_phases > 4 }
add_prestige = scope:host.massive_prestige_value
if = {
limit = { exists = dynasty }
dynasty = { add_dynasty_prestige = scope:host.minor_dynasty_prestige_gain }
}
# If appropriate, give the winner's liege a reward too.
tournament_contest_rewards_give_liege_prestige_effect = {
AMOUNT = tournament_first_place_reward_prestige_major_value
TOOLTIP = tournament_landless_knight_liege_rewards.tt.tournament_first_place_reward_prestige_major
}
}
else_if = {
limit = { scope:activity.num_phases > 3 }
add_prestige = scope:host.major_prestige_value
# If appropriate, give the winner's liege a reward too.
tournament_contest_rewards_give_liege_prestige_effect = {
AMOUNT = tournament_first_place_reward_prestige_medium_value
TOOLTIP = tournament_landless_knight_liege_rewards.tt.tournament_first_place_reward_prestige_medium
}
}
else = {
add_prestige = scope:host.medium_prestige_value
# If appropriate, give the winner's liege a reward too.
tournament_contest_rewards_give_liege_prestige_effect = {
AMOUNT = tournament_first_place_reward_prestige_minor_value
TOOLTIP = tournament_landless_knight_liege_rewards.tt.tournament_first_place_reward_prestige_minor
}
}
}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_winner_prestige_rewards_effect.
Scripted effects (1)
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.