Page 1 of 1

Unit entity have optional equipment grid or an inventory

Posted: Tue May 09, 2017 11:36 am
by kyranzor
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.

Re: Unit entity have optional equipment grid or an inventory

Posted: Tue May 09, 2017 1:27 pm
by bobingabout
Sounds like a reasonable request.

Though, the fluid wagon can't have a grid either, well, it MIGHT be able to, but the GUI doesn't show it.