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

9
api/IsUsableItem.lua Normal file
View File

@@ -0,0 +1,9 @@
---@diagnostic disable: missing-return, lowercase-global
---@param itemID number
---@param itemName string
---@param itemLink string
---@return 1nil isUsable
---@return 1nil notEnoughMana
---Returns whether an item can currently be used. Does not account for item cooldowns (see GetItemCooldown() -- returns 1 if other conditions allow for using the item (e.g. if the item can only be used while outdoors).
function IsUsableItem(itemID, itemName, itemLink) end