sub container for item 'slots' for storages in ItemStorageMode.Stacked
a stacked storage can define a number of stacks
each stack can only contain one type of item
makes for some nicely visualized storages
|
int | GetItemCapacity (Item item) |
|
int | GetItemCapacityRemaining (Item item) |
|
bool | HasItem (Item item) |
| checks whether this stack is bound to a certain item, either because it contains a
|
|
int | AddQuantity (Item item, int quantity) |
| adds number of items to stack, returns remaining items not added
|
|
int | RemoveQuantity (Item item, int quantity) |
| removes items from the stack
|
|
void | SetQuantity (int amount) |
|
int | ReserveCapacity (Item item, int amount) |
|
int | UnreserveCapacity (Item item, int amount) |
|
ItemStackData | GetData () |
|
void | SetData (ItemStackData data) |
|