Hows about coding the ZPM to reset its energy to whatever it is mean to be whenever some of it is recharged?
the energy gets depleted to 99.997% but gets recharged to 99.998%
the code notices that it went upwards (which a ZPM isn’t allowed to do), and again sets it to 99.997%
the code has a variable (energy%). When it gets depleted from, say, 99.999% to 99.997%, there is a 0.002% decrease. Wouldn’t it be possible to code the ZPM to allow to energy variable to only be decreased?
I don’t know how LUA or the resource distribution mod works, but feel free to tell me