I'm wondering if it's possible to get a status from a Hydrogen/Oxygen tank if it stockpile or not?
There should be a Stockpile filed according to SpaceEngineers Wiki, but I'm not sure if that is accurate or not.
http://www.spaceengineerswiki.com/Programming_Guide/Action_List#Oxygen.2FHydrogen_Tank
--- Automerge ---
I solved it eventually.![Smile :) :)]()
There should be a Stockpile filed according to SpaceEngineers Wiki, but I'm not sure if that is accurate or not.
http://www.spaceengineerswiki.com/Programming_Guide/Action_List#Oxygen.2FHydrogen_Tank
--- Automerge ---
I solved it eventually.

Code:
IMyOxygenTank tank = block as IMyOxygenTank; if (tank.GetValueBool("Stockpile")) {}