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

Scripted effect · The Northern Lords files

designate_gruesome_festivals_sacrifice_modifier_removed_effect

designate_gruesome_festivals_sacrifice_modifier_removed_effect = { DESIGNATOR = … }

game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt, line 688 (25 lines). Parameters: $DESIGNATOR$.

designate_gruesome_festivals_sacrifice_modifier_removed_effect is a scripted effect in Crusader Kings III, in the The Northern Lords files, written at line 688 of its file. A call passes 1 parameter: DESIGNATOR. The game's script calls it in 3 places, among them Designate Sacrifice (interaction), Refute Sacrifice (interaction) and fp1_other_decisions.0062 (event). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.

What it does

  • Loses “Soon to be Sacrificed”
  • If

    • scope:removal_type = flag:manual

    Then

    • … has shown mercy

    Else if

    • scope:removal_type = flag:override

    Then

    • … has decided on a different sacrifice

    Otherwise

    • The festival has been called off

• 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 (25 lines of game script)
designate_gruesome_festivals_sacrifice_modifier_removed_effect = {
	send_interface_toast = {
		title = designate_gruesome_festivals_sacrifice_modifier_removed_effect.t
		left_icon = $DESIGNATOR$
		remove_character_modifier = gruesome_festivals_designated_sacrifice_fp1_modifier
		# Removed manually.
		if = {
			limit = {
				exists = scope:removal_type
				scope:removal_type = flag:manual
			}
			custom_tooltip = designate_gruesome_festivals_sacrifice_modifier_removed_effect.manual.tt
		}
		# Removed due to a new chief sacrifice being designated.
		else_if = {
			limit = {
				exists = scope:removal_type
				scope:removal_type = flag:override
			}
			custom_tooltip = designate_gruesome_festivals_sacrifice_modifier_removed_effect.override.tt
		}
		# Removed due to the chain invalidating.
		else = { custom_tooltip = designate_gruesome_festivals_sacrifice_modifier_removed_effect.invalidation.tt }
	}
}

As written in game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.

Where it is used

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

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