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)

Generated for every class of this kind by the game's codegen, not written for SingleSlotInventory.

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