Scripted effect · Legends of the Dead files
add_legitimacy_attacker_defeat_effect
add_legitimacy_attacker_defeat_effect = yesgame/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)
- … China's Grand Campaign
- …-… Bloc Supremacy War
- …… Ancestral Claim on …
- Artifact
- Azariqa Rebellion
- Bloc Expansion
82 more
- Border Raid
- Border Raid against the Roman Empire
- Chinese Consolidation War
- Chinese Consolidation War
- Claim
- Clan Invasion
- County Conquest
- County Expansion
- De Jure
- Demand Fealty
- Diarch Seizure
- Dismantle Pretender
- Dismantle Pretender
- Dissolve Empire
- Domination War
- Ducal Conquest
- Duchy Conquest
- Duchy Expansion
- Enforce Administrative Integration
- Eradicate Rival House
- Establish Sōryō Administration
- Excommunication
- Expand Dominance
- Great Holy War
- Great Holy War
- Greatest of Khans' Onslaught
- Holy
- Holy Relic Reclamation
- Humiliation War
- Humiliation War
- Iberian Reclamation
- Imperial County Pacification
- Imperial Expedition
- Imperial Reconquest
- Imperial Reconquest of Japan (De Jure)
- Individual De Jure County
- Individual De Jure Duchy
- Invasion
- Invasion
- Invasion
- Invasion
- Laudabiliter Conquest
- Legendary Adventure
- Major Holy
- Mediterranean Conquest
- Migrate to Pannonia
- Migration War
- Minor Holy
- Mongol Invasion
- Mongol Realm Invasion
- Naval County Expansion
- Naval Duchy Expansion
- Nomadic County Quarrel
- Nomadic Duchy Quarrel
- Nomadic Invasion
- Overrun Kingdom
- Overrun Kingdom
- Pax Romana
- Pillaging Foray
- Plunder for Contribution
- Raid for Captives
- Raze Capital Temple Complex
- Retaliation War
- Seize Hegemonic County
- Seize Hegemonic County
- Seize Hegemonic Duchy
- Seize Hegemonic Duchy
- Seize Imperial Duchy
- Seize Peripheral Duchy
- Seize the Mandate of Heaven
- Sōryō Conquest
- Sōryō Conquest
- Sovereignty War
- Sponsored Administrative War
- Sponsored Conquest
- Struggle Clash
- Subjugation
- Varangian Adventurer
- Viking Adventurer
- Zanj Rebellion
- debug_artifact_war
- debug_war
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.