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_heresy_fervor_reset_effect

pam_heresy_fervor_reset_effect = { COMPONENT = … }

game/common/scripted_effects/pam_heresy_shared_effects.txt, line 17 (22 lines). Parameters: $COMPONENT$.

pam_heresy_fervor_reset_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 17 of its file. A call passes 1 parameter: COMPONENT. The game's script calls it in 3 places, among them A Heretical Rite (event heresy_dangerous_rite.0010), heresy_historical.0001 (event) and heresy_light.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/pam_heresy_shared_effects.txt.

The comment above it in the file

Faith scope. Resets fervor to the tiered component target.
COMPONENT = 1, 2, or 3.

What it does

  • If

    • $COMPONENT$ = 1

    Then

    • Fervor increases by +60

    Else if

    • $COMPONENT$ = 2

    Then

    • Fervor increases by +75

    Otherwise

    • Fervor increases by +90

• 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 (22 lines of game script)
pam_heresy_fervor_reset_effect = {
	if = {
		limit = { $COMPONENT$ = 1 }
		change_fervor = {
			value = pam_heresy_fervor_reset_component_1_value
			desc = pam_heresy_fervor_reset_component_1_desc
		}
	}
	else_if = {
		limit = { $COMPONENT$ = 2 }
		change_fervor = {
			value = pam_heresy_fervor_reset_component_2_value
			desc = pam_heresy_fervor_reset_component_2_desc
		}
	}
	else = {
		change_fervor = {
			value = pam_heresy_fervor_reset_component_3_value
			desc = pam_heresy_fervor_reset_component_3_desc
		}
	}
}

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

Where it is used

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

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