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

Scripted effect · The Royal Court files

petition_ceremonial_liege_variable_cleanup_effect

petition_ceremonial_liege_variable_cleanup_effect = yes

game/common/scripted_effects/00_ep1_hold_court_effects.txt, line 1650 (22 lines). No parameters.

petition_ceremonial_liege_variable_cleanup_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 1650 of its file. It takes no parameters: petition_ceremonial_liege_variable_cleanup_effect = yes. The game's script calls it in 1 place, among them petition_liege.9120 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_hold_court_effects.txt.

What it does

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

The script as written (22 lines of game script)
petition_ceremonial_liege_variable_cleanup_effect = {
	if = {
		limit = { has_variable = petition_ceremonial_liege_scope }
		remove_variable = petition_ceremonial_liege_scope
	}
	if = {
		limit = { has_variable = petition_type }
		remove_variable = petition_type
	}
	if = {
		limit = { has_character_flag = petition_ceremonial_liege_character_flag }
		remove_character_flag = petition_ceremonial_liege_character_flag
	}
	if = {
		limit = { has_variable_list = available_petitions }
		clear_variable_list = available_petitions
	}
	if = {
		limit = { has_variable_list = petitions_to_show }
		clear_variable_list = petitions_to_show
	}
}

As written in game/common/scripted_effects/00_ep1_hold_court_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls petition_ceremonial_liege_variable_cleanup_effect.

Source: game/common/scripted_effects/00_ep1_hold_court_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?