Maybe an easier and more useful solution would be some way to define a manifest of essential supplies that your crew should maintain on board. Maybe set in the spacecraft policy or something.
Then you could have a simple order that tells the crew to resupply to the defined essential supplies level.
This essential supplies manifest could be pre-defined in the spacecraft blueprint or as part of the blueprint customization.
Then you could have a simple order that tells the crew to resupply to the defined essential supplies level.
This essential supplies manifest could be pre-defined in the spacecraft blueprint or as part of the blueprint customization.