Scripted effect · Tours and Tournaments files
little_william_marshal_achievement_contest_end_effect
little_william_marshal_achievement_contest_end_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 9114 (17 lines). No parameters.
little_william_marshal_achievement_contest_end_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 9114 of its file. It takes no parameters: little_william_marshal_achievement_contest_end_effect = yes. The game's script calls it in 4 places, among them tournament_contest_race_winner_effect (scripted effect), tournament_contest_team_winner_effect (scripted effect) and tournament_contest_turn_winner_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 (17 lines of game script)
little_william_marshal_achievement_contest_end_effect = {
if = {
limit = {
exists = global_var:started_little_william_marshal_achievement
scope:activity = {
any_attending_character = {
is_ai = no
}
}
}
# Increment overall contest tally.
change_global_variable = {
name = started_little_william_marshal_achievement
add = 1
}
}
}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 little_william_marshal_achievement_contest_end_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.