Scripted effect
account_for_pilgrimage_length_type_effect
account_for_pilgrimage_length_type_effect = yesgame/common/scripted_effects/00_pilgrimage_effects.txt, line 1287 (12 lines). No parameters.
account_for_pilgrimage_length_type_effect is a scripted effect in Crusader Kings III, written at line 1287 of its file. It takes no parameters: account_for_pilgrimage_length_type_effect = yes. The game's script calls it in 1 place, among them Pilgrimage (activity). Patch 1.20.1.2, from game/common/scripted_effects/00_pilgrimage_effects.txt.
The comment above it in the file
Boost short pilgrimages a bit so they don't always get shafted
What it does
Else if
Then
- Their activity:
• 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 (12 lines of game script)
account_for_pilgrimage_length_type_effect = {
#Short Pilgrimage
if = {
limit = { short_pilgrimage_trigger = yes }
involved_activity = { activity_special_type_progression_medium = yes }
}
#Medium Pilgrimage
else_if = {
limit = { medium_pilgrimage_trigger = yes }
involved_activity = { activity_special_type_progression_tiny = yes }
}
}As written in game/common/scripted_effects/00_pilgrimage_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls account_for_pilgrimage_length_type_effect.
Activities (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.