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_personal_tenet_lost_core_fulfillment_effect

pam_personal_tenet_lost_core_fulfillment_effect = { RITE = … TENET = … }

game/common/scripted_effects/pam_effects.txt, line 1107 (24 lines). Parameters: $RITE$, $TENET$.

pam_personal_tenet_lost_core_fulfillment_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1107 of its file. A call passes 2 parameters: RITE and TENET. The game's script calls it in 2 places, among them ecumenical_council_personal_tenet_fulfillment_effect (scripted effect) and pam_personal_tenet_rite_update_fulfillment_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

What it does

  • If

    • has_personal_tenet = $TENET$
    • One of these

      • rite = $RITE$
      • or

        $RITE$.faith.main_rite = $RITE$
    • Their rite:
      • NOT = { has_tenet_status = { tenet = $TENET$ status = core } }

    Then

    • change_spiritual_fulfillment = { value = gain_personal_tenet_sf_change subtract = massive_spiritual_fulfillment_value }

• 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)
pam_personal_tenet_lost_core_fulfillment_effect = {
	if = {
		limit = {
			has_personal_tenet = $TENET$
			OR = {
				rite = $RITE$
				$RITE$.faith.main_rite = $RITE$
			}
			rite = {
				NOT = {
					has_tenet_status = {
						tenet = $TENET$
						status = core
					}
				}
			}
		}
		$TENET$ = { save_temporary_scope_as = tenet }
		change_spiritual_fulfillment = {
			value = gain_personal_tenet_sf_change
			subtract = massive_spiritual_fulfillment_value
		}
	}
}

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

Where it is used

Every place in common/, events/ and history/ that calls pam_personal_tenet_lost_core_fulfillment_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?