Scripted effect · Tours and Tournaments files
tournament_disburse_contest_prize_tooltip_effect
tournament_disburse_contest_prize_tooltip_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 7974 (66 lines). No parameters.
tournament_disburse_contest_prize_tooltip_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 7974 of its file. It takes no parameters: tournament_disburse_contest_prize_tooltip_effect = yes. The game's script calls it in 1 place, among them …: Conclusion (event tournament_events.0150). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
The comment above it in the file
Show tooltips for prize awards
What it does
If
a check the game hides
Then
scope:duel_prize:set_owner = { target = scope:duel_winner }
If
a check the game hides
Then
scope:joust_prize:set_owner = { target = scope:joust_winner }
If
a check the game hides
Then
scope:wrestling_prize:set_owner = { target = scope:wrestling_winner }
If
a check the game hides
Then
scope:board_game_prize:set_owner = { target = scope:board_game_winner }
If
a check the game hides
Then
scope:archery_prize:set_owner = { target = scope:archery_winner }
If
a check the game hides
Then
scope:recital_prize:set_owner = { target = scope:recital_winner }
If
a check the game hides
Then
scope:horse_race_prize:set_owner = { target = scope:horse_race_winner }
If
a check the game hides
Then
scope:melee_prize:set_owner = { target = scope:melee_winner }
• 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 (66 lines of game script)
tournament_disburse_contest_prize_tooltip_effect = {
if = {
limit = { exists = scope:duel_prize }
show_as_tooltip = {
scope:duel_prize = {
set_owner = { target = scope:duel_winner }
}
}
}
if = {
limit = { exists = scope:joust_prize }
show_as_tooltip = {
scope:joust_prize = {
set_owner = { target = scope:joust_winner }
}
}
}
if = {
limit = { exists = scope:wrestling_prize }
show_as_tooltip = {
scope:wrestling_prize = {
set_owner = { target = scope:wrestling_winner }
}
}
}
if = {
limit = { exists = scope:board_game_prize }
show_as_tooltip = {
scope:board_game_prize = {
set_owner = { target = scope:board_game_winner }
}
}
}
if = {
limit = { exists = scope:archery_prize }
show_as_tooltip = {
scope:archery_prize = {
set_owner = { target = scope:archery_winner }
}
}
}
if = {
limit = { exists = scope:recital_prize }
show_as_tooltip = {
scope:recital_prize = {
set_owner = { target = scope:recital_winner }
}
}
}
if = {
limit = { exists = scope:horse_race_prize }
show_as_tooltip = {
scope:horse_race_prize = {
set_owner = { target = scope:horse_race_winner }
}
}
}
if = {
limit = { exists = scope:melee_prize }
show_as_tooltip = {
scope:melee_prize = {
set_owner = { target = scope:melee_winner }
}
}
}
}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_disburse_contest_prize_tooltip_effect.
Events (1)
- …: Conclusion
tournament_events.0150
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.