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

Scripted effect

pilgrimage_additional_reward_effect

pilgrimage_additional_reward_effect = yes

game/common/scripted_effects/00_pilgrimage_effects.txt, line 94 (120 lines). No parameters.

pilgrimage_additional_reward_effect is a scripted effect in Crusader Kings III, written at line 94 of its file. It takes no parameters: pilgrimage_additional_reward_effect = yes. The game's script calls it in 1 place, among them give_pilgrimage_reward_effect (scripted effect). Its body carries 6 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_pilgrimage_effects.txt.

The comment above it in the file

Gives additional rewards for going on Pilgrimage with certain tenets

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 (120 lines of game script)
pilgrimage_additional_reward_effect = {
	# Armed Pilgrimages
	if = {
		limit = { 
			rite = { rite_has_tenet = tenet_armed_pilgrimages }
		}
		custom_description_no_bullet = {
			text = pilgrimage_because_i_have_armed_pilgrimages
		}
		add_character_modifier = {
			modifier = pilgrimage_armed_pilgrimages_modifier
			years = 10
		}
	}
	# Mendicant Preachers
	if = {
		limit = { 
			rite = { rite_has_tenet = tenet_mendicant_preachers }
		}
		custom_description_no_bullet = {
			text = pilgrimage_because_i_have_tenet_mendicant_preachers
		}
		add_character_modifier = {
			modifier = pilgrimage_mendicant_preachers_modifier
			years = 10
		}
	}
	# Pentarchy
	if = {
		limit = { 
			rite = { rite_has_tenet = tenet_pentarchy }
		}
		custom_description_no_bullet = {
			text = pilgrimage_because_i_have_tenet_pentarchy
		}
		add_character_modifier = {
			modifier = pilgrimage_pentarchy_modifier
			years = 10
		}
	}
	# We check separately because the personal tenet can be held before the faith adopts it
	if = {
		limit = {
			has_personal_tenet_flag = tenet_pentarchy_pilgrim_circuit
		}
		pam_pentarchy_pilgrim_circuit_effect = yes
	}
	# Struggle and Submission
	if = {
		limit = { 
			rite = { rite_has_tenet = tenet_struggle_submission }
		}
		custom_description_no_bullet = {
			text = pilgrimage_because_i_have_tenet_struggle_submission
		}
		add_character_modifier = {
			modifier = pilgrimage_struggle_submission_modifier
			years = 10
		}
	}
	# Ancestor Worship
	if = {
		limit = { 
			rite = { rite_has_tenet = tenet_ancestor_worship }
		}
		custom_description_no_bullet = {
			text = pilgrimage_because_i_have_tenet_ancestor_worship
		}
		add_character_modifier = {
			modifier = pilgrimage_ancestor_worship_modifier
			years = 10
		}
	}
	# Esotericism
	if = {
		limit = {
			rite = { rite_has_tenet = tenet_esotericism }
			NAND = {
				has_trait = lifestyle_mystic
				has_trait_xp = {
					trait = lifestyle_mystic
					value >= 100
				}
			}
		}
		custom_description_no_bullet = {
			text = pilgrimage_because_i_have_tenet_esotericism
			subject = root
		}
		random_list = {
			desc = pilgrimage_learn_from_the_bishops
			50 = {
				desc = pilgrimage_learn_from_the_bishops_success
				compare_modifier = {
					value = learning
					multiplier = 5
				}
				if = {
					limit = {
						NOT = { has_trait = lifestyle_mystic }
					}
					add_trait = lifestyle_mystic
				}
				else = {
					add_trait_xp = {
						trait = lifestyle_mystic
						value = 5
					}
				}
			}
			50 = {
				desc = pilgrimage_learn_from_the_bishops_failure
				send_interface_toast = {
					title = pilgrimage_learn_from_the_bishops_failure
					left_icon = root
				}
			}
		}
	}
}

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

Where it is used

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

Scripted effects (1)

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