Infinite Resources


Makes all resources infinite.

Tweaks
5 months ago
0.17 - 2.0
63.4K
Cheats

g Oil

5 months ago

Hey first of all thanks for the mod! Is there any fix for the oil yields?

5 months ago

What about oil yields isn't working?

5 months ago

i had the problem before 2.0 and also with 2.0. since i activated the mod something happens with oil pumps. pump rate drops kind of to 1/4 then before. is it because the mod sets the oil field´s down to 100% ?

5 months ago

What is the actual pump rate shown when you hover over the pumpjacks? It should be 10/s since my mod will set the oil yield to 100%. This is intentional because I wanted every resource to be at its "default" yield. The balance is that, while they will never deplete, individual resources might be slower than usual, so you need to find more of them.

5 months ago

Ah ok, that makes sense now. Thanks!

3 months ago

any way to have a setting so it does not effect oil

9 days ago

would love that kind of setting, so oil can be over 100%

3 days ago

Limiting the oil yield is just breaking this mod completely. I can't even find enough oil fields to get one pipeline with 4k+/min.

3 days ago
(updated 3 days ago)

The oil yield limit is quite frustrating. Getting enough oil fields is a real pain due to the massively decreased output. I appreciate your consideration with respect to balance, but I don't think it's currently in the right state, if it requires adjustment at all from vanilla.

The_Marisa, PastorPanda: I'm no skilled programmer, but I am having success so far with the following tweak:

Edit the mod's control.lua. Lines 7-8 by default read:

if resource.prototype.infinite_resource then
-- set all new resources to exactly their normal amount

Copy/Paste this code so the 2 lines are replaced by 3 lines as follows:

if resource.prototype.infinite_resource then
if resource.name == 'crude-oil' then break end
-- set all new resources to exactly their normal amount

When I discover new oil with that tweak, they are at appropriate values greater than 100%. The downside is that to fix oil fields you previous discovered or built on, you'll have to delete the chunks they're in with a mod like https://mods.factorio.com/mod/Delete-Chunk-Tool and then re-discover them.

Thank you sonaxaton for taking the time to make this mod! Regarding my tweak above, I hope you don't mind me mentioning my tests. Adding 'crude-oil' to the blacklist in data-final-fixes.lua didn't help because control.lua doesn't utilize it.

New response