Scripted effect
pay_short_term_gold_reparations_effect
pay_short_term_gold_reparations_effect = { GOLD_VALUE = … }game/common/scripted_effects/00_war_effects.txt, line 2474 (38 lines). Parameters: $GOLD_VALUE$.
pay_short_term_gold_reparations_effect is a scripted effect in Crusader Kings III, written at line 2474 of its file. A call passes 1 parameter: GOLD_VALUE. The game's script calls it in 72 places, among them … China's Grand Campaign (casus belli), …… Ancestral Claim on … (casus belli) and ……-… Vassalization War (Dynastic Cycle) (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/00_war_effects.txt.
What it does
If
One of these
- Has a Adventurer Government
or
Monthly character income at most 0
Then
pay_short_term_gold = { … }
Otherwise
pay_short_term_gold = { … }
• 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 (38 lines of game script)
pay_short_term_gold_reparations_effect = {
if = {
limit = {
OR = {
has_government = landless_adventurer_government
monthly_character_income <= 0 # accommodate for reparations by characters without income, like viking conquerors
}
}
pay_short_term_gold = {
gold = {
value = medium_gold_value
multiply = $GOLD_VALUE$
if = {
limit= {
scope:defender.culture = { has_cultural_parameter = more_gold_for_successful_defensive_wars }
}
multiply = 2
}
}
target = scope:defender
}
}
else = {
pay_short_term_gold = {
gold = {
value = $GOLD_VALUE$
if = {
limit= {
scope:defender.culture = { has_cultural_parameter = more_gold_for_successful_defensive_wars }
}
multiply = 2
}
}
target = scope:defender
yearly_income = yes # STANDARD
}
}
}As written in game/common/scripted_effects/00_war_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pay_short_term_gold_reparations_effect.
Casus belli (72)
- … China's Grand Campaign
- …… Ancestral Claim on …
- ……-… Vassalization War (Dynastic Cycle)
- Adventurer Invasion
- Adventurer Invasion
- Adventurer Invasion
66 more
- Adventurer Invasion
- Artifact
- Azariqa Rebellion
- Border Raid
- Border Raid against the Roman Empire
- 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
- Expand Dominance
- Great War of Defiance
- Greatest of Khans' Onslaught
- Holy Relic Reclamation
- Humiliation War
- Humiliation War
- Iberian Reclamation
- Imperial County Pacification
- Imperial Reconquest
- Imperial Reconquest of Japan (De Jure)
- Individual De Jure County
- Individual De Jure Duchy
- Invasion
- Invasion
- Laudabiliter Conquest
- Legendary Adventure
- Mediterranean Conquest
- Migrate to Pannonia
- Migration War
- Naval County Expansion
- Naval Duchy Expansion
- Nomadic County Quarrel
- Nomadic Duchy Quarrel
- Overrun Kingdom
- Overrun Kingdom
- Pillaging Foray
- Raiktor's "Claim"
- Raiktor's Claim
- Remove Regent
- 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
- Sovereignty War
- Sponsored Administrative War
- Sponsored Conquest
- Struggle Clash
- Subjugation
- Varangian Adventurer
- Vassalization
- Viking Adventurer
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.