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_completed_log_entry_effect

pilgrimage_completed_log_entry_effect = yes

game/common/scripted_effects/00_pilgrimage_effects.txt, line 55 (37 lines). No parameters.

pilgrimage_completed_log_entry_effect is a scripted effect in Crusader Kings III, written at line 55 of its file. It takes no parameters: pilgrimage_completed_log_entry_effect = yes. The game's script calls it in 2 places, among them Pilgrimage (activity) and …: ... Done That (event pilgrimage.7000). Patch 1.20.1.2, from game/common/scripted_effects/00_pilgrimage_effects.txt.

The comment above it in the file

Grants you Hajj or Pilgrimage rewards, is run in the on_complete of the Pilgrimage activity

What it does

• 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 (37 lines of game script)
pilgrimage_completed_log_entry_effect = {
	if = {
		limit = { has_hajj_pilgrimage_type_trigger = yes }
		involved_activity = {
			add_activity_log_entry = {
				key = hajj_completed_log
				tags = { completed }
				score = 100
				show_in_conclusion = yes
				character = root
				#Effects
				root = {
					#This effect applies traits/xp as appropriate and ALSO calls give_pilgrimage_reward_effect
					give_hajj_trait_or_xp_effect = yes
				}
			}
		}
	}
	else_if = {
		limit = { exists = involved_activity }
		involved_activity = {
			add_activity_log_entry = {
				key = pilgrimage_completed_log
				tags = { completed }
				score = 100
				show_in_conclusion = yes
				character = root
				#Effects
				root = {
					#This effect applies traits/xp as appropriate and also calls give_pilgrimage_reward_effect
					give_pilgrimage_reward_effect = yes
				}
			}
		}
	}
	pam_vows_of_poverty_host_completion_piety_effect = 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 pilgrimage_completed_log_entry_effect.

Activities (1)

Events (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?