Scripted effect
pilgrimage_additional_reward_effect
pilgrimage_additional_reward_effect = yesgame/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
If
- Their rite: The rite has the tenet Armed Pilgrimages
Then
- Because your Rite has the Armed Pilgrimages Tenet:
- Gains the modifier “Determined Pilgrim” for 10 years
If
- Their rite: The rite has the tenet Mendicant Preaching
Then
- Because your Rite has the Mendicant Preaching Tenet:
- Gains the modifier “Poverty's Journey” for 10 years
- Military Order Hire Cost -33%
If
- Their rite: The rite has the tenet Ecclesiarchy
Then
- Because your Rite has the Ecclesiarchy Tenet:
- Gains the modifier “The Seats of Bishops” for 10 years
- Clergy Opinion +10
- If the Personal Tenets unlock tenet pentarchy pilgrim circuit:
If
- Their rite: The rite has the tenet Ancestor Worship
Then
- Because your Rite has the Ancestor Worship Tenet:
- Gains the modifier “In the Footsteps of My Forebears” for 10 years
- Close Family Opinion +10
If
- Their rite: The rite has the tenet Esotericism
Then
• 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.