CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

pious_type_option_effect

pious_type_option_effect = yes

game/common/scripted_effects/00_pilgrimage_effects.txt, line 1225 (15 lines). No parameters.

pious_type_option_effect is a scripted effect in Crusader Kings III, written at line 1225 of its file. It takes no parameters: pious_type_option_effect = yes. The game's script calls it in 80 places, among them … … Architecture (event pilgrimage.1120), … … Sutta (event pilgrimage.3303) and … A Matter of Safety (event pilgrimage.2003). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_pilgrimage_effects.txt.

The comment above it in the file

Checks if you have the pious type and updates the activity_special_type_progression variable

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 (15 lines of game script)
pious_type_option_effect = {
	involved_activity ?= {
		if = {
			limit = { 
				OR = {
					activity_has_pious_pilgrimage_type_trigger = yes
					#Hajj should also be considered a pious pilgrimage
					activity_has_hajj_pilgrimage_type_trigger = yes
				}
			}
			custom_tooltip = pilgrimage_pious_type_tt_positive
			activity_special_type_progression_major= 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 pious_type_option_effect.

Events (78)

72 more

Scripted effects inside an event file (1)

  • generosity_piety_stress_effect

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?