Scripted effect · All Under Heaven files
mandala_contributor_divine_statues_reward_effect
mandala_contributor_divine_statues_reward_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 451 (29 lines). No parameters.
mandala_contributor_divine_statues_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 451 of its file. It takes no parameters: mandala_contributor_divine_statues_reward_effect = yes. The game's script calls it in 2 places, among them mandala_capital_03 (great project) and contributed_divine_statues_effect (scripted effect). Its body carries 2 texts 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 a check the game hides passes: the same again (1 line)
- Holding of … gains Divine Statues
Otherwise
- Holding of … gains Divine Statues
• 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 (29 lines of game script)
mandala_contributor_divine_statues_reward_effect = {
if = {
limit = { this != scope:owner }
add_prestige = {
value = {
add = mandala_contribution_medium_prestige_reward
multiply = 1.5
}
}
add_piety_experience = mandala_contribution_medium_piety_reward
}
if = {
limit = { exists = scope:province }
custom_tooltip = mandala_contributor_divine_statues_reward_province_effect_tt
hidden_effect = {
scope:province = {
add_province_modifier = { modifier = mandala_divine_statues_province_modifier }
}
}
}
else = {
custom_tooltip = mandala_contributor_divine_statues_reward_effect_tt
hidden_effect = {
scope:owner.capital_province = {
add_province_modifier = { modifier = mandala_divine_statues_province_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_divine_statues_reward_effect.
Great projects (1)
- mandala_capital_03
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.