Data.raw
What is this page - Examples
This is a listing of what is accessible from the data.raw table in Factorio as of 0.8.8 and how to use it. As such this should also be a table of all the vanilla entities/items and all possible entity and item types (bold names) that can be used in prototyping another object. All bold names that are not listed after the colon are entity types (question mark means I'm not certain, but pretty sure): ammo, ammo-category, autoplace-control, damage-type, font, gui-style, item, item-group, map-settings, noise-layer, particle?, projectile?, rail-category, recipe, recipe-category, smoke?, technology, tile
Just a note here but: It is not currently possible to add a NEW type (bold name) to Factorio, without asking the developers to do it
Now, examples:
--add loot item to small biters local loot = { --define loot in local variable item = "alien-artifact", probability = 1, --[0-1) count_min = 1, count_max = 5 } if data.raw.unit["small-biter"].loot == nil then --check if small-biter has loot, if not make loot an empty table data.raw.unit["small-biter"].loot = {} end table.insert{data.raw.unit["small-biter"].loot, loot} --insert loot into loot table
--add loot to all enemy units (biters) that do not already drop loot for _, unit in pairs (data.raw.unit) do if not unit.loot then -- if unit.loot does not exist (aka is nil) unit.loot = {{ --create it, note the double {{ because loot is a table with multiple (possible) results item = "alien-artifact", probability = 1, --[0-1) count_min = 1, count_max = 5 }} end --note no else for if unit.loot does exist end
--increase player health :) data.raw.player.player.max_health=1337
-- disable small electric pole recipe data.raw["recipe"]["small-electric-pole"].enabled = false
Now, the LIST
data.raw - List
Version 0.12.6
accumulator
basic-accumulator
active-defense-equipment
basic-electric-discharge-defense-equipment basic-laser-defense-equipment
ambient-sound
after-the-crash anomaly are-we-alone automation beyond-factory-outskirts first-light gathering-horizon pollution research-and-minerals resource-deficiency solar-intervention swell-pad the-oil-industry the-right-tools transmit world-ambience-1 world-ambience-2 world-ambience-3 world-ambience-4 world-ambience-5 world-ambience-6
ammo
basic-bullet-magazine cannon-shell explosive-cannon-shell explosive-rocket flame-thrower-ammo piercing-bullet-magazine piercing-shotgun-shell railgun-dart rocket shotgun-shell
ammo-category
biological bullet cannon-shell capsule combat-robot-beam combat-robot-laser electric flame-thrower laser-turret melee railgun rocket shotgun-shell
ammo-turret
gun-turret
arithmetic-combinator
arithmetic-combinator
armor
basic-armor basic-modular-armor heavy-armor power-armor power-armor-mk2
arrow
orange-arrow-with-circle
assembling-machine
assembling-machine-1 assembling-machine-2 assembling-machine-3 chemical-plant oil-refinery
autoplace-control
coal copper-ore crude-oil enemy-base iron-ore stone
battery-equipment
battery-equipment battery-mk2-equipment
beacon
basic-beacon
beam
electric-beam
blueprint
blueprint
boiler
boiler
capsule
basic-electric-discharge-defense-remote basic-grenade defender-capsule destroyer-capsule distractor-capsule poison-capsule raw-fish slowdown-capsule
car
car tank
cargo-wagon
cargo-wagon
combat-robot
defender destroyer distractor
constant-combinator
constant-combinator
construction-robot
construction-robot
container
big-ship-wreck-1 big-ship-wreck-2 big-ship-wreck-3 iron-chest steel-chest wooden-chest
corpse
acid-splash-purple behemoth-biter-corpse behemoth-spitter-corpse big-biter-corpse big-remnants big-spitter-corpse big-worm-corpse biter-spawner-corpse medium-biter-corpse medium-remnants medium-spitter-corpse medium-worm-corpse small-biter-corpse small-remnants small-scorchmark small-spitter-corpse small-worm-corpse spitter-spawner-corpse tree-01-stump tree-02-stump tree-03-stump tree-04-stump tree-05-stump tree-06-stump tree-07-stump tree-08-stump tree-09-stump wall-remnants
curved-rail
curved-rail
damage-type
acid electric explosion fire impact laser physical poison
decider-combinator
decider-combinator
deconstructible-tile-proxy
deconstructible-tile-proxy
deconstruction-item
deconstruction-planner
decorative
big-ship-wreck-grass brown-asterisk brown-cane-cluster brown-cane-single brown-carpet-grass brown-coral-mini brown-fluff brown-fluff-dry brown-hairy-grass garballo garballo-mini-dry green-asterisk green-bush-mini green-carpet-grass green-coral-mini green-hairy-grass green-pita green-pita-mini green-small-grass orange-coral-mini red-asterisk root-A root-B small-rock small-ship-wreck-grass
electric-pole
big-electric-pole medium-electric-pole small-electric-pole substation
electric-turret
laser-turret
energy-shield-equipment
energy-shield-equipment energy-shield-mk2-equipment
entity-ghost
entity-ghost
explosion
big-explosion blood-explosion-big blood-explosion-huge blood-explosion-small explosion explosion-gunshot explosion-gunshot-small explosion-hit laser-bubble massive-explosion medium-explosion railgun-beam water-splash
fish
fish
flame-thrower-explosion
flame-thrower-explosion
fluid
crude-oil heavy-oil light-oil lubricant petroleum-gas sulfuric-acid water
flying-text
flying-text
font
default default-bold default-button default-frame default-game default-listbox default-semibold scenario-message-dialog
furnace
electric-furnace steel-furnace stone-furnace
gate
gate
generator
steam-engine
generator-equipment
fusion-reactor-equipment
gui-style
default
gun
combat-shotgun flame-thrower pistol railgun rocket-launcher shotgun submachine-gun tank-cannon tank-machine-gun vehicle-machine-gun
inserter
basic-inserter burner-inserter fast-inserter long-handed-inserter smart-inserter
item
advanced-circuit alien-artifact arithmetic-combinator assembling-machine-1 assembling-machine-2 assembling-machine-3 basic-accumulator basic-beacon basic-electric-discharge-defense-equipment basic-exoskeleton-equipment basic-inserter basic-laser-defense-equipment basic-mining-drill basic-splitter basic-transport-belt basic-transport-belt-to-ground battery battery-equipment battery-mk2-equipment big-electric-pole boiler burner-inserter burner-mining-drill car cargo-wagon chemical-plant coal coin computer concrete constant-combinator construction-robot copper-cable copper-ore copper-plate crude-oil-barrel curved-rail decider-combinator diesel-locomotive electric-engine-unit electric-furnace electronic-circuit empty-barrel energy-shield-equipment energy-shield-mk2-equipment engine-unit explosives express-splitter express-transport-belt express-transport-belt-to-ground fast-inserter fast-splitter fast-transport-belt fast-transport-belt-to-ground flying-robot-frame fusion-reactor-equipment gate green-wire gun-turret iron-chest iron-gear-wheel iron-ore iron-plate iron-stick lab land-mine laser-turret logistic-chest-active-provider logistic-chest-passive-provider logistic-chest-requester logistic-chest-storage logistic-robot long-handed-inserter low-density-structure medium-electric-pole night-vision-equipment offshore-pump oil-refinery personal-roboport-equipment pipe pipe-to-ground plastic-bar player-port processing-unit pumpjack radar rail-chain-signal rail-signal raw-wood red-wire roboport rocket-control-unit rocket-fuel rocket-part rocket-silo satellite small-electric-pole small-lamp small-plane small-pump smart-chest smart-inserter solar-panel solar-panel-equipment solid-fuel steam-engine steel-chest steel-furnace steel-plate stone stone-brick stone-furnace stone-wall storage-tank straight-rail substation sulfur tank train-stop wood wooden-chest
item-entity
item-on-ground
item-group
combat enemies environment fluids intermediate-products logistics other production signals
item-subgroup
ammo armor barrel belt capsule circuit-network corpses creatures defensive-structure enemies energy energy-pipe-distribution equipment extraction-machine fluid fluid-recipes grass gun inserter intermediate-product logistic-network module other production-machine raw-material raw-resource remnants science-pack smelting-machine storage terrain tool transport trees virtual-signal virtual-signal-color virtual-signal-letter virtual-signal-number virtual-signal-special wrecks
lab
lab
lamp
small-lamp
land-mine
land-mine
leaf-particle
leaf-particle
locomotive
diesel-locomotive
logistic-container
logistic-chest-active-provider logistic-chest-passive-provider logistic-chest-requester logistic-chest-storage
logistic-robot
logistic-robot
map-settings
map-settings
market
market
mining-drill
basic-mining-drill burner-mining-drill pumpjack
mining-tool
iron-axe steel-axe
module
effectivity-module effectivity-module-2 effectivity-module-3 productivity-module productivity-module-2 productivity-module-3 speed-module speed-module-2 speed-module-3
movement-bonus-equipment
basic-exoskeleton-equipment
night-vision-equipment
night-vision-equipment
noise-layer
brown-cane coal copper-ore coral crude-oil dirt dirt-dark enemy-base fluff garballo garballo-mini grass grass-dry grass-medium grass1 grass2 iron-ore pita pita-mini sand sand-dark stone trees
offshore-pump
offshore-pump
particle
blood-particle branch-particle coal-particle copper-ore-particle explosion-remnants-particle iron-ore-particle shell-particle stone-particle wooden-particle
particle-source
blood-fountain blood-fountain-big
pipe
pipe
pipe-to-ground
pipe-to-ground
player
player
player-port
player-port
projectile
acid-projectile-purple basic-grenade blue-laser cannon-projectile defender-capsule destroyer-capsule distractor-capsule explosive-cannon-projectile explosive-rocket laser piercing-shotgun-pellet poison-capsule rocket shotgun-pellet slowdown-capsule
pump
small-pump
radar
radar
rail-category
regular
rail-chain-signal
rail-chain-signal
rail-remnants
curved-rail-remnants straight-rail-remnants
rail-signal
rail-signal
recipe
advanced-circuit advanced-oil-processing alien-science-pack arithmetic-combinator assembling-machine-1 assembling-machine-2 assembling-machine-3 basic-accumulator basic-armor basic-beacon basic-bullet-magazine basic-electric-discharge-defense-equipment basic-electric-discharge-defense-remote basic-exoskeleton-equipment basic-grenade basic-inserter basic-laser-defense-equipment basic-mining-drill basic-modular-armor basic-oil-processing basic-splitter basic-transport-belt basic-transport-belt-to-ground battery battery-equipment battery-mk2-equipment big-electric-pole blueprint boiler burner-inserter burner-mining-drill cannon-shell car cargo-wagon chemical-plant combat-shotgun concrete constant-combinator construction-robot copper-cable copper-plate curved-rail decider-combinator deconstruction-planner defender-capsule destroyer-capsule diesel-locomotive distractor-capsule effectivity-module effectivity-module-2 effectivity-module-3 electric-engine-unit electric-furnace electronic-circuit empty-barrel empty-crude-oil-barrel energy-shield-equipment energy-shield-mk2-equipment engine-unit explosive-cannon-shell explosive-rocket explosives express-splitter express-transport-belt express-transport-belt-to-ground fast-inserter fast-splitter fast-transport-belt fast-transport-belt-to-ground fill-crude-oil-barrel flame-thrower flame-thrower-ammo flying-robot-frame fusion-reactor-equipment gate green-wire gun-turret heavy-armor heavy-oil-cracking iron-axe iron-chest iron-gear-wheel iron-plate iron-stick lab land-mine laser-turret light-oil-cracking logistic-chest-active-provider logistic-chest-passive-provider logistic-chest-requester logistic-chest-storage logistic-robot long-handed-inserter low-density-structure lubricant medium-electric-pole night-vision-equipment offshore-pump oil-refinery personal-roboport-equipment piercing-bullet-magazine piercing-shotgun-shell pipe pipe-to-ground pistol plastic-bar player-port poison-capsule power-armor power-armor-mk2 processing-unit productivity-module productivity-module-2 productivity-module-3 pumpjack radar rail-chain-signal rail-signal railgun railgun-dart red-wire repair-pack roboport rocket rocket-control-unit rocket-fuel rocket-launcher rocket-part rocket-silo satellite science-pack-1 science-pack-2 science-pack-3 shotgun shotgun-shell slowdown-capsule small-electric-pole small-lamp small-plane small-pump smart-chest smart-inserter solar-panel solar-panel-equipment solid-fuel-from-heavy-oil solid-fuel-from-light-oil solid-fuel-from-petroleum-gas speed-module speed-module-2 speed-module-3 steam-engine steel-axe steel-chest steel-furnace steel-plate stone-brick stone-furnace stone-wall storage-tank straight-rail submachine-gun substation sulfur sulfuric-acid tank train-stop wood wooden-chest
recipe-category
advanced-crafting chemistry crafting crafting-with-fluid oil-processing rocket-building smelting
repair-tool
repair-pack
resource
coal copper-ore crude-oil iron-ore stone
resource-category
basic-fluid basic-solid
roboport
roboport
roboport-equipment
personal-roboport-equipment
rocket-defense
rocket-defense-dummy
rocket-silo
rocket-silo
rocket-silo-rocket
rocket-silo-rocket
rocket-silo-rocket-shadow
rocket-silo-rocket-shadow
simple-entity
medium-ship-wreck small-ship-wreck stone-rock
smart-container
smart-chest
smoke
smoke smoke-building smoke-explosion-particle smoke-fast smoke-train-stop
smoke-with-trigger
poison-cloud
solar-panel
solar-panel
solar-panel-equipment
solar-panel-equipment
splitter
basic-splitter express-splitter fast-splitter
sticker
slowdown-sticker
storage-tank
storage-tank
straight-rail
straight-rail
technology
advanced-electronics advanced-electronics-2 advanced-material-processing advanced-material-processing-2 advanced-oil-processing alien-technology armor-making armor-making-2 armor-making-3 automated-construction automated-rail-transportation automation automation-2 automation-3 automobilism basic-electric-discharge-defense-equipment basic-exoskeleton-equipment basic-laser-defense-equipment battery battery-equipment battery-mk2-equipment bullet-damage-1 bullet-damage-2 bullet-damage-3 bullet-damage-4 bullet-damage-5 bullet-damage-6 bullet-speed-1 bullet-speed-2 bullet-speed-3 bullet-speed-4 bullet-speed-5 bullet-speed-6 character-logistic-slots-1 character-logistic-slots-2 character-logistic-slots-3 character-logistic-slots-4 character-logistic-trash-slots-1 character-logistic-trash-slots-2 circuit-network combat-robot-damage-1 combat-robot-damage-2 combat-robot-damage-3 combat-robot-damage-4 combat-robot-damage-5 combat-robotics combat-robotics-2 combat-robotics-3 concrete construction-robotics effect-transmission effectivity-module effectivity-module-2 effectivity-module-3 electric-energy-accumulators-1 electric-energy-distribution-1 electric-energy-distribution-2 electric-engine electronics energy-shield-equipment energy-shield-mk2-equipment engine explosive-rocketry explosives flame-thrower flammables fluid-handling flying follower-robot-count-1 follower-robot-count-10 follower-robot-count-11 follower-robot-count-12 follower-robot-count-13 follower-robot-count-14 follower-robot-count-15 follower-robot-count-16 follower-robot-count-17 follower-robot-count-18 follower-robot-count-19 follower-robot-count-2 follower-robot-count-20 follower-robot-count-3 follower-robot-count-4 follower-robot-count-5 follower-robot-count-6 follower-robot-count-7 follower-robot-count-8 follower-robot-count-9 fusion-reactor-equipment gates gun-turret-damage-1 gun-turret-damage-2 gun-turret-damage-3 gun-turret-damage-4 gun-turret-damage-5 gun-turret-damage-6 inserter-stack-size-bonus-1 inserter-stack-size-bonus-2 inserter-stack-size-bonus-3 inserter-stack-size-bonus-4 land-mine laser laser-turret-damage-1 laser-turret-damage-2 laser-turret-damage-3 laser-turret-damage-4 laser-turret-damage-5 laser-turret-damage-6 laser-turret-speed-1 laser-turret-speed-2 laser-turret-speed-3 laser-turret-speed-4 laser-turret-speed-5 laser-turret-speed-6 laser-turrets logistic-robot-speed-1 logistic-robot-speed-2 logistic-robot-speed-3 logistic-robot-speed-4 logistic-robot-speed-5 logistic-robot-storage-1 logistic-robot-storage-2 logistic-robot-storage-3 logistic-robotics logistic-system logistics logistics-2 logistics-3 military military-2 military-3 military-4 modules night-vision-equipment oil-processing optics personal-roboport-equipment plastics power-armor power-armor-2 productivity-module productivity-module-2 productivity-module-3 rail-signals railway research-effectivity-1 research-effectivity-2 research-effectivity-3 research-effectivity-4 robotics rocket-damage-1 rocket-damage-2 rocket-damage-3 rocket-damage-4 rocket-damage-5 rocket-silo rocket-speed-1 rocket-speed-2 rocket-speed-3 rocket-speed-4 rocket-speed-5 rocket-travel rocketry shotgun-shell-damage-1 shotgun-shell-damage-2 shotgun-shell-damage-3 shotgun-shell-damage-4 shotgun-shell-damage-5 shotgun-shell-damage-6 shotgun-shell-speed-1 shotgun-shell-speed-2 shotgun-shell-speed-3 shotgun-shell-speed-4 shotgun-shell-speed-5 shotgun-shell-speed-6 solar-energy solar-panel-equipment speed-module speed-module-2 speed-module-3 steel-processing stone-walls sulfur-processing tanks toolbelt turrets
tile
concrete deepwater deepwater-green dirt dirt-dark grass grass-dry grass-medium out-of-map sand sand-dark stone-path water water-green
tile-ghost
tile-ghost
tool
alien-science-pack science-pack-1 science-pack-2 science-pack-3
train-stop
train-stop
transport-belt
basic-transport-belt express-transport-belt fast-transport-belt
transport-belt-to-ground
basic-transport-belt-to-ground express-transport-belt-to-ground fast-transport-belt-to-ground
tree
dead-dry-hairy-tree dead-grey-trunk dead-tree dry-hairy-tree dry-tree green-coral tree-01 tree-02 tree-02-red tree-03 tree-04 tree-05 tree-06 tree-06-brown tree-07 tree-08 tree-08-brown tree-08-red tree-09 tree-09-brown tree-09-red
turret
big-worm-turret medium-worm-turret small-worm-turret
unit
behemoth-biter behemoth-spitter big-biter big-spitter medium-biter medium-spitter small-biter small-spitter
unit-spawner
biter-spawner spitter-spawner
virtual-signal
signal-0 signal-1 signal-2 signal-3 signal-4 signal-5 signal-6 signal-7 signal-8 signal-9 signal-A signal-B signal-C signal-D signal-E signal-F signal-anything signal-blue signal-each signal-everything signal-green signal-red signal-yellow
wall
stone-wall