SingleSlotInventory

SingleSlotInventory

class

Inventory with exactly one slot

Fields

NameTypeDescription
capacity integer

Functions

SingleSlotInventory:set_simple_filter(item)

Accept only the given item in this slot

item StaticItem
Standard members (4)

Every class of this kind carries these.

SingleSlotInventory.cast(object) Trying to cast Object into SingleSlotInventory
SingleSlotInventory.get_class() Return SingleSlotInventory class object
SingleSlotInventory.new(parent, name) Creates a new SingleSlotInventory instance
SingleSlotInventory.new_simple() Creates a new SingleSlotInventory instance
Inherited from InventoryAccess (4)
Inherited from InventoryReader (3)
Inherited from Instance (1)
Inherited from Object (3)

Subclasses