InventoryReservation
InventoryReservation is returned from InventoryItem.Reservations and contains information about reserved items. Shows how many items are reserved and the purpose they were reserved for.
Properties
The quantity of items that have been reserved.
print("Reserved quantity: " .. reservation.amount)
The purpose identifier for the reservation. Corresponds to the reservedFor parameter in InventoryTransaction.Reserve and Release.
if reservation.reservedFor == "equipped" then
print("Item is currently equipped")
end
Updated 19 days ago