Scripted trigger · Tours and Tournaments files
has_ongoing_grand_activity_trigger
has_ongoing_grand_activity_trigger = yesgame/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 346 (15 lines). No parameters.
has_ongoing_grand_activity_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 346 of its file. It takes no parameters: has_ongoing_grand_activity_trigger = yes (or no). The game's script calls it in 6 places, among them Imprison (interaction), Retract Vassal (interaction) and Revoke Title (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
If
a check the game hides
Then
- Their activity:
One of these
has_activity_type = activity_tournamentor
has_activity_type = activity_touror
has_activity_type = activity_wedding
Otherwise
- Never
- Their activity:
• 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 (15 lines of game script)
has_ongoing_grand_activity_trigger = {
trigger_if = {
limit = { exists = involved_activity }
involved_activity = {
OR = {
has_activity_type = activity_tournament
has_activity_type = activity_tour
has_activity_type = activity_wedding
}
}
}
trigger_else = {
always = no
}
}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 has_ongoing_grand_activity_trigger.
Character interactions (3)
Activities (3)
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.