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

Scripted effect

voyager_souvenirs_aplenty_effect

voyager_souvenirs_aplenty_effect = yes

game/common/scripted_effects/00_wanderer_lifestyle_effects.txt, line 275 (27 lines). No parameters.

voyager_souvenirs_aplenty_effect is a scripted effect in Crusader Kings III, written at line 275 of its file. It takes no parameters: voyager_souvenirs_aplenty_effect = yes. The game's script calls it in 2 places, among them Pilgrimage (activity) and on_travel_plan_arrival (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 (27 lines of game script)
voyager_souvenirs_aplenty_effect = {
	if = {
		limit = {
			has_perk = souvenirs_aplenty_perk
			NOT = { location.barony ?= root.capital_barony }
			location.county.development_level > root.capital_county.development_level
		}
		if = {
			limit = {
				has_variable = souvenirs_aplenty_var
			}
			change_variable = {
				name = souvenirs_aplenty_var
				add = {
					add = voyager_souvenirs_aplenty_script_value
					max = voyager_souvenirs_aplenty_max_value
				}
			}
		}
		else = {
			set_variable = {
				name = souvenirs_aplenty_var
				value = voyager_souvenirs_aplenty_script_value
			}
		}
	}
}

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 voyager_souvenirs_aplenty_effect.

Activities (1)

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

  • on_travel_plan_arrival

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?