Page 1 of 1

oil crude

Posted: Mon Mar 09, 2015 5:49 pm
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 :-(

Re: oil crude

Posted: Tue Mar 10, 2015 10:31 am
by fregate84
adding

Code: Select all

v.amount = 750000

not work neither.