CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Roads to Power files

points_of_interest_tracker_effect

points_of_interest_tracker_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 2865 (53 lines). No parameters.

points_of_interest_tracker_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 2865 of its file. It takes no parameters: points_of_interest_tracker_effect = yes. The game's script calls it in 3 places, among them on_travel_plan_arrival (on action), on_travel_plan_complete (on action) and on_travel_plan_movement (on action). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (53 lines of game script)
points_of_interest_tracker_effect = {
	if = {
		limit = {
			government_has_flag = government_is_landless_adventurer
			location = {
				save_temporary_scope_as = province_temp
				OR = {
					# Building flags
					has_any_point_of_interest_flag = yes
					# Holy sites with an enshrined artifact but no religious POI building
					has_travel_point_of_interest = poi_standalone_holy_site
					# Capitals
					AND = {
						province_owner.top_liege.capital_province ?= this
						province_owner.top_liege ?= { highest_held_title_tier >= tier_kingdom }
					}
					# Grand Cities
					this = province:4828 #Baghdad
					this = province:2575 #Rome
					this = province:496 #Constantinople
					# Points of interest
					this = province:747 # Halikarnassos
					this = province:6053 # Alexandria
					# Legend stuff
					any_legend = {
						legend_owner.capital_province ?= scope:province_temp
						OR = {
							legend_quality = illustrious
							legend_quality = mythical
						}
					}
				}
			}
		}
		if = {
			limit = {
				NOT = {
					has_variable = poi_visited
				}
			}
			set_variable = {
				name = poi_visited
				value = 1
			}
		}
		else = {
			change_variable = {
				name = poi_visited
				add = 1
			}
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls points_of_interest_tracker_effect.

On actions (the game's own hooks) (3)

  • on_travel_plan_arrival
  • on_travel_plan_complete
  • on_travel_plan_movement

Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?