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_setup_effect

ep3_peasant_leader_widget_setup_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 12869 (14 lines). No parameters.

ep3_peasant_leader_widget_setup_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 12869 of its file. It takes no parameters: ep3_peasant_leader_widget_setup_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 setting up the Peasant Leader widget for events
Requires use of ep3_peasant_leader_widget_clear_effect in the 'after' as well

What it does

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

The script as written (14 lines of game script)
ep3_peasant_leader_widget_setup_effect = {
	set_variable = {
		name = support_gui
		value = scope:task_contract.var:support
	}
	set_variable = {
		name = control_gui
		value = scope:task_contract.var:control
	}
	set_variable = {
		name = num_of_corrupt_counties_gui
		value = scope:task_contract.var:num_of_corrupt_counties
	}
}

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_setup_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?