Open petterarvidsson opened 8 years ago
@nsg I will implement this for release 10 with the more generic solution where the inventory type is a proper type (my idea of syntax was name/space/INVENTORY_TYPE_NAME, e.g. org/konstructs/STORAGE). So every block with an id (UUID) can have any number of storages each with a namespaced id. What do you think?
I will initially leave out the inventory events in relation to the pull discussion we had. Let's see if we need that when we start implementing some machines.
Sounds good :+1:
Api messages are being added in konstructs/server-api#27
Looking good
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 outputThen add (or rework existing) messages: