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

Scripted effect

charting_the_realm_perk_effect

charting_the_realm_perk_effect = yes

game/common/scripted_effects/00_wanderer_lifestyle_effects.txt, line 484 (39 lines). No parameters.

charting_the_realm_perk_effect is a scripted effect in Crusader Kings III, written at line 484 of its file. It takes no parameters: charting_the_realm_perk_effect = yes. The game's script calls it in 1 place, among them on_travel_plan_movement (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.

What it does

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

The script as written (39 lines of game script)
charting_the_realm_perk_effect = {
	if = {
		limit = {
			has_perk = realm_charts_perk
			OR = {
				NOT = { has_variable_list = mapmaking_location_list }
				NOT = {
					is_target_in_variable_list = {
						name = mapmaking_location_list
						target = location
	 				}
				}
			}
			exists = location.county
			location = { has_holding = yes }
			OR = { #We save domain provinces, top lieges capital or direct vassals capitals at count tier or over - always by link comparisons
				AND = {
					location.county.holder = root
					location.county != location.county.holder.capital_county
				}
				AND = {
					top_liege != this
					location.county.holder != root
					root.top_liege = location.county.holder.top_liege
					location = location.county.holder.top_liege.capital_province
				}
				AND = {
					location.county.holder != root
					location.county.holder.liege = root
					location = location.county.holder.capital_province
				}
			}
		}
		add_to_variable_list = {
			name = mapmaking_location_list
			target = location
		}
	}
}

As written in game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.

Where it is used

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

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

  • on_travel_plan_movement

Source: game/common/scripted_effects/00_wanderer_lifestyle_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?