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_sp_reward_effect

pilgrimage_sp_reward_effect = yes

game/common/scripted_effects/00_pilgrimage_effects.txt, line 1191 (16 lines). No parameters.

pilgrimage_sp_reward_effect is a scripted effect in Crusader Kings III, written at line 1191 of its file. It takes no parameters: pilgrimage_sp_reward_effect = yes. The game's script calls it in 2 places, among them Inside the Shining Walls (event hajj.0011) and give_pilgrimage_reward_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_pilgrimage_effects.txt.

What it does

  • If

    Then

    • Spiritual fulfillment +10

    Otherwise

    • Spiritual fulfillment +5

• 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 (16 lines of game script)
pilgrimage_sp_reward_effect = {
	if = {
		limit = {
			rite = {
				OR = {
					rite_has_doctrine = doctrine_pilgrimage_mandatory
					rite_has_doctrine = doctrine_pilgrimage_mandatory_hajj
				}
			}
		}
		change_spiritual_fulfillment = major_spiritual_fulfillment_value
	}
	else = {
		change_spiritual_fulfillment = medium_spiritual_fulfillment_value
	}
}

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_sp_reward_effect.

Events (1)

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?