Skip to content

KeptAsideSlotInstance ​

Inherits: InventorySlotInstance < SlotInstance < RefCounted

A stack of an item that is kept aside (see ItemDefinition.is_kept_aside): it lives in the list InventoryComponent.aside_slots, outside the slots, cells and weight of the bag. Nothing can be dropped into it: the bag puts the items there itself.

Methods ​

boolcan_accept_item( _item: ItemInstance )

Method descriptions ​

bool can_accept_item( _item: ItemInstance ) ​

Always false: nothing is put in a kept aside stack by hand.