Unit entity have optional equipment grid or an inventory
Posted: Tue May 09, 2017 11:36 am
The Unit type of entity having access to equipment slots like vehicles, or a small inventory (of defined size in prototype) accessible only to their own force would be handy. They don't need to/shouldn't support inserter interaction.
In the prototype definition, they would just need the ability to have a tag for inventory enabled true/false, and a size tag. By default (and on most units) would be nil/not accessible.
This would allow more direct representations of simple 'gatherer'/hauler units (if we can give them an inventory) and allow interesting user interactions with units based on inventory contents (script based behaviours) or equipment grid contents.
In the prototype definition, they would just need the ability to have a tag for inventory enabled true/false, and a size tag. By default (and on most units) would be nil/not accessible.
This would allow more direct representations of simple 'gatherer'/hauler units (if we can give them an inventory) and allow interesting user interactions with units based on inventory contents (script based behaviours) or equipment grid contents.