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

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

    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.

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.

Spotted a mistake on this page?