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

Scripted effect · Roads to Power files

ep3_peasant_leader_widget_clear_effect

ep3_peasant_leader_widget_clear_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 12936 (5 lines). No parameters.

ep3_peasant_leader_widget_clear_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 12936 of its file. It takes no parameters: ep3_peasant_leader_widget_clear_effect = yes. The game's script calls it in 4 places, among them Contract: Fight Corruption (event ep3_contract_event.0092), Contract: Fight Corruption (event ep3_contract_event.0093) and Contract: Fight Corruption (event ep3_contract_event.0094). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

The comment above it in the file

Used for clearing widget data from the participants

What it does

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

The script as written (5 lines of game script)
ep3_peasant_leader_widget_clear_effect = {
	remove_variable = support_gui
	remove_variable = control_gui
	remove_variable = num_of_corrupt_counties_gui
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

Events (4)

Source: game/common/scripted_effects/07_dlc_ep3_scripted_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?