Scripted effect · All Under Heaven files
increase_budget_salary_effect
increase_budget_salary_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 814 (17 lines). No parameters.
increase_budget_salary_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 814 of its file. It takes no parameters: increase_budget_salary_effect = yes. The game's script calls it in 2 places, among them grant_movement_petition_effect (scripted effect) and grant_movement_petition_tooltip_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
scope:hegemon:If
scope:petitioner.var:budget_change ?= flag:decrease_ministry
Then
change_realm_law_level = { law_group = budget_allocation_salary_law change = 1 }change_realm_law_level = { law_group = budget_allocation_ministry_law change = -1 }
Otherwise
change_realm_law_level = { law_group = budget_allocation_salary_law change = 1 }change_realm_law_level = { law_group = budget_allocation_military_law change = -1 }
enact_treasury_budgets_no_costs = yes
• 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 (17 lines of game script)
increase_budget_salary_effect = {
scope:hegemon = {
if = {
limit = {
scope:petitioner.var:budget_change ?= flag:decrease_ministry
}
change_realm_law_level = { law_group = budget_allocation_salary_law change = 1 }
change_realm_law_level = { law_group = budget_allocation_ministry_law change = -1 }
}
else = {
change_realm_law_level = { law_group = budget_allocation_salary_law change = 1 }
change_realm_law_level = { law_group = budget_allocation_military_law change = -1 }
}
enact_treasury_budgets_no_costs = yes
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls increase_budget_salary_effect.
Scripted effects (2)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.