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

Scripted effect

exaltation_of_pain_wound_courtier_effect

exaltation_of_pain_wound_courtier_effect = { ACTOR = … TARGET = … }

game/common/scripted_effects/00_religious_interaction_effects.txt, line 1664 (41 lines). Parameters: $ACTOR$, $TARGET$.

exaltation_of_pain_wound_courtier_effect is a scripted effect in Crusader Kings III, written at line 1664 of its file. A call passes 2 parameters: ACTOR and TARGET. The game's script calls it in 2 places, among them Bestow Pain (interaction) and Bestow Pain (event religious_interaction.2620). Patch 1.20.1.2, from game/common/scripted_effects/00_religious_interaction_effects.txt.

What it does

  • scope:exaltation_of_pain_wound_actor:
    • Gain +100 Piety
    • Stress and fulfillment impact: by trait: Sadistic -15, Callous -15, Wrathful -5, Arbitrary -5, Flagellant -15, Compassionate +20, Forgiving +20
  • scope:exaltation_of_pain_wound_target:

• 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 (41 lines of game script)
exaltation_of_pain_wound_courtier_effect = {
	$ACTOR$ = {
		save_scope_as = exaltation_of_pain_wound_actor
	}
	$TARGET$ = {
		save_scope_as = exaltation_of_pain_wound_target
	}

	scope:exaltation_of_pain_wound_actor = {
		add_piety = medium_piety_value
		stress_and_fulfillment_impact = {
			sadistic = minor_stress_impact_loss
			callous = minor_stress_impact_loss
			wrathful = miniscule_stress_impact_loss
			arbitrary = miniscule_stress_impact_loss
			flagellant = minor_stress_impact_loss
			compassionate = minor_stress_impact_gain
			forgiving = minor_stress_impact_gain
		}
	}

	scope:exaltation_of_pain_wound_target = {
		increase_wounds_no_death_effect = { REASON = whipping }
		if = {
			limit = {
				has_personal_tenet_flag = self_mutilation_active
				rite = scope:exaltation_of_pain_wound_actor.rite
			}
			add_opinion = {
				modifier = exaltation_of_pain_grateful_wounding_opinion
				target = scope:exaltation_of_pain_wound_actor
			}
		}
		else = {
			add_opinion = {
				modifier = exaltation_of_pain_resentful_wounding_opinion
				target = scope:exaltation_of_pain_wound_actor
			}
		}
	}
}

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 exaltation_of_pain_wound_courtier_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?