Scripted effect · Tours and Tournaments files
tournament_contest_versus_pertinent_update_effect
tournament_contest_versus_pertinent_update_effect = yesgame/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 2503 (54 lines). No parameters.
tournament_contest_versus_pertinent_update_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 2503 of its file. It takes no parameters: tournament_contest_versus_pertinent_update_effect = yes. The game's script calls it in 1 place, among them tournament_contest_versus_battle_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.
What it does
- scope:activity › Every attending character:
- Only some of them (the filter is in the script below)
- Event contest_events.0810
• 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 (54 lines of game script)
tournament_contest_versus_pertinent_update_effect = {
scope:activity = {
every_attending_character = {
limit = {
is_ai = no
NOR = {
this = scope:contest_winner
this = scope:contest_loser
AND = {
exists = scope:wrathful_contestant
this = scope:wrathful_contestant
}
AND = {
exists = scope:wrathful_victim
this = scope:wrathful_victim
}
}
# First round only notify people who care
trigger_if = {
limit = { scope:activity.var:contest_versus_progress < 1 }
OR = {
# Scripted Relation
has_any_scripted_relation = scope:contest_winner
has_any_scripted_relation = scope:contest_loser
# Close Family
is_close_family_of = scope:contest_winner
is_close_family_of = scope:contest_loser
# Spouses
is_consort_of = scope:contest_winner
is_consort_of = scope:contest_loser
# Host
scope:host = scope:contest_winner
scope:host = scope:contest_loser
# Champion Liege
court_position:champion_court_position ?= scope:contest_winner
court_position:champion_court_position ?= scope:contest_loser
# Knights
any_acclaimed_knight = { this = scope:contest_winner }
any_acclaimed_knight = { this = scope:contest_loser }
# Intent Target
trigger_if = {
limit = { exists = intent_target }
OR = {
intent_target = scope:contest_winner
intent_target = scope:contest_loser
}
}
}
}
}
trigger_event = contest_events.0810
}
}
}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_versus_pertinent_update_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.