Scripted trigger · Tours and Tournaments files
activity_has_reason_to_anger_character_trigger
activity_has_reason_to_anger_character_trigger = { CHAR = … }game/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 130 (9 lines). Parameters: $CHAR$.
activity_has_reason_to_anger_character_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 130 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
- Opinion of $CHAR$ less than 25
has_any_bad_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 (9 lines of game script)
activity_has_reason_to_anger_character_trigger = {
exists = $CHAR$
NOT = { this = $CHAR$ }
opinion = {
target = $CHAR$
value < 25
}
has_any_bad_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_anger_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.