Initial commit

This commit is contained in:
2024-12-16 13:13:08 +01:00
commit c8d4f32d5d
3093 changed files with 18304 additions and 0 deletions

10
api/GetItemCount.lua Normal file
View File

@@ -0,0 +1,10 @@
---@diagnostic disable: missing-return, lowercase-global
---@param itemId number
---@param itemName string
---@param itemLink string
---@param includeBank boolean
---@param includeCharges boolean
---@return number itemCount
---Returns information about how many of a given item the player has or on remaining item charges. When the third argument includeCharges is true, the returned number indicates the total number of remaining charges for the item instead of how many of the item you have; e.g. if you have 3 Wizard Oils and one of them has been used twice, the returned value will be 13.
function GetItemCount(itemId, itemName, itemLink, includeBank, includeCharges) end