-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Milestone
Description
To accommodate more advanced use cases such as machines extend the inventory actor with new functionality.
As a first step, add three different types of inventories that can be associated with a UUID (block):
STORAGE, generic multi purpose storageINPUT, inventory designated for inputOUTPUT, inventory designated for output
Then add (or rework existing) messages:
- GetInventories(uuid) -> [uuid, storage, input, output]
- AddToInventory(uuid, inventoryType, stack) -> [uuid, inventoryType, stack]
- RemoveFromInventory(uuid, inventoryType, blockTypeId, amount) -> [uuid, inventoryType, stack]
- ReplaceInventorySlot(uuid, inventoryType, slot, stack) -> [uuid, inventoryType, slot, stack]
- TryToReplaceInventorySlot(uuid, inventoryType, slot, stack) -> [uuid, inventoryType, slot, stack]
- TransferBetweenInventories(fromUuid. fromInventoryType, toUuid, toInvenotryType, blockTypeId, amount) -> [?]
- RegisterForInventoriesEvents(uuid)
- DeregisterForInventoriesEvents(uuid)
- InventoryEvent(uuid)
Metadata
Metadata
Assignees
Labels
No labels