Scripted effect · All Under Heaven files
mandala_converter_piety_effect
mandala_converter_piety_effect = yesgame/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
- If government uses the Mandala Capital Temple Complex Great Project and Great Building:
- If has the Reverence Decree Law:
add_piety = { add = medium_piety_gain multiply = 1.5 }
- Otherwise: Gain +100 Piety
- If has the Reverence Decree Law:
• 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.
Scripted effects (2)
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.