Update server.lua
This commit is contained in:
1 parent
ca3fa8577d
commit
5efcc8ba23
1 file changed
+8
@@ -26,6 +26,14 @@ Inventory.RemoveItem = function(src, item, count, slot, metadata)
|
|||||||
return Framework.RemoveItem(src, item, count, slot, metadata)
|
return Framework.RemoveItem(src, item, count, slot, metadata)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---This will add items to a trunk, and return true or false based on success
|
||||||
|
---@param identifier string
|
||||||
|
---@param items table
|
||||||
|
---@return boolean
|
||||||
|
Inventory.AddTrunkItems = function(identifier, items)
|
||||||
|
return false, print("This Inventory Has Not Been Bridged For A Trunk Feature.")
|
||||||
|
end
|
||||||
|
|
||||||
---This will return a table with the item info, {name, label, stack, weight, description, image}
|
---This will return a table with the item info, {name, label, stack, weight, description, image}
|
||||||
---@param item string
|
---@param item string
|
||||||
---@return table
|
---@return table
|
||||||
|
|||||||
Reference in new issue
Block a user