My turret range upgrade research - the one that replaces turrets in-situ with a range-boosted version - should keep the ammo/power/fluids of a turret when replaced. However, flamethrower turrets are posing something of a problem.
Their lua-script 'fluidbox' parameter on the LuaEntity only offers one fluidbox, that of their "pipe connection" (the one that balances with nearby pipes). The capacity-100 internal buffer (called 'fluid_buffer' in the prototype) is not accessible through any means I can find, and that means 100 units of fuel are voided per turret, per upgrade. I want to avoid this.
Accessing [RW] fluid-turret fluid buffer via scripting?
Re: Accessing [RW] fluid-turret fluid buffer via scripting?
I would like to have this, too: viewtopic.php?p=273746#p273746