Scripted effect
on_lost_aggression_war_discontent_loss
on_lost_aggression_war_discontent_loss = yesgame/common/scripted_effects/00_war_effects.txt, line 1097 (10 lines). No parameters.
on_lost_aggression_war_discontent_loss is a scripted effect in Crusader Kings III, written at line 1097 of its file. It takes no parameters: on_lost_aggression_war_discontent_loss = yes. The game's script calls it in 90 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/00_war_effects.txt.
What it does
scope:loser:If
has_targeting_faction = yes
Then
add_targeting_factions_discontent = 25
• 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)
on_lost_aggression_war_discontent_loss = {
scope:loser = {
if = {
limit = {
has_targeting_faction = yes
}
add_targeting_factions_discontent = 25
}
}
}As written in game/common/scripted_effects/00_war_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls on_lost_aggression_war_discontent_loss.
Casus belli (90)
- … China's Grand Campaign
- …-… Bloc Supremacy War
- …… Ancestral Claim on …
- ……-… Vassalization War (Dynastic Cycle)
- Adventurer Invasion
- Adventurer Invasion
84 more
- Adventurer Invasion
- Adventurer Invasion
- Azariqa Rebellion
- Bloc Expansion
- Border Raid
- Border Raid against the Roman Empire
- Bring Under Tribute
- Chinese Consolidation War
- Chinese Consolidation War
- Claim
- Clan Invasion
- County Conquest
- County Expansion
- Crusader War for Imperial Claim
- De Jure
- Demand Fealty
- Diarch Seizure
- Dismantle Pretender
- Dismantle Pretender
- Domination War
- Ducal Conquest
- Duchy Conquest
- Duchy Expansion
- Enforce Administrative Integration
- Eradicate Rival House
- Expand Dominance
- Greatest of Khans' Onslaught
- Holy
- 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
- Overrun Kingdom
- Overrun Kingdom
- Pax Romana
- Pillaging Foray
- Plunder for Contribution
- Raid for Captives
- Raid for Captives Contract
- Raiktor's "Claim"
- Raiktor's Claim
- Raze Capital Temple Complex
- Resist Capture
- 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
- Vassalization
- Viking Adventurer
- Zanj Rebellion
Source: game/common/scripted_effects/00_war_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.