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

Scripted effect

laamp_clear_domicile_buildings_liquidator_effect

laamp_clear_domicile_buildings_liquidator_effect = yes

game/common/scripted_effects/00_laamp_effects.txt, line 1238 (439 lines). No parameters.

laamp_clear_domicile_buildings_liquidator_effect is a scripted effect in Crusader Kings III, written at line 1238 of its file. It takes no parameters: laamp_clear_domicile_buildings_liquidator_effect = yes. The game's script calls it in 2 places, among them ep3_become_landed_transfer_effect (scripted effect) and procure_estate_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_laamp_effects.txt.

What it does

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

The script as written (120 lines of game script)
laamp_clear_domicile_buildings_liquidator_effect = {
	save_scope_as = liquidator
	set_variable = {
		name = liquidation_proceeds
		value = 0
	}
	domicile ?= {
		if = {
			limit = { has_domicile_building = camp_main_04 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_main_value_4 } }
		}
		if = {
			limit = { has_domicile_building = camp_main_03 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_main_value_3 } }
		}
		if = {
			limit = { has_domicile_building = camp_main_02 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_main_value_2 } }
		}
		if = {
			limit = { has_domicile_building = camp_main_01 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_main_value_1 } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_sutler }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_mender }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_smithy }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_arsenal }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_reserve_provisions }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_reserve_water }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_climbing_gear }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_subdued_gear }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_06 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_6 } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_05 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_5 } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_04 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_4 } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_03 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_3 } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_02 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_2 } }
		}
		if = {
			limit = { has_domicile_building = supply_tent_01 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_1 } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_surgeons_tools }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_dentists_tools }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_torturers_tools }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_reference_corpus }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_morticians_tools }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_internal_value } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_06 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_6 } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_05 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_5 } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_04 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_4 } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_03 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_3 } }
		}
		if = {
			limit = { has_domicile_building = barber_tent_02 }
			scope:liquidator = { change_variable = { name = liquidation_proceeds add = liquidate_camp_external_value_2 } }
		}
		if = {

As written in game/common/scripted_effects/00_laamp_effects.txt.

The first 120 of its 439 lines; the rest is in game/common/scripted_effects/00_laamp_effects.txt from line 1238.

Where it is used

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

Source: game/common/scripted_effects/00_laamp_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?