Add FillLevel property to Hydrogen and Oxygen Bottle items

Frigidman shared this feedback 20 months ago
Submitted

Expose the FillLevel of bottle items to the API for scripts to read and utilize.

An example would be a script that looks for < 100% bottles, and moves them to tanks for refilling. Then moves 100% bottles to a holding area outside of tanks for pickup by players.

Replies (1)

photo
1

The old inventory item API for bottles used to allow you to get the `item.Content` which had `GasLevel` property. Either give us access to that, or give us access to another one in the current item API. It only needs to be read-only!

Leave a Comment
 
Attach a file