Re: [Request] A new hook for alcove "onRemoveItem"
Posted: Sun Oct 07, 2012 12:53 pm
remember that the alcove only activates on the first item put in, so if you place the gem as the second item it wont activate and do this stuff.
Official Legend of Grimrock Forums
http://mail.grimrock.net/forum/
The alcove has this hook from the original asset of LoG:Lilltiger wrote:remember that the alcove only activates on the first item put in, so if you place the gem as the second item it wont activate and do this stuff.
Code: Select all
onInsertItem = function(self, item)
return item.name == "green_gem" and self:getItemCount() == 0
end