entities
- raw
A dictionary indexed with all of the valid entity names. The dict contains all entities, regardless of type, which provides a convenient place to query data about any entity.
import json from draftsman.data import entities print(json.dumps(entities.raw["small-electric-pole"], indent=4))
# Note: not all key-value pairs are represented for brevity { "fast_replaceable_group": "electric-pole", "collision_box": [ [ -0.15, -0.15 ], [ 0.15, 0.15 ] ], "name": "small-electric-pole", "flags": [ "placeable-neutral", "player-creation", "fast-replaceable-no-build-while-moving" ], "type": "electric-pole", "dying_explosion": "small-electric-pole-explosion", "minable": { "result": "small-electric-pole", "mining_time": 0.1 }, "icon_size": 64, "selection_box": [ [ -0.4, -0.4 ], [ 0.4, 0.4 ] ], "track_coverage_during_build_by_moving": true, "corpse": "small-electric-pole-remnants", "connection_points": [...], "icon": "__base__/graphics/icons/small-electric-pole.png", "supply_area_distance": 2.5, "maximum_wire_distance": 7.5, "max_health": 100, "order": "a[energy]-a[small-electric-pole]", "subgroup": "energy-pipe-distribution" # and so on # ... }
- storage_tanks
A sorted list of all instances of
StorageTank
.
- transport_belts
A sorted list of all instances of
TransportBelt
.
- underground_belts
A sorted list of all instances of
UndergroundBelt
.
- filter_inserters
A sorted list of all instances of
FilterInserter
.
- electric_poles
A sorted list of all instances of
ElectricPole
.
- underground_pipes
A sorted list of all instances of
UndergroundPipe
.
- straight_rails
A sorted list of all instances of
StraightRail
.
- curved_rails
A sorted list of all instances of
CurvedRail
.
- rail_signals
A sorted list of all instances of
RailSignal
.
- rail_chain_signals
A sorted list of all instances of
RailChainSignal
.
- locomotives
A sorted list of all instances of
Locomotive
.
- cargo_wagons
A sorted list of all instances of
CargoWagon
.
- fluid_wagons
A sorted list of all instances of
FluidWagon
.
- artillery_wagons
A sorted list of all instances of
ArtilleryWagon
.
- logistic_passive_containers
A sorted list of all instances of
LogisticPassiveContainer
.
- logistic_active_containers
A sorted list of all instances of
LogisticActiveContainer
.
- logistic_storage_containers
A sorted list of all instances of
LogisticStorageContainer
.
- logistic_buffer_containers
A sorted list of all instances of
LogisticBufferContainer
.
- logistic_request_containers
A sorted list of all instances of
LogisticRequestContainer
.
- roboports
A sorted list of all instances of
Roboports
.
- arithmetic_combinators
A sorted list of all instances of
ArithmeticCombinator
.
- decider_combinators
A sorted list of all instances of
DeciderCombinator
.
- constant_combinators
A sorted list of all instances of
ConstantCombinator
.
- power_switches
A sorted list of all instances of
PowerSwitch
.
- programmable_speakers
A sorted list of all instances of
ProgrammableSpeaker
.
- boilers
A sorted list of all instances of
Boiler
. Boilers convert a fuel to heat a fluid (usually water) into another (usually steam).
- generators
A sorted list of all instances of
Generator
. Generators convert a fluid (usually steam) into electricity.
- solar_panels
A sorted list of all instances of
SolarPanel
.
- accumulators
A sorted list of all instances of
Accumulator
.
- mining_drills
A sorted list of all instances of
MiningDrill
. This includes pumpjacks and any other extraction machine.
- offshore_pumps
A sorted list of all instances of
OffshorePump
.
- furnaces
A sorted list of all instances of
Furnaces
.
- assembling_machines
A sorted list of all instances of
AssemblingMachine
. This includes chemical plants, oil refineries, and centrifuges.
- rocket_silos
A sorted list of all instances of
RocketSilo
.
- turrets
A sorted list of all instances of
Turret
. Includes the contents of Factorio’sAmmoTurret
,EnergyTurret
,FluidTurret
, andArtilleryTurret
.
- electric_energy_interfaces
A sorted list of all instances of
ElectricEnergyInterface
.
- linked_containers
A sorted list of all instances of
LinkedContainer
.
- heat_interfaces
A sorted list of all instances of
HeatInterface
.
- linked_belts
A sorted list of all instances of
LinkedBelt
.
- infinity_containers
A sorted list of all instances of
InfinityContainer
.
- infinity_pipes
A sorted list of all instances of
InfinityPipe
.
- burner_generators
A sorted list of all instances of
BurnerGenerator
.