Scripted effect
create_tax_rivalry_story_effect
create_tax_rivalry_story_effect = yesgame/common/scripted_effects/00_tax_rivalry_effects.txt, line 4 (15 lines). No parameters.
create_tax_rivalry_story_effect is a scripted effect in Crusader Kings III, written at line 4 of its file. It takes no parameters: create_tax_rivalry_story_effect = yes. The game's script calls it in 5 places, among them Budding Profits (event steward_task.2005), Budding Profits (event steward_task.2008) and Set the Scale (event fp3_yearly.2020). Patch 1.20.1.2, from game/common/scripted_effects/00_tax_rivalry_effects.txt.
The comment above it in the file
NOTE: This effect needs var:story_steward and var:tax_collector to be set
What it does
Otherwise
• 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 (15 lines of game script)
create_tax_rivalry_story_effect = {
if = {
limit = {
is_ai = no # Don't care about AI enough to trigger this cycle for them
government_has_flag = government_is_clan
exists = house
exists = var:story_steward
exists = var:story_tax_collector
}
create_story = story_cycle_tax_rivalry
}
else = {
clean_up_tax_rivalry_story_variables_effect = yes
}
}As written in game/common/scripted_effects/00_tax_rivalry_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls create_tax_rivalry_story_effect.
Events (5)
- Budding Profits
steward_task.2005 - Budding Profits
steward_task.2008 - Set the Scale
fp3_yearly.2020 - Set the Scale
fp3_yearly.2021 - Twice Taxed
steward_task.1005
Source: game/common/scripted_effects/00_tax_rivalry_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.