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_converter_piety_effect

mandala_converter_piety_effect = yes

game/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 1652 (14 lines). No parameters.

mandala_converter_piety_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1652 of its file. It takes no parameters: mandala_converter_piety_effect = yes. The game's script calls it in 2 places, among them demand_conversion_interaction_effect (scripted effect) and mandala_assimilation_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

The comment above it in the file

Conversion Effects

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 (14 lines of game script)
mandala_converter_piety_effect = {
	#Mandala conversion!
	if = {
		limit = { government_has_flag = government_is_mandala }
		if = {
			limit = { has_realm_law = mandala_decree_reverence }
			add_piety = {
				add = medium_piety_gain
				multiply = 1.5
			}
		}
		else = { add_piety = medium_piety_gain }
	}
}

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

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?