Combine similar code for liquid and xenon engines/tanks