Page 1 of 1

[0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 1:59 pm
by TheSAguy
I don't have the option to make lubricant.
I've loaded a game from 0.9.3 if that makes any difference.
Save: https://www.dropbox.com/s/4lslfzbvj124yen/Load3.zip

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 2:47 pm
by DRBLN
I started a new game.
And I could produce lubricant.

Maybe you miss something?

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 2:49 pm
by SnAkeBiTe
Check this post for possible reason: https://forums.factorio.com/forum/vie ... =20#p21508

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 7:47 pm
by kovarex
I added the migration to 0.9.4 (enable it when oil industry is already researched.

To fix it now, you can do it by this:

Code: Select all

game.player.recipes["lubricant"].enabled = true

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 10:58 pm
by TheSAguy
Where do I add this code?

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 11:08 pm
by ssilk
Into the game console. Press / or ~.

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 11:10 pm
by kovarex
TheSAguy wrote:Where do I add this code?
When you press the ~ key (It is usually on the left of your "1" key you get to console, but you can configure the console key in the settings if you don't have it on your keyboard.

The console opens, and you can write commands there, copy paste the command there and press enter, it should do the trick

Re: [0.9.4] Can't produce lubricant

Posted: Sun Mar 23, 2014 11:25 pm
by TheSAguy
I'm getting the following error when I enter this:

Cannot Execute command Error: String" game.player.recipes["lubricant"].enabled = true"] :1:LuaPlayer:: recipes is unknown key

Got it, I had to add the ford "force"

game.player.force.recipes["lubricant"].enabled = true

Thanks!!