Page 1 of 1

Working with fuels

Posted: Wed Sep 14, 2016 6:12 am
by Transigence
I am having trouble finding/modifying fuel values.
I am trying to bring up the value of Rocket Fuel up from 225MJ to 250MJ by adding the following line to my prototypes/item.lua file:

data.raw.item["rocket-fuel"].fuel_value = "250MJ"

Nothing I have tried is having any effect on the game.

Any suggestions?

Re: Working with fuels

Posted: Wed Sep 14, 2016 6:47 am
by Nexela
That looks correct

Are you requiring your prototypes.item inside data.lua?

Re: Working with fuels

Posted: Wed Sep 14, 2016 6:56 am
by Transigence
I was not, and that was the problem.
Thank you!
Dumb rookie mistake.