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

Scripted effect · Coronations files

coronation_oath_prestige_effect

coronation_oath_prestige_effect = { PRESTIGE_MULTIPLIER = … VALUE = … }

game/common/scripted_effects/10_ach_effects.txt, line 813 (18 lines). Parameters: $PRESTIGE_MULTIPLIER$, $VALUE$.

coronation_oath_prestige_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 813 of its file. A call passes 2 parameters: PRESTIGE_MULTIPLIER and VALUE. The game's script calls it in 1 place, among them coronation_oath_reward_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

What it does

• 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 (18 lines of game script)
coronation_oath_prestige_effect = {
	save_scope_value_as = {
		name = base_value
		value = {
			value = $VALUE$
			multiply = $PRESTIGE_MULTIPLIER$
			if = { # When Legitimacy gain goes down, Prestige gain goes up
				limit = {
					root.legitimacy_level >= 5
				}
				multiply = 1.5
			}
			#Balancing down because wow
			multiply = 0.5
		}
	}
	add_prestige = scope:base_value
}

As written in game/common/scripted_effects/10_ach_effects.txt.

Where it is used

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

Scripted effects (1)

Source: game/common/scripted_effects/10_ach_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?