Scripted effect · All Under Heaven files
gather_contributors_in_list_effect
gather_contributors_in_list_effect = yesgame/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 22 (23 lines). No parameters.
gather_contributors_in_list_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 22 of its file. It takes no parameters: gather_contributors_in_list_effect = yes. The game's script calls it in 5 places, among them mandala_capital_01 (great project), mandala_capital_02 (great project) and mandala_capital_03 (great project). Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.
What it does
- Every contribution:
- Where:
contribution_is_funded = yes
contributor = { … }
- Where:
• 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 (23 lines of game script)
gather_contributors_in_list_effect = {
every_contribution = {
limit = { contribution_is_funded = yes }
contributor = {
if = {
limit = {
scope:great_project = {
trigger_if = {
limit = { has_variable = plundered_contributors }
NOT = {
is_target_in_variable_list = {
name = plundered_contributors
target = prev
}
}
}
}
}
add_to_list = contributors_to_reward
}
}
}
}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 gather_contributors_in_list_effect.
Great projects (5)
- mandala_capital_01
- mandala_capital_02
- mandala_capital_03
- mandala_capital_04
- mandala_capital_05
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.