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

Scripted effect

revel_in_pain_effect

revel_in_pain_effect = yes

game/common/scripted_effects/00_religious_interaction_effects.txt, line 1639 (24 lines). No parameters.

revel_in_pain_effect is a scripted effect in Crusader Kings III, written at line 1639 of its file. It takes no parameters: revel_in_pain_effect = yes. The game's script calls it in 2 places, among them Revel in Carnal Pain (interaction) and Lessons in Grace (event religious_interaction.2600). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.

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 (24 lines of game script)
revel_in_pain_effect = {
	#Get both rewards
	if = {
		limit = { has_trait = flagellant }
		add_stress = medium_stress_loss
		add_piety = major_piety_value
	}
	#Only Piety
	else = { add_piety = major_piety_value }

	#Not already flagellant?
	if = {
		limit = {
			NOT = { has_trait = flagellant }
		}
		random = {
			chance = 20
			add_trait = flagellant
			add_stress = medium_stress_loss
		}
	}
	
	increase_wounds_effect = { REASON = whipping }
}

As written in game/common/scripted_effects/00_religious_interaction_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls revel_in_pain_effect.

Character interactions (1)

Events (1)

Source: game/common/scripted_effects/00_religious_interaction_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?