Scripted effect · All Under Heaven files
mandala_story_go_on_pilgrimage_effect
mandala_story_go_on_pilgrimage_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 3441 (10 lines). No parameters.
mandala_story_go_on_pilgrimage_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3441 of its file. It takes no parameters: mandala_story_go_on_pilgrimage_effect = yes. The game's script calls it in 1 place, among them story_mandala (story cycle). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
The comment above it in the file
STORY CYCLE
What it does
If
can_host_activity = activity_pilgrimage
Then
ai_attempt_to_host_activity = activity_pilgrimage
Otherwise
move_budget_gold = { gold = short_term_gold from = budget_war_chest to = budget_short_term }move_budget_gold = { gold = long_term_gold from = budget_long_term to = budget_short_term }
• 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 (10 lines of game script)
mandala_story_go_on_pilgrimage_effect = {
if = {
limit = { can_host_activity = activity_pilgrimage }
ai_attempt_to_host_activity = activity_pilgrimage
}
else = {
move_budget_gold = { gold = short_term_gold from = budget_war_chest to = budget_short_term }
move_budget_gold = { gold = long_term_gold from = budget_long_term to = budget_short_term }
}
}As written in game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls mandala_story_go_on_pilgrimage_effect.
Story cycles (1)
- story_mandala
Source: game/common/scripted_effects/tgp_mandala_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.