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?
Working with fuels
-
- Manual Inserter
- Posts: 2
- Joined: Wed Sep 14, 2016 6:10 am
- Contact:
Re: Working with fuels
That looks correct
Are you requiring your prototypes.item inside data.lua?
Are you requiring your prototypes.item inside data.lua?
-
- Manual Inserter
- Posts: 2
- Joined: Wed Sep 14, 2016 6:10 am
- Contact:
Re: Working with fuels
I was not, and that was the problem.
Thank you!
Dumb rookie mistake.
Thank you!
Dumb rookie mistake.