onItemLeftMouseButton():
A hook which is called when the item is pressed on with the left mouse button, the default behavior is:
Code: Select all
onItemLeftMouseButton() = function(self)
setMouseItem(self)
end
effects etc. when picking it up.
onItemAdded():
A hook which is called when the item is added to an inventory/slot/container(sack, altar, etc..)
