konstructs / server

A voxel based game server.
http://www.konstructs.org
MIT License
49 stars 12 forks source link

Extend inventory actor functionality #101

Open petterarvidsson opened 8 years ago

petterarvidsson commented 8 years ago

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):

Then add (or rework existing) messages:

petterarvidsson commented 7 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?

petterarvidsson commented 7 years ago

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.

nsg commented 7 years ago

Sounds good :+1:

petterarvidsson commented 7 years ago

Api messages are being added in konstructs/server-api#27

nsg commented 6 years ago

Looking good