Scripted effect · Roads to Power files
ep3_harrying_widget_setup_effect
ep3_harrying_widget_setup_effect = yesgame/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)
- A Traitor's Comfort
ep3_story_cycle_harrying.3020 - A True …
ep3_story_cycle_harrying.1011 - A Way Out
ep3_story_cycle_harrying.3011 - Blades in the Mist
ep3_story_cycle_harrying.3005 - Confronting a Viper
ep3_story_cycle_harrying.3021 - Crumbling Souls
ep3_story_cycle_harrying.2000
15 more
- Deciding a Fate
ep3_story_cycle_harrying.1010 - Flickering Flames
ep3_story_cycle_harrying.1015 - Forging a Position
ep3_story_cycle_harrying.2015 - Freedom
ep3_story_cycle_harrying.3057 - From The Sea
ep3_story_cycle_harrying.3015 - No More
ep3_story_cycle_harrying.3022 - Stay of Execution
ep3_story_cycle_harrying.2005 - The Devil's Deal
ep3_story_cycle_harrying.3052 - The Devil's Due
ep3_story_cycle_harrying.3054 - The Great North Road
ep3_story_cycle_harrying.1005 - The Greater Good
ep3_story_cycle_harrying.3000 - There Is Another
ep3_laamps.7001 - Up In Flames
ep3_story_cycle_harrying.1000 - War Effort
ep3_story_cycle_harrying.2010 - Your Money or Your Life
ep3_story_cycle_harrying.3010
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.