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

Scripted effect · Legends of the Dead files

legendary_building_0001_cleanup

legendary_building_0001_cleanup = yes

game/common/scripted_effects/06_dlc_ce1_leg_b_effects.txt, line 680 (224 lines). No parameters.

legendary_building_0001_cleanup is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 680 of its file. It takes no parameters: legendary_building_0001_cleanup = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_leg_b_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)
legendary_building_0001_cleanup = {
	if = {
		limit = {
			has_character_flag = shrine_of_highgod
		}
		remove_character_flag = shrine_of_highgod
	}
	if = {
		limit = {
			has_character_flag = province_shrine
		}
		remove_character_flag = province_shrine
	}
	if = {
		limit = {
			has_character_flag = shrine_of_healthgod
		}
		remove_character_flag = shrine_of_healthgod
	}
	if = {
		limit = {
			has_character_flag = shrine_of_fertilitygod
		}
		remove_character_flag = shrine_of_fertilitygod
	}
	if = {
		limit = {
			has_character_flag = shrine_of_wealthgod
		}
		remove_character_flag = shrine_of_wealthgod
	}
	if = {
		limit = {
			has_character_flag = shrine_of_wisdom
		}
		remove_character_flag = shrine_of_wisdom
	}
	if = {
		limit = {
			has_character_flag = shrine_of_courage
		}
		remove_character_flag = shrine_of_courage
	}
	if = {
		limit = {
			has_character_flag = wargods_rest
		}
		remove_character_flag = wargods_rest
	}
	if = {
		limit = {
			has_character_flag = figures_mount
		}
		remove_character_flag = figures_mount
	}
	if = {
		limit = {
			has_character_flag = figures_temple
		}
		remove_character_flag = figures_temple
	}
	if = {
		limit = {
			has_character_flag = figures_shrine
		}
		remove_character_flag = figures_shrine
	}
	if = {
		limit = {
			has_character_flag = figures_rest
		}
		remove_character_flag = figures_rest
	}
	if = {
		limit = {
			has_character_flag = figure_at_province
		}
		remove_character_flag = figure_at_province
	}
	if = {
		limit = {
			has_character_flag = queens_palace
		}
		remove_character_flag = queens_palace
	}
	if = {
		limit = {
			has_character_flag = kings_palace
		}
		remove_character_flag = kings_palace
	}
	if = {
		limit = {
			has_character_flag = province_hall
		}
		remove_character_flag = province_hall
	}
	if = {
		limit = {
			has_character_flag = dynasty_hall
		}
		remove_character_flag = dynasty_hall
	}
	if = {
		limit = {
			has_character_flag = dynasty_house
		}
		remove_character_flag = dynasty_house
	}
	if = {
		limit = {
			has_character_flag = figures_manor
		}
		remove_character_flag = figures_manor
	}
	if = {
		limit = {
			has_character_flag = location_house
		}
		remove_character_flag = location_house

As written in game/common/scripted_effects/06_dlc_ce1_leg_b_effects.txt.

The first 120 of its 224 lines; the rest is in game/common/scripted_effects/06_dlc_ce1_leg_b_effects.txt from line 680.

Where it is used

No file of common/, events/ or history/ calls it.

Source: game/common/scripted_effects/06_dlc_ce1_leg_b_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?