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_harrying_widget_setup_effect

ep3_harrying_widget_setup_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 12303 (17 lines). No parameters.

ep3_harrying_widget_setup_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 12303 of its file. It takes no parameters: ep3_harrying_widget_setup_effect = yes. The game's script calls it in 21 places, among them A Traitor's Comfort (event ep3_story_cycle_harrying.3020), A True … (event ep3_story_cycle_harrying.1011) and A Way Out (event ep3_story_cycle_harrying.3011). 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 Harrying of the North widget for events
Requires use of ep3_harrying_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 (17 lines of game script)
ep3_harrying_widget_setup_effect = {
	## First, identify our widget character.
	save_scope_as = scope_character
	## Then transfer over some suitable variables for the UI.
	if = {
		limit = { exists = global_var:harrying_of_the_north }
		global_var:harrying_of_the_north = { save_scope_as = story }
		set_variable = {
			name = pacification_gui
			value = scope:story.var:pacification
		}
		set_variable = {
			name = resistance_gui
			value = scope:story.var:resistance
		}
	}
}

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

Events (21)

15 more

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?