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

Scripted effect · Legends of the Dead files

add_legitimacy_attacker_defeat_effect

add_legitimacy_attacker_defeat_effect = yes

game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt, line 118 (6 lines). No parameters.

add_legitimacy_attacker_defeat_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 118 of its file. It takes no parameters: add_legitimacy_attacker_defeat_effect = yes. The game's script calls it in 88 places, among them … China's Grand Campaign (casus belli), …-… Bloc Supremacy War (casus belli) and …… Ancestral Claim on … (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.

What it does

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

The script as written (6 lines of game script)
add_legitimacy_attacker_defeat_effect = {
	war_end_legitimacy_effect = {
		WINNER = scope:defender
		LOSER = scope:attacker
	}
}

As written in game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.

Where it is used

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

Casus belli (88)

82 more

Source: game/common/scripted_effects/06_dlc_ce1_legitimacy_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?