Scripted effect · Tours and Tournaments files
tournament_contest_weapon_prize_effect
tournament_contest_weapon_prize_effect = { TYPE = … VISUALS = … }game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 4158 (17 lines). Parameters: $TYPE$, $VISUALS$.
tournament_contest_weapon_prize_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 4158 of its file. A call passes 2 parameters: TYPE and VISUALS. The game's script calls it in 1 place, among them create_artifact_weapon_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
The comment above it in the file
Create a weapon prize
What it does
• 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)
tournament_contest_weapon_prize_effect = {
create_artifact = {
name = tournament_prize_weapon_name
creator = scope:host
description = placeholder # Will be regenerated in the post-creation effects
visuals = $VISUALS$
type = $TYPE$
modifier = artifact_prowess_1_modifier
wealth = scope:wealth
quality = scope:quality
save_scope_as = newly_created_artifact
history = {
type = prize_created
recipient = scope:host
}
}
}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_weapon_prize_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.