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

Scripted effect · All Under Heaven files

mandala_trickster_increment_gold_ransomed_effect

mandala_trickster_increment_gold_ransomed_effect = { GOLD_AMOUNT = … }

game/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 2478 (12 lines). Parameters: $GOLD_AMOUNT$.

mandala_trickster_increment_gold_ransomed_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2478 of its file. A call passes 1 parameter: GOLD_AMOUNT. The game's script calls it in 1 place, among them ransom_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_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 (12 lines of game script)
mandala_trickster_increment_gold_ransomed_effect = {
	if = {
		limit = {
			government_has_flag = government_is_mandala
			house ?= { has_house_aspiration_parameter = aspect_of_trickery }
		}
		increment_variable_effect = {
			VAR = amount_of_gold_ransomed
			VAL = $GOLD_AMOUNT$
		}
	}
}

As written in game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

Where it is used

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

Scripted effects (1)

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