Factorio

Factorio

300 ratings
Console/Cheat commands (Сhat) [0.17.0+]
By ᗩKIKOアキ and 1 collaborators
Console commands, cheats, to add things, via chat. Full and up-to-date guide, the latest version of the game. All the prepositions.
Консольный команды,читы, для добавления вещей, через чат. Полный и актуальный гайд, последняя версия игры. Все предменты.
3
2
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Old guide
Since the game switched to version 1.17.
Many command stopped working. In order not to change the old leadership, since many play on the old version, I decided to create a new one.
https://steamproxy.net/sharedfiles/filedetails/?id=1517913687
Note: Errors and inconsistencies
All command for items were written on their own, so maybe some of them may not work.
If some commands do not work, write about it in the comments.
Also, if you have suggestions, you can write about them in the comments. In the future, the guide will be supported, so you can subscribe to be always up to date.
Thank you for attention.
Ads zone Mining Resources
Image
Resources
Code
Coal
/c local surface = game.player.surface;
for y=-1,1 do
for x=-1,1 do
surface.create_entity({name="coal", amount=4294967295, position={game.player.position.x+x, game.player.position.y+y}})
end
end
Stone
/c local surface = game.player.surface;
for y=-1,1 do
for x=-1,1 do
surface.create_entity({name="stone", amount=4294967295, position={game.player.position.x+x, game.player.position.y+y}})
end
end
Iron ore
/c local surface = game.player.surface;
for y=-1,1 do
for x=-1,1 do
surface.create_entity({name="iron-ore", amount=4294967295, position={game.player.position.x+x, game.player.position.y+y}})
end
end
Copper ore
/c local surface = game.player.surface;
for y=-1,1 do
for x=-1,1 do
surface.create_entity({name="copper-ore", amount=4294967295, position={game.player.position.x+x, game.player.position.y+y}})
end
end
Uranium ore
/c local surface = game.player.surface;
for y=-1,1 do
for x=-1,1 do
surface.create_entity({name="uranium-ore", amount=4294967295, position={game.player.position.x+x, game.player.position.y+y}})
end
end
Crude Oil
/c local surface = game.player.surface;
for y=-0,0 do
for x=-0,0 do
surface.create_entity({name="crude-oil", amount=4294967295, position={game.player.position.x+x, game.player.position.y+y}})
end
end
Changing the resource addition zone
To change the resource addition zone, you need to change some indicators:



Zone
Value
ㅤ1x1
for y=-0,0 do
for x=-0,0 do
ㅤ2x2
for y=-1,0 do
for x=-1,0 do
ㅤ3x3
for y=-1,1 do
for x=-1,1 do
ㅤ4x4
for y=-2,1 do
for x=-2,1 do
ㅤ5x5
for y=-2,2 do
for x=-2,2 do
ㅤ6x6
for y=-3,2 do
for x=-3,2 do
Storage
Image
Item
Code
Wooden chest
/c game.player.insert{name="wooden-chest", count=100}
Iron chest
/c game.player.insert{name="iron-chest", count=100}
Steel chest
/c game.player.insert{name="steel-chest", count=100}
Infinity chest
/c game.player.insert{name="infinity-chest", count=100}
Сompilatron chest
/c game.player.insert{name="compilatron-chest", count=100}
Storage tank
/c game.player.insert{name="storage-tank", count=100}
Belt transport system
Image
Item
Code
Transport belt
/c game.player.insert{name="transport-belt", count=100}
Fast transport belt
/c game.player.insert{name="fast-transport-belt", count=100}
Express transport belt
/c game.player.insert{name="express-transport-belt", count=100}
Underground belt
/c game.player.insert{name="underground-belt", count=100}
Fast underground belt
/c game.player.insert{name="fast-underground-belt", count=100}
Express underground belt
/c game.player.insert{name="express-underground-belt", count=100}
Splitter
/c game.player.insert{name="splitter", count=100}
Fast splitter
/c game.player.insert{name="fast-splitter", count=100}
Express splitter
/c game.player.insert{name="express-splitter", count=100}
]
Loader
/c game.player.insert{name="loader", count=100}
Fast loader
/c game.player.insert{name="fast-loader", count=100}
Express loader
/c game.player.insert{name="express-loader", count=100}
Inserters
Image
Item
Code
Burner inserter
/c game.player.insert{name="burner-inserter", count=100}
Inserter
/c game.player.insert{name="inserter", count=100}
Long handed inserter
/c game.player.insert{name="long-handed-inserter", count=100}
Fast inserter
/c game.player.insert{name="fast-inserter", count=100}
Filter inserter
/c game.player.insert{name="filter-inserter", count=100}
Stack inserter
/c game.player.insert{name="stack-inserter", count=100}
Stack filter inserter
/c game.player.insert{name="stack-filter-inserter", count=100}
Energy & pipe distribution
Image
Item
Code
Small electric pole
/c game.player.insert{name="small-electric-pole", count=100}
Medium electric pole
/c game.player.insert{name="medium-electric-pole", count=100}
Big electric pole
/c game.player.insert{name="big-electric-pole", count=100}
Substation
/c game.player.insert{name="substation", count=100}
Pipe
/c game.player.insert{name="pipe", count=200}
Pipe to ground
/c game.player.insert{name="pipe-to-ground", count=100}
Pump
/c game.player.insert{name="pump", count=100}

