Page 1 of 1

Remove (all) items from an Alcove?

Posted: Thu Nov 09, 2017 3:44 pm
by Resu
Hey Guys,

does anyone know how to remove Items from alcoves? I didnt find the
command anywhere..

Re: Remove (all) items from an Alcove?

Posted: Thu Nov 09, 2017 7:06 pm
by maneus
I did it with:

Code: Select all

for i in name_of_your_alcove:containedItems() do
				if i.name == "your_item_name" then
			i:destroy()

Re: Remove (all) items from an Alcove?

Posted: Wed Nov 15, 2017 4:52 am
by Resu
Thank you for your answer!
I hope that is enough to script all what I have in mind for my Mod Update :D