Scripted effect · All Under Heaven files
mandala_change_between_aspects_effect
mandala_change_between_aspects_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 2425 (25 lines). No parameters.
mandala_change_between_aspects_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2425 of its file. It takes no parameters: mandala_change_between_aspects_effect = yes. The game's script calls it in 4 places, among them aspect_of_creation (house aspirations), aspect_of_destruction (house aspirations) and aspect_of_serenity (house aspirations). 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
If
None of these
- Their house:
has_default_house_aspiration = yes
- Their house:
Then
- If has “changed aspect once” (a variable the game's script sets): Level of Devotion -1
- Otherwise: You may change Mandala Aspect once per lifetime before incurring penalties
• 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 (25 lines of game script)
mandala_change_between_aspects_effect = {
if = {
limit = {
NOT = {
house = { has_default_house_aspiration = yes }
}
}
if = {
limit = { has_variable = changed_aspect_once }
add_piety_level = -1
}
else = {
custom_tooltip = {
text = change_aspect_once_per_lifetime.tt
set_variable = changed_aspect_once
}
}
if = {
limit = {
NOT = { has_character_flag = devaraja_flag }
}
add_character_flag = devaraja_flag
}
}
}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_change_between_aspects_effect.
House aspirations (4)
- aspect_of_creation
- aspect_of_destruction
- aspect_of_serenity
- aspect_of_trickery
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.