Scripted effect · By God Alone files
pam_secure_pilgrim_routes_effect
pam_secure_pilgrim_routes_effect = yesgame/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
- Their faith:
main_rite = { remove_rite_tenet = scope:removed_tenet add_rite_tenet = tenet_armed_pilgrimages }
- Gains the modifier “Protector of Pilgrims” for 25 years
- For the next 25 years, all Catholics gain increased Pilgrim Trait Experience from Pilgrimages
- For the next 25 years, Catholic Rulers are more likely to undertake Pilgrimages
• 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)
- Defender of the Pilgrims
pam_decision_events.0019
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.