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

Scripted effect

human_sacrifice_personal_execution_piety_bonus_effect

human_sacrifice_personal_execution_piety_bonus_effect = yes

game/common/scripted_effects/00_prison_effects.txt, line 236 (65 lines). No parameters.

human_sacrifice_personal_execution_piety_bonus_effect is a scripted effect in Crusader Kings III, written at line 236 of its file. It takes no parameters: human_sacrifice_personal_execution_piety_bonus_effect = yes. The game's script calls it in 1 place, among them execute_prisoner_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_prison_effects.txt.

What it does

  • If highest held Title is at least Hegemony Rank › scope:executioner:
    • Gain +500 Piety
    • Spiritual fulfillment +10
  • Else, if highest held Title is at least Empire Rank › scope:executioner:
    • Gain +250 Piety
    • Spiritual fulfillment +5
  • Else, if highest held Title is at least Kingdom Rank › scope:executioner:
    • add_piety = { value = major_piety_gain multiply = 0.5 }
    • Spiritual fulfillment +3
  • Else, if highest held Title is at least Duchy Rank › scope:executioner:
    • Gain +50 Piety
    • Spiritual fulfillment +1
  • Else, if highest held Title is at least County Rank › scope:executioner: Gain +25 Piety
  • Else, if highest held Title is at least Barony Rank › scope:executioner:
    • add_piety = { value = miniscule_piety_gain multiply = 0.75 }
  • Else, if not: Is Lowborn › scope:executioner:
    • add_piety = { value = miniscule_piety_gain multiply = 0.5 }
  • Otherwise › scope:executioner:
    • add_piety = { value = miniscule_piety_gain multiply = 0.4 }

• 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 (65 lines of game script)
human_sacrifice_personal_execution_piety_bonus_effect = {
	if = {
		limit = { highest_held_title_tier >= tier_hegemony }
		scope:executioner = {
			add_piety = massive_piety_gain
			change_spiritual_fulfillment = major_spiritual_fulfillment_value
		}
	}
	else_if = {
		limit = { highest_held_title_tier >= tier_empire }
		scope:executioner = {
			add_piety = major_piety_gain
			change_spiritual_fulfillment = medium_spiritual_fulfillment_value
		}
	}
	else_if = {
		limit = { highest_held_title_tier >= tier_kingdom }
		scope:executioner = {
			add_piety = {
				value = major_piety_gain
				multiply = 0.5
			}
			change_spiritual_fulfillment = minor_spiritual_fulfillment_value
		}
	}
	else_if = {
		limit = { highest_held_title_tier >= tier_duchy }
		scope:executioner = {
			add_piety = minor_piety_gain
			change_spiritual_fulfillment = miniscule_spiritual_fulfillment_value
		}
	}
	else_if = {
		limit = { highest_held_title_tier >= tier_county }
		scope:executioner = {
			add_piety = miniscule_piety_gain
		}
	}
	else_if = {
		limit = { highest_held_title_tier >= tier_barony }
		scope:executioner = {
			add_piety = {
				value = miniscule_piety_gain
				multiply = 0.75
			}
		}
	}
	else_if = {
		limit = { is_lowborn = no }
		scope:executioner = {
			add_piety = {
				value = miniscule_piety_gain
				multiply = 0.5
			}
		}
	}
	else = {
		scope:executioner = {
			add_piety = {
				value = miniscule_piety_gain
				multiply = 0.4
			}
		}
	}
}

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

Where it is used

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

Scripted effects (1)

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