Scripted trigger · Tours and Tournaments files
activity_has_reason_to_cheer_character_trigger
activity_has_reason_to_cheer_character_trigger = { CHAR = … }game/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 112 (17 lines). Parameters: $CHAR$.
activity_has_reason_to_cheer_character_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 112 of its file. A call passes 1 parameter: CHAR. The game's script calls it in 4 places, among them Archery: Contest Winner (event contest_events.0705), Board Game: Contest Winner (event contest_events.0805) and Horse Race: Contest Winner (event contest_events.0505). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
One of these
this = $CHAR$or
All of these
- Opinion of $CHAR$ at least 25
One of these
is_close_family_of = $CHAR$or
is_consort_of = $CHAR$or
has_any_good_relationship_with_character_trigger = { CHARACTER = $CHAR$ }
• 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)
activity_has_reason_to_cheer_character_trigger = {
exists = $CHAR$
OR = {
this = $CHAR$
AND = {
opinion = {
target = $CHAR$
value >= 25
}
OR = {
is_close_family_of = $CHAR$
is_consort_of = $CHAR$
has_any_good_relationship_with_character_trigger = { CHARACTER = $CHAR$ }
}
}
}
}As written in game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls activity_has_reason_to_cheer_character_trigger.
Events (4)
- Archery: Contest Winner
contest_events.0705 - Board Game: Contest Winner
contest_events.0805 - Horse Race: Contest Winner
contest_events.0505 - Melee: Contest Winners
contest_events.0605
Source: game/common/scripted_triggers/04_ep2_tournament_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.