feat(inventory): add item list function

This commit is contained in:
Quin Schurman committed 2025-07-09 17:26:16 -04:00
1 parent a9a4ef619c
commit aefcf8eee2
19 files changed
+126

No files matched your search

+6
View File
@@ -51,6 +51,12 @@ Inventory.GetItemInfo = function(item)
return Framework.GetItemInfo(item)
end
---This will return the entire items table from the inventory.
---@return table
Inventory.Items = function()
return Framework.Shared.Items
end
---This will return the count of the item in the players inventory, if not found will return 0.
---if metadata is passed it will find the matching items count.
---example: 0