Scripted effect · All Under Heaven files
change_to_mandala_government_and_citadel_effect
change_to_mandala_government_and_citadel_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 1248 (10 lines). No parameters.
change_to_mandala_government_and_citadel_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1248 of its file. It takes no parameters: change_to_mandala_government_and_citadel_effect = yes. The game's script calls it in 3 places, among them My Devaraja (event tgp_east_asia_decision_events.0020), New Horizons (event tgp_east_asia_decision_events.0010) and change_to_mandala_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
- If government is a Tribal-type Government:
- Otherwise:
change_to_mandala_government_effect = yes
• 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_and_citadel_effect = {
if = {
limit = { government_has_flag = government_is_tribal }
change_tribal_holdings_to_citadels_effect = yes #Includes change_to_mandala_government_effect
}
else = {
change_capital_holding_to_citadel_effect = yes #Includes change_to_mandala_government_effect
}
show_as_tooltip = { change_to_mandala_government_effect = yes }
}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_and_citadel_effect.
Events (2)
- My Devaraja
tgp_east_asia_decision_events.0020 - New Horizons
tgp_east_asia_decision_events.0010
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.