CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

clean_up_tax_rivalry_story_variables_effect

clean_up_tax_rivalry_story_variables_effect = yes

game/common/scripted_effects/00_tax_rivalry_effects.txt, line 21 (9 lines). No parameters.

clean_up_tax_rivalry_story_variables_effect is a scripted effect in Crusader Kings III, written at line 21 of its file. It takes no parameters: clean_up_tax_rivalry_story_variables_effect = yes. The game's script calls it in 5 places, among them Budding Profits (event steward_task.2008), steward_task.2006 (event) and steward_task.2007 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_tax_rivalry_effects.txt.

The comment above it in the file

Clears these redundant variables if the tax rivalry story cycle isn't ongoing

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (9 lines of game script)
clean_up_tax_rivalry_story_variables_effect = {
	if = {
		limit = {
			NOT = { any_owned_story = { type = story_cycle_tax_rivalry } }
		}
		remove_variable = story_steward
		remove_variable = story_tax_collector
	}
}

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 clean_up_tax_rivalry_story_variables_effect.

Events (4)

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.

Spotted a mistake on this page?