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_reward_effect

coronation_oath_reward_effect = { VARIABLE = … }

game/common/scripted_effects/10_ach_effects.txt, line 726 (68 lines). Parameters: $VARIABLE$.

coronation_oath_reward_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 726 of its file. A call passes 1 parameter: VARIABLE. The game's script calls it in 2 places, among them Fulfilled Oath: … (event coronation_events.0175) and coronation_oath_success_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (68 lines of game script)
coronation_oath_reward_effect = {
	save_scope_value_as = {
		name = oath_base_value
		value = {
			value = 200
			switch = {
				trigger = var:$VARIABLE$
				2 = {
					multiply = {
						value = 1
						add = 0.4
					}
				}
				3 = {
					multiply = {
						value = 1
						add = {
							value = 0.4
							multiply = 2
						}
					}
				}
				4 = {
					multiply = {
						value = 1
						add = {
							value = 0.4
							multiply = 3
						}
					}
				}
				5 = {
					multiply = {
						value = 1
						add = {
							value = 0.4
							multiply = 4
						}
					}
				}
				6 = {
					multiply = {
						value = 1
						add = {
							value = 0.4
							multiply = 5
						}
					}
				}
				7 = {
					multiply = {
						value = 1
						add = {
							value = 0.4
							multiply = 6
						}
					}
				}
			}
		}
	}
	coronation_oath_legitimacy_effect = { VALUE = scope:oath_base_value }
	coronation_oath_prestige_effect = { 
		VALUE = scope:oath_base_value 
		PRESTIGE_MULTIPLIER = 2
	}
	remove_variable = $VARIABLE$
}

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_reward_effect.

Events (1)

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?