Endless Resources mod, too much oil
Endless Resources mod, too much oil
Hello all, loving the game and the mod but I seem to be getting massive amounts of oil, such as 40/second from fresh oil patches and all of my old 0.1/second patches have been bumped up to 0.5/second. Endless Resources feels pretty balanced but this amount of oil feels too cheaty to me. Does anyone know how I might lower the oil/second production? Thanks for your time!
Re: Endless Resources mod, too much oil
Endless resources sets min/normal value for every resource to be the same thats why it breaks.snurpley wrote:Hello all, loving the game and the mod but I seem to be getting massive amounts of oil, such as 40/second from fresh oil patches and all of my old 0.1/second patches have been bumped up to 0.5/second. Endless Resources feels pretty balanced but this amount of oil feels too cheaty to me. Does anyone know how I might lower the oil/second production? Thanks for your time!
Try using one attached here.
You might need to modify minimum and normal in this one since I think I changed it from original version. It does skip oil modification so oil should work like in vanilla.
- Attachments
-
- endless-resources_0.3.0.zip
- (841 Bytes) Downloaded 95 times
Re: Endless Resources mod, too much oil
Thank you this is so generous of you! I'm using it right now and everything appears normal except my depleted oil patches are saying 0.0/second. I hooked one of them up to a storage tank to see if it was actually pumping out 0.0, but it seems to be pumping out 0.1 every 4 pump cycles. I'm not too knowledgeable with mods but is there a way to make it back to 0.1 per pump? Or was 0.1 per every 4 pump cycles always normal and I just never noticed? Thanks again for this!orzelek wrote:Endless resources sets min/normal value for every resource to be the same thats why it breaks.snurpley wrote:Hello all, loving the game and the mod but I seem to be getting massive amounts of oil, such as 40/second from fresh oil patches and all of my old 0.1/second patches have been bumped up to 0.5/second. Endless Resources feels pretty balanced but this amount of oil feels too cheaty to me. Does anyone know how I might lower the oil/second production? Thanks for your time!
Try using one attached here.
You might need to modify minimum and normal in this one since I think I changed it from original version. It does skip oil modification so oil should work like in vanilla.
Re: Endless Resources mod, too much oil
That mod doesn't edit oil at all in theory. I'm not sure why it wouldn't say 0.1 - maybe some other mods you have or some leftover edits?
I'm not using it just had it updated so didn't test much.
I'm not using it just had it updated so didn't test much.
Re: Endless Resources mod, too much oil
I checked an old save file that was never effected by endless resources and all of the oils were back to normal, so I think you're probably right and there is some leftover edit. The save file is very old and I don't want to go back 12 hours:(orzelek wrote:That mod doesn't edit oil at all in theory. I'm not sure why it wouldn't say 0.1 - maybe some other mods you have or some leftover edits?
I'm not using it just had it updated so didn't test much.
Ive been having fun trying to figure this out on my own and get to the bottom of it (that's what factorio's all about!) but I think I've exhausted all of my ideas. I tried a few variations with adding some extra code to the one you provided to try to "overwrite" whatever is keeping my oil at 0.0/second but so far I have been unsuccessful. FYI I have 0 experience with LUA or anything like that I just copy pasted some bits from other posts and hoped it would work.
Code: Select all
for _, resource in pairs(data.raw.resource) do
if not resource.infinite then
resource.infinite = true
resource.minimum = 200
resource.normal = 1000
end
end
if data.raw.resource["oil"] then data.raw.resource["oil"].min=175 end
if data.raw.resource["oil"] then data.raw.resource["oil"].max=350 end
EDIT: I also tried the words "crude-oil" instead of "oil" and it did not work:(
Re: Endless Resources mod, too much oil
Actual resource name is "crude-oil".
The thing is... that if your oil well has depleted below minimum level those modificatios won't change that.
You would need to fix the well itself.
I think it might work if you execute this command from console while mouse is over actual oil well(it's info must be shown - remove pumping jack first)
(while using not changed mod):
By default oil is 750 minimum and 7500 so this should get it back to being 0.1.
The thing is... that if your oil well has depleted below minimum level those modificatios won't change that.
You would need to fix the well itself.
I think it might work if you execute this command from console while mouse is over actual oil well(it's info must be shown - remove pumping jack first)
(while using not changed mod):
Code: Select all
/c game.local_player.selected.amount = 750
Re: Endless Resources mod, too much oil
That worked perfectly! Thank you so much again for all your help! I let the pump cycle about 150 times, deconstructed it to take a peak, and the yield is still at 10%. This is perfect! I declare this solved!orzelek wrote:Actual resource name is "crude-oil".
The thing is... that if your oil well has depleted below minimum level those modificatios won't change that.
You would need to fix the well itself.
I think it might work if you execute this command from console while mouse is over actual oil well(it's info must be shown - remove pumping jack first)
(while using not changed mod):By default oil is 750 minimum and 7500 so this should get it back to being 0.1.Code: Select all
/c game.local_player.selected.amount = 750
