Scripted effect · All Under Heaven files
mandala_contributor_gilded_domes_reward_effect
mandala_contributor_gilded_domes_reward_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 588 (30 lines). No parameters.
mandala_contributor_gilded_domes_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 588 of its file. It takes no parameters: mandala_contributor_gilded_domes_reward_effect = yes. The game's script calls it in 2 places, among them mandala_capital_03 (great project) and contributed_gilded_domes_effect (scripted effect). Its body carries 3 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
scope:owner.dynasty:If
has_dynasty_modifier = mandala_sanctified_domes_dynasty_modifier
Then
- scope:owner: The … Dynasty gains Gilded Domes · This replaces the Sanctified Domes Modifier
Else if
has_dynasty_modifier = mandala_decorated_domes_dynasty_modifier
Then
Otherwise
- scope:owner: The … Dynasty gains Gilded Domes
• 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 (30 lines of game script)
mandala_contributor_gilded_domes_reward_effect = {
if = {
limit = { this != scope:owner }
add_prestige = mandala_contribution_major_prestige_reward
}
scope:owner.dynasty = {
if = {
limit = { has_dynasty_modifier = mandala_sanctified_domes_dynasty_modifier }
scope:owner = { custom_tooltip = mandala_contributor_sanctified_gilded_domes_reward_effect_tt_replaced }
hidden_effect = {
remove_dynasty_modifier = mandala_sanctified_domes_dynasty_modifier
add_dynasty_modifier = { modifier = mandala_gilded_domes_dynasty_modifier }
}
}
else_if = {
limit = { has_dynasty_modifier = mandala_decorated_domes_dynasty_modifier }
scope:owner = { custom_tooltip = mandala_contributor_decorated_gilded_domes_reward_effect_tt_replaced }
hidden_effect = {
remove_dynasty_modifier = mandala_decorated_domes_dynasty_modifier
add_dynasty_modifier = { modifier = mandala_gilded_domes_dynasty_modifier }
}
}
else = {
scope:owner = { custom_tooltip = mandala_contributor_gilded_domes_reward_effect_tt }
hidden_effect = {
add_dynasty_modifier = { modifier = mandala_gilded_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_gilded_domes_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.