Page 1 of 1

[SOLVED] unlock fast/express loader recipes?

Posted: Fri Dec 15, 2017 1:05 pm
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?

Re: unlock fast/express loader recipes?

Posted: Fri Dec 15, 2017 1:55 pm
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

Re: unlock fast/express loader recipes?

Posted: Fri Dec 15, 2017 9:06 pm
by impetus maximus
many thanks Dave. :)