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

Scripted effect

remove_lover_or_soulmate_relation_effect

remove_lover_or_soulmate_relation_effect = { CHARACTER = … }

game/common/scripted_effects/00_lover_effects.txt, line 95 (10 lines). Parameters: $CHARACTER$.

remove_lover_or_soulmate_relation_effect is a scripted effect in Crusader Kings III, written at line 95 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 5 places, among them A Relief (event lover.0203), An End to An Affair (event lover.0201) and lover.0205 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_lover_effects.txt.

What it does

  • If

    • has_relation_soulmate = $CHARACTER$

    Then

    • remove_relation_soulmate = $CHARACTER$

    Else if

    • has_relation_lover = $CHARACTER$

    Then

    • remove_relation_lover = $CHARACTER$

• 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 (10 lines of game script)
remove_lover_or_soulmate_relation_effect = {
	if = {
		limit = { has_relation_soulmate = $CHARACTER$ }
		remove_relation_soulmate = $CHARACTER$
	}
	else_if = {
		limit = { has_relation_lover = $CHARACTER$ }
		remove_relation_lover = $CHARACTER$
	}
}

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

Where it is used

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

Events (4)

Scripted effects (1)

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