Resource drain tech modifier
Posted: Tue Aug 05, 2025 7:13 pm
TL;DR
Having a way to improve resource drain of all drills with a tech modifier.Purpose favor resource drain mechanism instead of infinite mining productivity.
What?
Add resource drain modifier to https://lua-api.factorio.com/latest/types/Modifier.html working as such:f(0) = 1
f(1) = 0.9
f(10) = 0.5 (like +100% productivity but without the speed)
After 10 you will get less that what would give you productivity bonus but close enough I think.
f(20) = 0.37
y is the base resource drain of a drill.
x is the modifier.
f(x) would give final resource drain of a drill
Require resource_drain_rate_percent to be a double type.
Why?
Mining productivity (and all productivity research of space age... but I will skip this part) break the game a little, after enough research like +200% productivity, one miner == 3 miners. While it's very cool to have ore patch last longer, I always feel it was a bit sad to only see few of my drill working in late game. I end up with >+500% productivity and then only few drill are enough to fill my turbo belt. Say otherwise, late game, mining productivity make the size of ore field irrelevant. Also, since you have way less drill working you reduce your energy consumption and your pollution.The new resource drain mechanism would allow for mostly the same effect but without the insane output of mining productivity. It would be nice to have a tech that improve resource drain of all drills. Cause quality is optional we can't rely only on quality feature to implement this.
This would also make a purpose to put productivity module on drill (since it multiply with rss drain it's would actually be a very nice module on drill).
This also make new oil field relevant since with current mining productivity even an "depleted" oil field can produce tons of oil.
I would like this as modding feature first to try out this way of playing. Also, my number are completely arbitrary and I'm lacking a lot in math science so if you have better formula please advice.