Added item.removed to docs and fixed some minor things

This commit is contained in:
EvilFactory
2023-04-11 12:34:15 -03:00
parent d0519cb982
commit f2a3c38c79
3 changed files with 7 additions and 3 deletions

View File

@@ -227,6 +227,10 @@ function item.deconstructed(item, otherItem, userCharacter) end
-- @realm shared
function item.created(item) end
--- Gets called every time an item is removed.
-- @realm shared
function item.removed(item) end
--- Gets called every time an item is moved from one inventory slot to another, return true to cancel
-- @realm shared
function inventoryPutItem(inventory, item, characterUser, index, removeItemBool) end