Scripted trigger · Tours and Tournaments files
ep2_tour_phase_invalidation_check
ep2_tour_phase_invalidation_check = yesgame/common/scripted_triggers/04_ep2_tour_triggers.txt, line 23 (26 lines). No parameters.
ep2_tour_phase_invalidation_check is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 23 of its file. It takes no parameters: ep2_tour_phase_invalidation_check = yes (or no). The game's script calls it in 1 place, among them Grand Tour (activity). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tour_triggers.txt.
What it checks
scope:activity:None of these
- Any activity phase location past:
province_owner = scope:province.province_owner
- Any activity phase location past:
scope:province:province_owner != scope:hostprovince_owner = { … }
• 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 (26 lines of game script)
ep2_tour_phase_invalidation_check = {
scope:activity = {
NOT = {
any_activity_phase_location_past = {
province_owner = scope:province.province_owner
}
}
}
scope:province = {
province_owner != scope:host
province_owner = {
liege ?= scope:host
location = scope:province
highest_held_title_tier >= tier_county
#Checks mostly matching is_available:
is_in_army = no
is_travelling = no
is_physically_able = yes
has_contagious_deadly_disease_trigger = no
# Variable set within the adventure inspiration events
NOT = { has_variable = gone_adventuring }
#We don't invalidate if it stopped being the capital province.
is_at_war = no
}
}
}As written in game/common/scripted_triggers/04_ep2_tour_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep2_tour_phase_invalidation_check.
Activities (1)
Source: game/common/scripted_triggers/04_ep2_tour_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.