prints moved to prefexied prints + comments
This commit is contained in:
1 parent
d1da9710da
commit
e6ffe48d82
4 files changed
+11
-8
No files matched your search
@@ -1,26 +1,29 @@
|
||||
Inventory = Inventory or {}
|
||||
|
||||
---comment
|
||||
---This will fallback to framework add item functions when an inventory does not have the specifiec function.
|
||||
---@param item string
|
||||
---@return table
|
||||
Inventory.GetItemInfo = function(item)
|
||||
return Framework.GetItemInfo(item)
|
||||
end
|
||||
|
||||
---comment
|
||||
---This will fallback to framework add item functions when an inventory does not have the specifiec function.
|
||||
---@param item string
|
||||
---@return boolean
|
||||
Inventory.HasItem = function(item)
|
||||
return Framework.HasItem(item)
|
||||
end
|
||||
|
||||
---This will fallback to framework add item functions when an inventory does not have the specifiec function.
|
||||
---@param item string
|
||||
---@return number
|
||||
Inventory.GetItemCount = function(item)
|
||||
return Framework.GetItemCount(item)
|
||||
end
|
||||
|
||||
---comment
|
||||
---This will provide a image of the community bridge logo if the inventory isnt bridged for the specific path.
|
||||
---@param item string
|
||||
---@return string
|
||||
Inventory.GetImagePath = function(item)
|
||||
return "https://avatars.githubusercontent.com/u/47620135"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user