This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param slot number
---Puts the item on the cursor into a specific equipment slot. If the item on the cursor can be equipped but does not fit in the given slot, the item is automatically equipped in the first available slot in which it fits (as with AutoEquipCursorItem()). Thus, this function is most useful when dealing with items which can be equipped in more than one slot: containers, rings, trinkets, and (for dual-wielding characters) one-handed weapons. Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be equipped. Does nothing if the cursor does not contain an item.
function EquipCursorItem(slot) end