Scripted effect · All Under Heaven files
tgp_treasury_enact_meritocratic_balanced_budget_effect
tgp_treasury_enact_meritocratic_balanced_budget_effect = yesgame/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3514 (19 lines). No parameters.
tgp_treasury_enact_meritocratic_balanced_budget_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3514 of its file. It takes no parameters: tgp_treasury_enact_meritocratic_balanced_budget_effect = yes. The game's script calls it in 2 places, among them The … Treasury (event tgp_china_ministry.0100) and The … Treasury (event tgp_china_ministry.0101). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
- Enact a Treasury Budget with the following: Salary Budget is set to 45% · Military Budget is set to 45%
• 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 (19 lines of game script)
tgp_treasury_enact_meritocratic_balanced_budget_effect = {
custom_tooltip = {
text = tgp_treasury_enact_meritocratic_balanced_budget_desc
if = {
limit = {
NOT = { has_realm_law = budget_allocation_salary_45 }
}
add_realm_law = budget_allocation_salary_45
}
if = {
limit = {
NOT = { has_realm_law = budget_allocation_military_45 }
}
add_realm_law = budget_allocation_military_45
}
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 tgp_treasury_enact_meritocratic_balanced_budget_effect.
Events (2)
- The … Treasury
tgp_china_ministry.0100 - The … Treasury
tgp_china_ministry.0101
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.