Scripted effect · All Under Heaven files
mandala_contributor_ornate_reliefs_reward_effect
mandala_contributor_ornate_reliefs_reward_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 163 (22 lines). No parameters.
mandala_contributor_ornate_reliefs_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 163 of its file. It takes no parameters: mandala_contributor_ornate_reliefs_reward_effect = yes. The game's script calls it in 2 places, among them mandala_capital_01 (great project) and contributed_ornate_reliefs_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
If
a check the game hides
Then
If a check the game hides passes: the same again (1 line)
scope:province:add_province_modifier = { modifier = mandala_ornate_reliefs_tax_province_modifier }
Otherwise
scope:owner.capital_province:add_province_modifier = { modifier = mandala_ornate_reliefs_tax_province_modifier }
Otherwise
- Gains the modifier “Tourist Tax” for 10 years
- Monthly Income +30%
• 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 (22 lines of game script)
mandala_contributor_ornate_reliefs_reward_effect = {
if = {
limit = { this = scope:owner }
if = {
limit = { exists = scope:province }
scope:province = {
add_province_modifier = { modifier = mandala_ornate_reliefs_tax_province_modifier }
}
}
else = {
scope:owner.capital_province = {
add_province_modifier = { modifier = mandala_ornate_reliefs_tax_province_modifier }
}
}
}
else = {
add_character_modifier = {
modifier = mandala_ornate_reliefs_tax_modifier
years = 10
}
}
}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_ornate_reliefs_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.