oil crude

Place to get help with not working mods / modding interface.
fregate84
Fast Inserter
Fast Inserter
Posts: 235
Joined: Sun Jun 22, 2014 10:56 am
Contact:

oil crude

Post by fregate84 »

hi,

I try to do a MOD to reaload, 'on time', all my crude-oil. But I don't understand why it's not working. I do :

Code: Select all

for k, v in pairs(data.raw.resource) do
	if k == "crude-oil" then
		  v.minimum  = 7500
		  v.normal   = 7500
	end
end
I have all time mining speed = 0,1l/s. don't arrive to find the parameter to realeaod oil :-(
fregate84
Fast Inserter
Fast Inserter
Posts: 235
Joined: Sun Jun 22, 2014 10:56 am
Contact:

Re: oil crude

Post by fregate84 »

adding

Code: Select all

v.amount = 750000

not work neither.
Post Reply

Return to “Modding help”