[SOLVED] unlock fast/express loader recipes?

Place to get help with not working mods / modding interface.
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

[SOLVED] unlock fast/express loader recipes?

Post by impetus maximus »

i'm trying to unlock the fast, and express versions of the 'loader' via the console.

the standard one i unlocked by using this from the wiki

Code: Select all

/c game.player.force.recipes.loader.enabled=true
i can't seem to unlock the fast-loader, or express-loader recipes. console keeps saying
"Cannot execute command.Error: [string 'game.player.force.recipes.fast-loader.enabled...":1: syntax error near '-'

i can give my player the loaders with

Code: Select all

/c game.player.insert("fast-loader")
and

Code: Select all

/c game.player.insert("express-loader")
how do i unlock the recipe though?
Last edited by impetus maximus on Sun Dec 17, 2017 8:32 pm, edited 1 time in total.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3749
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: unlock fast/express loader recipes?

Post by DaveMcW »

Code: Select all

/c game.player.force.recipes["fast-loader"].enabled = true
P.S. You can use bracket notation for everything, but it is only required for names with dashes.

Code: Select all

/c game["player"]["force"]["recipes"]["fast-loader"]["enabled"] = true
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: unlock fast/express loader recipes?

Post by impetus maximus »

many thanks Dave. :)
Post Reply

Return to “Modding help”