In other languages:

Data.raw

From Official Factorio Wiki
Revision as of 01:26, 18 December 2016 by Gangsir (talk | contribs) (Updated page to current, 90% rewrite)
Jump to navigation Jump to search


This is a listing of what is accessible from the data.raw table in Factorio as of 0.14 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.

It is not currently possible to add a NEW type (bold name) to Factorio, without asking the developers to do it, as these are handled in the closed-source C++ code backbone.

Examples of usage

--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

data.raw - List

This is a full alphabetical list of all the internal names within Factorio. It is a very long list, so searching with most browsers' find function (usually Ctrl + f) is recommended. Maintainer note: This page may be somewhat out of date. For an updated list of all internal entity names and their localized values, check the locale files provided with a default install of Factorio, in your language.

Additionally, you can click a letter below to be taken to that letter in the list, if you wish to search manually.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Pertains to Version 0.14.

A

accumulator
alien-science-pack
arithmetic-combinator
assembling-machine-1
assembling-machine-2
assembling-machine-3

B

battery-equipment
battery-mk2-equipment
beacon
behemoth-biter
behemoth-biter-corpse
behemoth-spitter
behemoth-spitter-corpse
big-biter
big-biter-corpse
big-electric-pole
big-remnants
big-ship-wreck-1
big-ship-wreck-2
big-ship-wreck-3
big-ship-wreck-grass
big-spitter
big-spitter-corpse
big-worm-corpse
big-worm-turret
biter-spawner
biter-spawner-corpse
blueprint
boiler
brown-asterisk
brown-cane-cluster
brown-cane-single
brown-carpet-grass
brown-coral-mini
brown-fluff
brown-fluff-dry
brown-hairy-grass
burner-inserter
burner-mining-drill

C

car
cargo-wagon
chemical-plant
coal
combat
constant-combinator
constant-conbinator
construction-robot
copper-cable
copper-ore
crude-oil
curved-rail
curved-rail-remnants

D

dead-dry-hairy-tree
dead-grey-trunk
dead-tree
decider-combinator
deconstructible-tile-proxy
deconstruction-planner
defender
destroyer
diesel-locomotive
discharge-defense-equipment
distractor
dry-hairy-tree
dry-tree

E

effectivity-module
effectivity-module-2
effectivity-module-3
electric-energy-interface
electric-furnace
electric-mining-drill
enemies
energy
energy-shield-equipment
energy-shield-mk2-equipment
environment
exoskeleton-equipment
express-loader
express-splitter
express-transport-belt
express-underground-belt

F

fast-inserter
fast-loader
fast-splitter
fast-transport-belt
fast-underground-belt
filter-inserter
fish
flamethrower-turret
fluids
fusion-reactor-equipment

G

garballo
garballo-mini-dry
gate
green-asterisk
green-bush-mini
green-carpet-grass
green-coral
green-coral-mini
green-hairy-grass
green-pita
green-pita-mini
green-small-grass
green-wire
gun-turret

H

heavy-oil

I

inserter
intermediate-products
iron-axe
iron-chest
iron-ore
item-not-allowed-in-this-container-item
item-on-ground
item-request-proxy

L

lab
land-mine
laser-turret
light-oil
loader
logistic-chest-active-provider
logistic-chest-passive-provider
logistic-chest-requester
logistic-chest-storage
logistic-robot
logistics
long-handed-inserter
lubricant

M

market
medium-biter
medium-biter-corpse
medium-electric-pole
medium-remnants
medium-ship-wreck
medium-spitter
medium-spitter-corpse
medium-worm-corpse
medium-worm-turret

N

night-vision-equipment

O

offshore-pump
oil-refinery
orange-coral-mini
other

P

personal-laser-defense-equipment
personal-roboport-equipment
petroleum-gas
pipe
pipe-to-ground
player
player-port
power-switch
production
production-module-usable-only-on-intermediates
productivity-module
productivity-module-2
productivity-module-3
pumpjack

R

radar
rail
rail-chain-signal
rail-signal
red-asterisk
red-wire
repair-pack
roboport
rocket
rocket-defense-dummy
rocket-silo
rocket-turret
root-A
root-B

S

satellite
science-pack-1
science-pack-2
science-pack-3
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-G
signal-H
signal-I
signal-J
signal-K
signal-L
signal-M
signal-N
signal-O
signal-P
signal-Q
signal-R
signal-S
signal-T
signal-U
signal-V
signal-W
signal-X
signal-Y
signal-Z
signal-anything
signal-black
signal-blue
signal-cyan
signal-each
signal-everything
signal-green
signal-grey
signal-pink
signal-red
signal-white
signal-yellow
signals
slowdown-capsule
small-biter
small-biter-corpse
small-electric-pole
small-lamp
small-pump
small-remnants
small-rock
small-scorchmark
small-ship-wreck
small-ship-wreck-grass
small-spitter
small-spitter-corpse
small-worm-corpse
small-worm-turret
smart-chest-dummy
solar-panel
solar-panel-equipment
space-module-wreck
speed-module
speed-module-2
speed-module-3
spitter-spawner
spitter-spawner-corpse
splitter
stack-filter-inserter
stack-inserter
steam-engine
steel-axe
steel-chest
steel-furnace
stone
stone-furnace
stone-rock
stone-wall
storage-tank
straight-rail
straight-rail-remnants
substation
sulfuric-acid

T

tank
train-stop
transport-belt
tree-01
tree-01-stump
tree-02
tree-02-red
tree-02-stump
tree-03
tree-03-stump
tree-04
tree-04-stump
tree-05
tree-05-stump
tree-06
tree-06-brown
tree-06-stump
tree-07
tree-07-stump
tree-08
tree-08-brown
tree-08-red
tree-08-stump
tree-09
tree-09-brown
tree-09-red
tree-09-stump

U

underground-belt

W

wall-remnants
water
wooden-chest