Scripted trigger · Tours and Tournaments files
ep2_phase_general_location_checks
ep2_phase_general_location_checks = yesgame/common/scripted_triggers/04_ep2_tour_triggers.txt, line 5 (17 lines). No parameters.
ep2_phase_general_location_checks is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 5 of its file. It takes no parameters: ep2_phase_general_location_checks = 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
Otherwise
has_province_owner = yes
• 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)
ep2_phase_general_location_checks = {
# Don't localize all the other stuff if you have no province owner anyway
trigger_if = {
limit = { has_province_owner = yes }
province_owner = {
liege ?= scope:host
this != scope:host
highest_held_title_tier >= tier_county
capital_province ?= root
is_available = yes
age >= 12
}
}
trigger_else = {
has_province_owner = yes
}
}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_phase_general_location_checks.
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.