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_laamp_support_variable_cleanup_effect

ep3_laamp_support_variable_cleanup_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 1954 (22 lines). No parameters.

ep3_laamp_support_variable_cleanup_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 1954 of its file. It takes no parameters: ep3_laamp_support_variable_cleanup_effect = yes. The game's script calls it in 4 places, among them Adventurer Invasion (casus belli), Adventurer Invasion (casus belli) and Adventurer Invasion (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_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)
ep3_laamp_support_variable_cleanup_effect = {
	if = {
		limit = { exists = var:adventurer_invasion_supporter }
		save_scope_as = adventurer
		var:adventurer_invasion_supporter ?= { save_scope_as = supporter }
		var:adventurer_invasion_target ?= { save_scope_as = war_target }
	}
	else_if = {
		limit = { exists = var:adventurer_invasion_supportee }
		var:adventurer_invasion_supportee ?= { save_scope_as = adventurer }
		var:adventurer_invasion_target ?= { save_scope_as = war_target }
		save_scope_as = supporter
	}
	scope:adventurer ?= {
		remove_variable = adventurer_invasion_supporter
		remove_variable = adventurer_invasion_target
	}
	scope:supporter ?= {
		remove_variable = adventurer_invasion_supportee
		remove_variable = adventurer_invasion_target
	}
}

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

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?