Factorio Cheat Codes
The console display can be toggled with the / (slash) or ~ (tilde) keys.
Cheat mode gives you unlimited items, crafted instantly using no resources (so you can hand-craft items which require fluids):
/c game.player.cheat_mode=true
Mine faster (Default – 1).
/c game.player.force.manual_mining_speed_modifier=100
Craft faster (Default – 1).
/c game.player.force.manual_crafting_speed_modifier=100
Laboratories research faster (Default – 1).
/c game.player.force.laboratory_speed_modifier=100
Complete all researches (This activates all researches as if you have researched them).
/c game.player.force.research_all_technologies()
Zoom out further than usual (Zoom resets when you zoom in again. Note: values below 0.07 are buggy and impact game performance negatively).
/c game.player.zoom=0.1
Always daytime
/c game.always_day=true
Set game speed (Warning: higher speeds negatively affect your framerate/game performance).
/c game.speed=2
Kill all biters
/c game.forces[‘enemy’].kill_all_units()