Factorio Cheats
Let’s discover some cheats in Factorio game as well as learn more about console/LUA commands guides! Factorio is currently approachable with Early Access game on Steam while the accomplished version will be released later in 2016. The game is all about building infrastructures and maintaining factories while trying to keep them safe from being attacked by the wicked local aliens. Before playing the game, let’s find out some of the tutorials toward console, lua commands and the cheats!
Tips to open console
At first, you need to know that the console of the game is put in the interface which is for LUA-commands. The way it operates is just similar to the command-line-interface or even the javascript console that you use for your browser.
Note that Factorio game doesn’t require any specific cheats. With the unique console, you can totally cheat provided that you kind of know about it!
In order to open the console, select the default key, like ‘/’ or ‘~’, this is called the chat window in multiplayer mode. The Lua command’s prefix is “/c”.
If you want to change that key, you should open the keyboard control and switch “Toggle Lua console” to a helpful key
Change in v0.11
You’re supposed to type “/c” in front of commands, or else, all you see is just nothing but a chat message
Editing
The console contains an inherent history. Just utilize the up arrow key (Alt+↑) for editing or repeating the former commands
Factorio game doesn’t notice the newlines when you paste “scriplets” in the console. Those newlines can be made in a readable form for humans, which cause the comprehension and editing to be somewhat easier.
On the contrary, for those who want to type some of commands in one line, all they need to do is to put “;” between the commands.
Helpful commands (known as cheats)
Attach more items to your inventory
Iron Plate
/c game.local_player.insert{name=”iron-plate”, count=1000}
Copper Plate
/c game.local_player.insert{name=”copper-plate”, count=1000}
Steel Plate
/c game.local_player.insert{name=”steel-plate”, count=1000}
Stone Brick
/c game.local_player.insert{name=”stone-brick”, count=1000}
Plastic Bar
/c game.local_player.insert{name=”plastic-bar”, count=1000}
Science Pack 1
/c game.local_player.insert{name=”science-pack-1″, count=1000}
Science Pack 2
/c game.local_player.insert{name=”science-pack-2″, count=1000}
Science Pack 3
/c game.local_player.insert{name=”science-pack-3″, count=1000}
Alien Science Pack
/c game.local_player.insert{name=”alien-science-pack”, count=1000}
This forms a new 5×5 patch of resources, focused on the player character.
Stone
/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name=”stone”, amount=2500000, position={game.local_player.position.x+x, game.local_player.position.y+y}})
end
end
Coal
/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name=”coal”, amount=2500000, position={game.local_player.position.x+x, game.local_player.position.y+y}})
end
end
Iron Ore
/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name=”iron-ore”, amount=2500000, position={game.local_player.position.x+x, game.local_player.position.y+y}})
end
end
Copper Ore
/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name=”copper-ore”, amount=2500000, position={game.local_player.position.x+x, game.local_player.position.y+y}})
end
end
Crude Oil
/c local surface = game.local_player.surface;
for y=-2,2 do
for x=-2,2 do
surface.create_entity({name=”crude-oil”, amount=2500000, position={game.local_player.position.x+x, game.local_player.position.y+y}})
end
end
Faster Research
Normal Reserch Speed
/c game.local_player.force.laboratory_speed_modifier = 1
Double Reserch Speed
/c game.local_player.force.laboratory_speed_modifier = 2
Triple Reserch Speed
/c game.local_player.force.laboratory_speed_modifier = 3
Mine faster
/c game.local_player.force.manual_mining_speed_modifier=1000
Craft faster
/c game.local_player.force.manual_crafting_speed_modifier=1000
Turn off night
/c game.always_day=true
Turn on night
/c game.always_day=false