Transport
Image
Item
Code
Straight rail
/c game.player.insert{name="rail", count=200}
Train stop
/c game.player.insert{name="train-stop", count=20}
Rail signal
/c game.player.insert{name="rail-signal", count=100}
Rail chain signal
/c game.player.insert{name="rail-chain-signal", count=100}
Diesel locomotive
/c game.player.insert{name="diesel-locomotive", count=10}
Cargo wagon
/c game.player.insert{name="cargo-wagon", count=10}
Fluid wagon
/c game.player.insert{name="fluid-wagon", count=10}
Artillery wagon
/c game.player.insert{name="artillery-wagon", count=10}
Car
/c game.player.insert{name="car", count=2}
Tank
/c game.player.insert{name="tank", count=2}
Logistic network
Image
Item
Code
Logistic robot
/c game.player.insert{name="logistic-robot", count=100}
Construction robot
/c game.player.insert{name="construction-robot", count=100}
Active provider chest
/c game.player.insert{name="logistic-chest-active-provider", count=100}
Passive provider chest
/c game.player.insert{name="logistic-chest-passive-provider", count=100}
Storage chest
/c game.player.insert{name="logistic-chest-storage", count=100}
Buffer chest
/c game.player.insert{name="logistic-chest-buffer", count=100}
Requester chest
/c game.player.insert{name="logistic-chest-requester", count=100}
Roboport
/c game.player.insert{name="roboport", count=20}
Circuit network
Image
Item
Code
Lamp
/c game.player.insert{name="small-lamp", count=100}
Red wire
/c game.player.insert{name="red-wire", count=100}
Green wire
/c game.player.insert{name="green-wire", count=100}
Arithmetic combinator
/c game.player.insert{name="arithmetic-combinator", count=100}
Decider combinator
/c game.player.insert{name="decider-combinator", count=100}
Constant combinator
/c game.player.insert{name="constant-combinator", count=100}
Power switch
/c game.player.insert{name="power-switch", count=100}
Programmable speaker
/c game.player.insert{name="programmable-speaker", count=100}
Terrain
Image
Item
Code
Stone brick
/c game.player.insert{name="stone-brick", count=200}
Concrete
/c game.player.insert{name="concrete", count=200}
Hazard concrete
/c game.player.insert{name="hazard-concrete", count=200}
Refined concrete
/c game.player.insert{name="refined-concrete", count=200}
Refined hazard concrete
/c game.player.insert{name="refined-hazard-concrete", count=200}
Landfill
/c game.player.insert{name="landfill", count=200}
Cliff explosives
/c game.player.insert{name="cliff-explosives", count=40}
Water
/c game.player.insert{name="water", count=200}
Tools
Image
Item
Code
Steel axe
/c game.player.insert{name="steel-axe", count=40}
Repair pack
/c game.player.insert{name="repair-pack", count=200}
Electricity
Image
Item
Code
Boiler
/c game.player.insert{name="boiler", count=100}
Steam engine
/c game.player.insert{name="steam-engine", count=20}
Steam turbine
/c game.player.insert{name="steam-turbine", count=20}
Solar panel
/c game.player.insert{name="solar-panel", count=100}
Accumulator
/c game.player.insert{name="accumulator", count=100}
Nuclear reactor
/c game.player.insert{name="nuclear-reactor", count=20}
Heat exchanger
/c game.player.insert{name="heat-exchanger", count=100}
Heat pipe
/c game.player.insert{name="heat-pipe", count=100}
Resource extraction
Image
Item
Code
Burner mining drill
/c game.player.insert{name="burner-mining-drill", count=100}
Electric mining drill
/c game.player.insert{name="electric-mining-drill", count=100}
Offshore pump
/c game.player.insert{name="offshore-pump", count=40}
Pumpjack
/c game.player.insert{name="pumpjack", count=40}
Furnaces
Image
Item
Code
Stone furnace
/c game.player.insert{name="stone-furnace", count=100}
Steel furnace
/c game.player.insert{name="steel-furnace", count=100}
Electric furnace
/c game.player.insert{name="electric-furnace", count=100}
Production
Image
Item
Code
Assembling machine 0
/c game.player.insert{name="assembling-machine-0", count=100}
Assembling machine 1
/c game.player.insert{name="assembling-machine-1", count=100}
Assembling machine 2
/c game.player.insert{name="assembling-machine-2", count=100}
Assembling machine 3
/c game.player.insert{name="assembling-machine-3", count=100}
Oil refinery
/c game.player.insert{name="oil-refinery", count=20}
Chemical plant
/c game.player.insert{name="chemical-plant", count=20}
Centrifuge
/c game.player.insert{name="centrifuge", count=100}
Lab
/c game.player.insert{name="lab", count=20}
Modules
Image
Item
Code
Beacon
/c game.player.insert{name="beacon", count=20}
Speed module
/c game.player.insert{name="speed-module", count=100}
Speed module 2
/c game.player.insert{name="speed-module-2", count=100}
Speed module 3
/c game.player.insert{name="speed-module-3", count=100}
Efficiency module
/c game.player.insert{name="effectivity-module", count=100}
Efficiency module 2
/c game.player.insert{name="effectivity-module-2", count=100}
Efficiency module 3
/c game.player.insert{name="effectivity-module-3", count=100}
Productivity module
/c game.player.insert{name="productivity-module", count=100}
Productivity module 2
/c game.player.insert{name="productivity-module-2", count=100}
Productivity module 3
/c game.player.insert{name="productivity-module-3", count=100}
Resources and fluids
Image
Item
Code
Wood
/c game.player.insert{name="wood", count=200}
Coal
/c game.player.insert{name="coal", count=100}
Stone
/c game.player.insert{name="stone", count=100}
Iron ore
/c game.player.insert{name="iron-ore", count=100}
Copper ore
/c game.player.insert{name="copper-ore", count=100}
Uranium ore
/c game.player.insert{name="uranium-ore", count=100}
Materials
Image
Item
Code
Iron plate
/c game.player.insert{name="iron-plate", count=200}
Copper plate
/c game.player.insert{name="copper-plate", count=200}
Solid fuel
/c game.player.insert{name="solid-fuel", count=100}
Steel plate
/c game.player.insert{name="steel-plate", count=200}
Plastic bar
/c game.player.insert{name="plastic-bar", count=200}
Sulfur
/c game.player.insert{name="sulfur", count=100}
Battery
/c game.player.insert{name="battery", count=200}
Explosives
/c game.player.insert{name="explosives", count=100}
Barrel
Image
Item
Code
Crude oil barrel
/c game.player.insert{name="crude-oil-barrel", count=20}
Heavy oil barrel
/c game.player.insert{name="heavy-oil-barrel", count=20}
Light oil barrel
/c game.player.insert{name="light-oil-barrel", count=20}
Lubricant barrel
/c game.player.insert{name="lubricant-barrel", count=20}
Petroleum gas barrel
/c game.player.insert{name="petroleum-gas-barrel", count=20}
Sulfuric acid barrel
/c game.player.insert{name="sulfuric-acid-barrel", count=20}
Water barrel
/c game.player.insert{name="water-barrel", count=20}
Crafting components
Image
Item
Code
Copper cable
/c game.player.insert{name="copper-cable", count=200}
Iron stick
/c game.player.insert{name="iron-stick", count=200}
Iron gear wheel
/c game.player.insert{name="iron-gear-wheel", count=200}
Empty barrel
/c game.player.insert{name="empty-barrel", count=20}
Electronic circuit
/c game.player.insert{name="electronic-circuit", count=200}
Advanced circuit
/c game.player.insert{name="advanced-circuit", count=200}
Processing unit
/c game.player.insert{name="processing-unit", count=200}
Engine unit
/c game.player.insert{name="engine-unit", count=100}
Electric engine unit
/c game.player.insert{name="electric-engine-unit", count=100}
Flying robot frame
/c game.player.insert{name="flying-robot-frame", count=100}
Satellite
/c game.player.insert{name="satellite", count=2}
Rocket part
/c game.player.insert{name="rocket-part", count=10}
Rocket control unit
/c game.player.insert{name="rocket-control-unit", count=20}
Rocket structure
/c game.player.insert{name="rocket-structure", count=20}
Rocket fuel
/c game.player.insert{name="rocket-fuel", count=20}
Nuclear fuel
/c game.player.insert{name="nuclear-fuel", count=2}
Uranium-235
/c game.player.insert{name="uranium-235", count=200}
Uranium-238
/c game.player.insert{name="uranium-238", count=200}
Uranium fuel cell
/c game.player.insert{name="uranium-fuel-cell", count=100}
Used up uranium fuel cell
/c game.player.insert{name="used-up-uranium-fuel-cell", count=100}
Science packs
Image
Item
Code
Automation science pack
/c game.player.insert{name="automation-science-pack", count=400}
Logistic science pack
/c game.player.insert{name="logistic-science-pack", count=400}
Chemical science pack
/c game.player.insert{name="chemical-science-pack", count=400}
Military science pack
/c game.player.insert{name="military-science-pack", count=400}
Production science pack
/c game.player.insert{name="production-science-pack", count=400}
Utility science pack
/c game.player.insert{name="utility-science-pack", count=400}
Military science pack
/c game.player.insert{name="space-science-pack", count=4000}
Weapons
Image
Item
Code
Pistol
/c game.player.insert{name="pistol", count=10}
Submachine gun
/c game.player.insert{name="submachine-gun", count=10}
Shotgun
/c game.player.insert{name="shotgun", count=10}
Railgun
/c game.player.insert{name="railgun", count=10}
Combat shotgun
/c game.player.insert{name="combat-shotgun", count=10}
Rocket launcher
/c game.player.insert{name="rocket-launcher", count=10}
Flamethrower
/c game.player.insert{name="flamethrower", count=10}
Land mine
/c game.player.insert{name="land-mine", count=200}
Ammo
Image
Item
Code
Firearm magazine
/c game.player.insert{name="firearm-magazine", count=400}
Piercing rounds magazine
/c game.player.insert{name="piercing-rounds-magazine", count=400}
Uranium rounds magazine
/c game.player.insert{name="uranium-rounds-magazine", count=400}
Shotgun shells
/c game.player.insert{name="shotgun-shell", count=400}
Piercing shotgun shells
/c game.player.insert{name="piercing-shotgun-shell", count=400}
Cannon shell
/c game.player.insert{name="cannon-shell", count=400}
Explosive cannon shell
/c game.player.insert{name="explosive-cannon-shell", count=400}
Uranium cannon shell
/c game.player.insert{name="uranium-cannon-shell", count=400}
Explosive uranium cannon shell
/c game.player.insert{name="explosive-uranium-cannon-shell", count=400}
Artillery shell
/c game.player.insert{name="artillery-shell", count=400}
Railgun ammo
/c game.player.insert{name="railgun-ammo", count=400}
Rocket
/c game.player.insert{name="rocket", count=400}
Explosive rocket
/c game.player.insert{name="explosive-rocket", count=400}
Atomic bomb
/c game.player.insert{name="atomic-bomb", count=20}
Flamethrower ammo
/c game.player.insert{name="flamethrower-ammo", count=200}
Capsules
Image
Item
Code
Grenade
/c game.player.insert{name="grenade", count=200}
Cluster grenade
/c game.player.insert{name="cluster-grenade", count=200}
Slowdowncapsule
/c game.player.insert{name="slowdown-capsule", count=200}
Plowdown capsule
/c game.player.insert{name="poison-capsule", count=200}
Defender capsule
/c game.player.insert{name="defender", count=200}
Distractor capsule
/c game.player.insert{name="distractor", count=200}
Destroyer capsule
/c game.player.insert{name="destroyer", count=200}
Armor
Image
Item
Code
Light armor
/c game.player.insert{name="light-armor", count=20}
Heavy armor
/c game.player.insert{name="heavy-armor", count=20}
Modular armor
/c game.player.insert{name="modular-armor", count=2}
Power armor
/c game.player.insert{name="power-armor", count=2}
Power armor MK2
/c game.player.insert{name="power-armor-mk2", count=2}
Armor modules
Image
Item
Code
Portable solar panel
/c game.player.insert{name="solar-panel-equipment", count=40}
Portable fusion reactor
/c game.player.insert{name="fusion-reactor-equipment", count=40}
Energy shield
/c game.player.insert{name="energy-shield-equipment", count=100}
Energy shield MK2
/c game.player.insert{name="energy-shield-mk2-equipment", count=100}
Battery-equipment
/c game.player.insert{name="battery-equipment", count=100}
Battery MK2
/c game.player.insert{name="battery-mk2-equipment", count=100}
Personal laser defense
/c game.player.insert{name="personal-laser-defense-equipment", count=40}
Discharge defense
/c game.player.insert{name="discharge-defense-equipment", count=40}
Belt immunity equipment
/c game.player.insert{name="belt-immunity-equipment, count=40}
Exoskeleton
/c game.player.insert{name="exoskeleton-equipment", count=20}
Personal roboport
/c game.player.insert{name="personal-roboport-equipment", count=10}
Personal roboport MK2
/c game.player.insert{name="personal-roboport-mk2-equipment", count=10}
Nightvision
/c game.player.insert{name="night-vision-equipment", count=40}
Defense
Image
Item
Code
Wall
/c game.player.insert{name="stone-wall", count=200}
Gate
/c game.player.insert{name="gate", count=100}
Gun turret
/c game.player.insert{name="gun-turret", count=100}
Laser turret
/c game.player.insert{name="laser-turret", count=100}
Flamethrower turret
/c game.player.insert{name="flamethrower-turret", count=100}
Artillery turret
/c game.player.insert{name="artillery-turret", count=20}
Radar
/c game.player.insert{name="radar", count=100}
Rocket silo
/c game.player.insert{name="rocket-silo", count=2}
30 Comments
16 Apr, 2023 @ 1:22pm 
the space science pack is falsely labeled military science pack
∑ᴀxɪᴍ 31 Jan, 2023 @ 9:58pm 
/c game.player.insert{name="infinity-chest", count=1} is all you need, you can cut the whole list after that
Vladilion90 7 Dec, 2022 @ 10:14am 
А есть ли способ узнать название предмета из мода? я хочу получить предмет, так как какая0то неточность в моде и чтобы получить следующие колбы нужно скравтить спутник, а без синих микрух не создать его никак, и получается тупик в игре, мне нужно получить немного спец элемента из мода, как мне узнать его ID ?
georgeadby123 13 Jul, 2022 @ 9:52am 
how do u get the console
ShutEye_DK 11 Jul, 2022 @ 5:22am 
Version 1.17? Cool! A guide from the future :)
Also https://wiki.factorio.com/Console exists.
I live to k1ll 5 Apr, 2022 @ 9:29am 
Команда для получения стены
/c game.player.insert{name="wall", count=200}
нужно поменять на
/c game.player.insert{name="stone-wall", count=200}
rüq 11 Mar, 2022 @ 7:15am 
can you put a thing to make all reserchs reserched
kaan DROP.SKIN 28 Feb, 2022 @ 10:32am 
it is helpful
ALPHABYTE 5 Jan, 2022 @ 12:34am 
lol, there is assembly maschine 0
erton24 22 Nov, 2021 @ 12:01am 
Space science name is wrong under "item" column. (FYI)