Scripted effect · All Under Heaven files
change_to_mandala_government_decree_effect
change_to_mandala_government_decree_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 1527 (10 lines). No parameters.
change_to_mandala_government_decree_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1527 of its file. It takes no parameters: change_to_mandala_government_decree_effect = yes. The game's script calls it in 4 places, among them Adopt Mandala Government (decision), on_game_start_after_lobby (on action) and change_to_mandala_government_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
mandala_nuke_realm_laws_effect = yes- If does NOT have the No Decree Law: Adopts the No 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 (10 lines of game script)
change_to_mandala_government_decree_effect = {
#Nuke all laws
mandala_nuke_realm_laws_effect = yes
if = {
limit = {
NOT = { has_realm_law = mandala_decree_none }
}
add_realm_law_skip_effects = mandala_decree_none
}
}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 change_to_mandala_government_decree_effect.
Decisions (1)
On actions (the game's own hooks) (1)
- on_game_start_after_lobby
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.