Scripted effect · All Under Heaven files
mandala_not_quite_depose_effect
mandala_not_quite_depose_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 1210 (18 lines). No parameters.
mandala_not_quite_depose_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1210 of its file. It takes no parameters: mandala_not_quite_depose_effect = yes. The game's script calls it in 2 places, among them Depose (casus belli) and Rebellion (casus belli). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
- Level of Devotion changes
- Gain -5,000 Piety
- If number of tributaries more than 0: … … all Tributaries
- Gains the modifier “Tarnished Mandala” for 10 years
- General Opinion -5
• 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)
mandala_not_quite_depose_effect = {
#Your piety
add_piety_level = remove_piety_levels_value
add_piety = -5000
#Your tributaries
if = {
limit = { number_of_tributaries > 0 }
custom_tooltip = {
text = mandala_depose_war_leaving_tributaries.tt
every_tributary = { end_tributary = yes }
}
}
#Your radiance
add_character_modifier = {
modifier = recently_tarnished_mandala_modifier
years = 10
}
}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_not_quite_depose_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.