Remove (all) items from an Alcove?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Resu
Posts: 141
Joined: Tue Nov 10, 2015 12:09 am

Remove (all) items from an Alcove?

Post by Resu »

Hey Guys,

does anyone know how to remove Items from alcoves? I didnt find the
command anywhere..
User avatar
maneus
Posts: 246
Joined: Mon Jun 17, 2013 10:42 pm
Location: Switzerland

Re: Remove (all) items from an Alcove?

Post 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()
User avatar
Resu
Posts: 141
Joined: Tue Nov 10, 2015 12:09 am

Re: Remove (all) items from an Alcove?

Post 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
Post Reply