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

Scripted effect

clear_grudges_effect

clear_grudges_effect = { CHAR_1 = … CHAR_2 = … }

game/common/scripted_effects/00_relation_effects.txt, line 1338 (14 lines). Parameters: $CHAR_1$, $CHAR_2$.

clear_grudges_effect is a scripted effect in Crusader Kings III, written at line 1338 of its file. A call passes 2 parameters: CHAR_1 and CHAR_2. The game's script calls it in 2 places, among them on_set_relation_nemesis (on action) and on_set_relation_rival (on action). Patch 1.20.1.2, from game/common/scripted_effects/00_relation_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (14 lines of game script)
clear_grudges_effect = {
	$CHAR_1$ = {
		if = {
			limit = { has_relation_grudge = $CHAR_2$ }
			remove_relation_grudge = $CHAR_2$
		}
	}
	$CHAR_2$ = {
		if = {
			limit = { has_relation_grudge = $CHAR_1$ }
			remove_relation_grudge = $CHAR_1$
		}
	}
}

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

Where it is used

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

On actions (the game's own hooks) (2)

  • on_set_relation_nemesis
  • on_set_relation_rival

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