Scripted effect · Tours and Tournaments files
tournament_choose_jockey_effect
tournament_choose_jockey_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 7615 (33 lines). No parameters.
tournament_choose_jockey_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 7615 of its file. It takes no parameters: tournament_choose_jockey_effect = yes. The game's script calls it in 1 place, among them …: Riders (event ep2_tournament_events.4500). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
What it does
If
NOT = { is_participant_in_activity = scope:activity }
Then
scope:activity:add_to_guest_subset = { name = spectator target = scope:chosen_jockey }
- Every in list: Opinion: Disappointed (-10)
• 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 (33 lines of game script)
tournament_choose_jockey_effect = {
save_scope_as = chosen_jockey
if = {
limit = {
NOT = { is_participant_in_activity = scope:activity }
}
hidden_effect = { add_to_activity = scope:activity }
scope:activity = {
add_to_guest_subset = { name = spectator target = scope:chosen_jockey }
}
}
every_in_list = {
list = potential_jockeys
limit = {
NOR = {
this = scope:chosen_jockey
this = root
has_character_flag = generated_jockey
}
}
add_opinion = {
target = root
modifier = disappointed_opinion
opinion = -10
}
}
root = {
set_variable = {
name = horse_race_jockey
value = scope:chosen_jockey
}
}
}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_choose_jockey_effect.
Events (1)
- …: Riders
ep2_tournament_events.4500
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.