AddTrunkItems + testing across all bridged inventories

This commit is contained in:
MrNewb committed 2025-06-08 04:36:53 -04:00
1 parent 224bb24ee8
commit 63c644d277
10 files changed
+58 -33

No files matched your search

+2 -1
View File
@@ -100,7 +100,7 @@ end
---@param identifier string
---@param items table
---@return boolean
Inventory.AddItemsToTrunk = function(identifier, items)
Inventory.AddTrunkItems = function(identifier, items)
if type(items) ~= "table" then return false end
return false, print("AddItemsToTrunk is not implemented in jpr-inventory, because of this we dont have a way to add items to a trunk.")
end
@@ -110,6 +110,7 @@ end
---@return boolean
Inventory.ClearStash = function(id, _type)
if type(id) ~= "string" then return false end
if Inventory.Stashes[id] then Inventory.Stashes[id] = nil end
return false, print("ClearInventory is not implemented in jpr-inventory, because of this we dont have a way to clear a stash.")
end