Returns whether the item on the cursor can be equipped in an inventory slot. Returns nil
if the cursor is empty or contains something other than an item.
See also Cursor functions, Inventory functions.
Signature:
canBePlaced
=
CursorCanGoInSlot(slot)
Arguments:
slot
- An inventory slot number, as can be obtained fromGetInventorySlotInfo
(number
, inventoryID)
Returns:
canBePlaced
- 1 if the item on the cursor can be equipped in the given slot; otherwise nil (1nil
)