Scripted effect · All Under Heaven files
check_and_reward_contributions_02_effect
check_and_reward_contributions_02_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 361 (34 lines). No parameters.
check_and_reward_contributions_02_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 361 of its file. It takes no parameters: check_and_reward_contributions_02_effect = yes. The game's script calls it in 2 places, among them Capital Rewards (event tgp_east_asia_mandala_capital_events.1010) and Capital: the Divine Temple Palace (event tgp_east_asia_mandala_capital_events.1000). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
The comment above it in the file
The actual effect
What it does
• 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 (34 lines of game script)
check_and_reward_contributions_02_effect = {
if = {
limit = { scope:contributed_rite_of_worthiness ?= root }
contributed_rites_of_worthiness_effect = yes
}
if = {
limit = { scope:contributed_brick ?= root }
contributed_brick_effect = yes
}
if = {
limit = { scope:contributed_tiles ?= root }
contributed_tiles_effect = yes
}
if = {
limit = { scope:contributed_shallow_pools ?= root }
contributed_shallow_pools_effect = yes
}
if = {
limit = { scope:contributed_work_force ?= root }
contributed_work_force_effect = yes
}
if = {
limit = { scope:contributed_decorative_tiles ?= root }
contributed_decorative_tiles_effect = yes
}
if = {
limit = { scope:contributed_decorated_domes ?= root }
contributed_decorated_domes_effect = yes
}
if = {
limit = { scope:contributed_family_statues ?= root }
contributed_family_statues_effect = yes
}
}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 check_and_reward_contributions_02_effect.
Events (2)
- Capital Rewards
tgp_east_asia_mandala_capital_events.1010 - Capital: the Divine Temple Palace
tgp_east_asia_mandala_capital_events.1000
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.