Scripted effect · All Under Heaven files
mandala_contributor_sanctified_domes_reward_effect
mandala_contributor_sanctified_domes_reward_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 137 (21 lines). No parameters.
mandala_contributor_sanctified_domes_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 137 of its file. It takes no parameters: mandala_contributor_sanctified_domes_reward_effect = yes. The game's script calls it in 2 places, among them mandala_capital_01 (great project) and contributed_sanctified_domes_effect (scripted effect). 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
- The … Dynasty gains Sanctified Domes
If
a check the game hides
Then
add_prestige = { … }
• 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 (21 lines of game script)
mandala_contributor_sanctified_domes_reward_effect = {
custom_tooltip = mandala_contributor_sanctified_domes_reward_effect_tt
if = {
limit = { this != scope:owner }
add_prestige = {
value = {
add = mandala_contribution_medium_prestige_reward
multiply = 1.5
#Rounds up to the closest number divisible by 5
divide = 5
ceiling = yes
multiply = 5
}
}
}
hidden_effect = {
scope:owner.dynasty = {
add_dynasty_modifier = { modifier = mandala_sanctified_domes_dynasty_modifier }
}
}
}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_contributor_sanctified_domes_reward_effect.
Great projects (1)
- mandala_capital_01
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.