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

Scripted effect · By God Alone files

pam_secure_pilgrim_routes_effect

pam_secure_pilgrim_routes_effect = yes

game/common/scripted_effects/pam_effects.txt, line 8162 (30 lines). No parameters.

pam_secure_pilgrim_routes_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8162 of its file. It takes no parameters: pam_secure_pilgrim_routes_effect = yes. The game's script calls it in 1 place, among them Defender of the Pilgrims (event pam_decision_events.0019). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

What it does

• 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 (30 lines of game script)
pam_secure_pilgrim_routes_effect = {
	faith = {
		set_variable = {
			name = pam_secured_pilgrim_routes
			years = 25
		}
		main_rite = {
			remove_rite_tenet = scope:removed_tenet
			add_rite_tenet = tenet_armed_pilgrimages
		}
		# The removed tenet loses, and the new core tenet gains popularity.
		if = {
			limit = { has_tenet_popularity_trigger = yes }
			change_tenet_popularity = {
				target = scope:removed_tenet
				change = major_tenet_popularity_loss
			}
			change_tenet_popularity = {
				target = tenet:tenet_armed_pilgrimages
				change = major_tenet_popularity_gain
			}
		}
	}
	add_character_modifier = {
		modifier = pam_protector_of_pilgrims_modifier
		years = 25
	}
	custom_tooltip = pam_secure_pilgrim_routes_pilgrim_xp_tt
	custom_tooltip = pam_secure_pilgrim_routes_ai_pilgrimage_tt
}

As written in game/common/scripted_effects/pam_effects.txt.

Where it is used

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

Events (1)

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