Can you provide some code or update the mod to make the resources deplete when infinite. I want it to start at some percent yield like say 100% as you have it but then deplete to say 20% yield and stay there without going any lower. This way you have infinite resources but still have a reason to expand as your factory will slow down. setting infinite_depletion_amount = 50 or commenting out the line that sets it to 0 still does not result in the yield ever going down over time of mining.
The whole point of this mod was that I didn't want resource yields to ever change, so when you set up a resource outpost it will provide a steady stream of resources, and you only need more outposts as you expand your factory.