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

Scripted effect · By God Alone files

pam_mend_great_schism_reward_effect

pam_mend_great_schism_reward_effect = { CHARACTER_MODIFIER = … MODIFIER = … }

game/common/scripted_effects/pam_effects.txt, line 7725 (13 lines). Parameters: $CHARACTER_MODIFIER$, $MODIFIER$.

pam_mend_great_schism_reward_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 7725 of its file. A call passes 2 parameters: CHARACTER_MODIFIER and MODIFIER. The game's script calls it in 2 places, among them Mend the Great Schism Through Conquest (decision) and Mend the Great Schism Through Diplomacy (decision). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

The comment above it in the file

Run from either Mend the Great Schism decision, which pass the modifier pair matching their route.
MODIFIER - dynasty modifier for the mender's dynasty.
CHARACTER_MODIFIER - equivalent for a lowborn mender, who has no dynasty to mark.

What it does

  • Their dynasty:
    • The dynasty gains +10,000 Renown
    • The dynasty gains the modifier “$MODIFIER$”
  • If

    a check the game hides

    Then

    • Gains the modifier “$CHARACTER MODIFIER$”
  • Gain +1,000 Piety
  • Gain +1,500 Prestige
  • set_nickname_effect = { NICKNAME = nick_the_reconciler }

• 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 (13 lines of game script)
pam_mend_great_schism_reward_effect = {
	dynasty ?= {
		add_dynasty_prestige = 10000
		add_dynasty_modifier = { modifier = $MODIFIER$ }
	}
	if = {
		limit = { NOT = { exists = dynasty } }
		add_character_modifier = $CHARACTER_MODIFIER$
	}
	add_piety = monumental_piety_gain
	add_prestige = monumental_prestige_gain
	set_nickname_effect = { NICKNAME = nick_the_reconciler }
}

As written in game/common/scripted_effects/pam_effects.txt.

Where it is used

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

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