Scripted trigger · Legends of the Dead files
has_any_point_of_interest_flag
has_any_point_of_interest_flag = yesgame/common/scripted_triggers/06_ce1_legend_triggers.txt, line 121 (31 lines). No parameters.
has_any_point_of_interest_flag is a scripted trigger in Crusader Kings III, in the Legends of the Dead files, written at line 121 of its file. It takes no parameters: has_any_point_of_interest_flag = yes (or no). The game's script calls it in 2 places, among them on_travel_plan_movement (on action) and points_of_interest_tracker_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/06_ce1_legend_triggers.txt.
What it checks
One of these
has_building_with_flag = { flag = travel_point_of_interest_martial }or
has_building_with_flag = { flag = travel_point_of_interest_martial_minor }or
has_building_with_flag = { flag = travel_point_of_interest_religious }or
has_building_with_flag = { flag = travel_point_of_interest_diplomatic }or
has_building_with_flag = { flag = travel_point_of_interest_wonder }or
has_building_with_flag = { flag = travel_point_of_interest_economic }or
has_building_with_flag = { flag = travel_point_of_interest_learning }or
has_building_with_flag = { flag = travel_point_of_interest_natural_feature }or
has_building_with_flag = { flag = travel_point_of_interest_stress_relief }
• 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 (31 lines of game script)
has_any_point_of_interest_flag = {
OR = {
has_building_with_flag = {
flag = travel_point_of_interest_martial
}
has_building_with_flag = {
flag = travel_point_of_interest_martial_minor
}
has_building_with_flag = {
flag = travel_point_of_interest_religious
}
has_building_with_flag = {
flag = travel_point_of_interest_diplomatic
}
has_building_with_flag = {
flag = travel_point_of_interest_wonder
}
has_building_with_flag = {
flag = travel_point_of_interest_economic
}
has_building_with_flag = {
flag = travel_point_of_interest_learning
}
has_building_with_flag = {
flag = travel_point_of_interest_natural_feature
}
has_building_with_flag = {
flag = travel_point_of_interest_stress_relief
}
}
}As written in game/common/scripted_triggers/06_ce1_legend_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_any_point_of_interest_flag.
On actions (the game's own hooks) (1)
- on_travel_plan_movement
Scripted effects (1)
Source: game/common/scripted_triggers/06_ce1_legend_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.