[Request] A new hook for alcove "onRemoveItem"
Re: [Request] A new hook for alcove "onRemoveItem"
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.
Re: [Request] A new hook for alcove "onRemoveItem"
it will if you turn on activate always
Finished Dungeons - complete mods to play
Re: [Request] A new hook for alcove "onRemoveItem"
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