Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(link settings and runtime docs)
(1.1.51: Prototype/EntityWithOwner added)
Line 60: Line 60:
*** [[Prototype/LeafParticle]] '''leaf-particle''' (for migration, cannot be used)
*** [[Prototype/LeafParticle]] '''leaf-particle''' (for migration, cannot be used)
** [[Prototype/EntityWithHealth]] <abstract>
** [[Prototype/EntityWithHealth]] <abstract>
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/EntityWithOwner]] <abstract>
*** [[Prototype/ArtilleryTurret]] '''artillery-turret'''
**** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/Beacon]] '''beacon'''
**** [[Prototype/ArtilleryTurret]] '''artillery-turret'''
*** [[Prototype/Boiler]] '''boiler'''
**** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/BurnerGenerator]] '''burner-generator'''
**** [[Prototype/Boiler]] '''boiler'''
*** [[Prototype/Character]] '''character'''
**** [[Prototype/BurnerGenerator]] '''burner-generator'''
*** [[Prototype/Combinator]] <abstract>
**** [[Prototype/Character]] '''character'''
**** [[Prototype/ArithmeticCombinator]] '''arithmetic-combinator'''
**** [[Prototype/Combinator]] <abstract>
**** [[Prototype/DeciderCombinator]] '''decider-combinator'''
***** [[Prototype/ArithmeticCombinator]] '''arithmetic-combinator'''
*** [[Prototype/ConstantCombinator]] '''constant-combinator'''
***** [[Prototype/DeciderCombinator]] '''decider-combinator'''
*** [[Prototype/Container]] '''container'''
**** [[Prototype/ConstantCombinator]] '''constant-combinator'''
**** [[Prototype/LogisticContainer]] '''logistic-container'''
**** [[Prototype/Container]] '''container'''
***** [[Prototype/InfinityContainer]] '''infinity-container'''
***** [[Prototype/LogisticContainer]] '''logistic-container'''
*** [[Prototype/CraftingMachine]] <abstract>
****** [[Prototype/InfinityContainer]] '''infinity-container'''
**** [[Prototype/AssemblingMachine]] '''assembling-machine'''
**** [[Prototype/CraftingMachine]] <abstract>
***** [[Prototype/RocketSilo]] '''rocket-silo'''
***** [[Prototype/AssemblingMachine]] '''assembling-machine'''
**** [[Prototype/Furnace]] '''furnace'''
****** [[Prototype/RocketSilo]] '''rocket-silo'''
*** [[Prototype/ElectricEnergyInterface]] '''electric-energy-interface'''
***** [[Prototype/Furnace]] '''furnace'''
*** [[Prototype/ElectricPole]] '''electric-pole'''
**** [[Prototype/ElectricEnergyInterface]] '''electric-energy-interface'''
*** [[Prototype/EnemySpawner]] '''unit-spawner'''
**** [[Prototype/ElectricPole]] '''electric-pole'''
**** [[Prototype/EnemySpawner]] '''unit-spawner'''
**** [[Prototype/FlyingRobot]] <abstract>
***** [[Prototype/CombatRobot]] '''combat-robot'''
***** [[Prototype/RobotWithLogisticInterface]] <abstract>
****** [[Prototype/ConstructionRobot]] '''construction-robot'''
****** [[Prototype/LogisticRobot]] '''logistic-robot'''
**** [[Prototype/Gate]] '''gate'''
**** [[Prototype/Generator]] '''generator'''
**** [[Prototype/HeatInterface]] '''heat-interface'''
**** [[Prototype/HeatPipe]] '''heat-pipe'''
**** [[Prototype/Inserter]] '''inserter'''
**** [[Prototype/Lab]] '''lab'''
**** [[Prototype/Lamp]] '''lamp'''
**** [[Prototype/LandMine]] '''land-mine'''
**** [[Prototype/LinkedContainer]] '''linked-container'''
**** [[Prototype/Market]] '''market'''
**** [[Prototype/MiningDrill]] '''mining-drill'''
**** [[Prototype/OffshorePump]] '''offshore-pump'''
**** [[Prototype/Pipe]] '''pipe'''
***** [[Prototype/InfinityPipe]] '''infinity-pipe'''
**** [[Prototype/PipeToGround]] '''pipe-to-ground'''
**** [[Prototype/PlayerPort]] '''player-port'''
**** [[Prototype/PowerSwitch]] '''power-switch'''
**** [[Prototype/ProgrammableSpeaker]] '''programmable-speaker'''
**** [[Prototype/Pump]] '''pump'''
**** [[Prototype/Radar]] '''radar'''
**** [[Prototype/Rail]] <abstract>
***** [[Prototype/CurvedRail]] '''curved-rail'''
***** [[Prototype/StraightRail]] '''straight-rail'''
**** [[Prototype/RailSignalBase]] <abstract>
***** [[Prototype/RailChainSignal]] '''rail-chain-signal'''
***** [[Prototype/RailSignal]] '''rail-signal'''
**** [[Prototype/Reactor]] '''reactor'''
**** [[Prototype/Roboport]] '''roboport'''
**** [[Prototype/SimpleEntityWithOwner]] '''simple-entity-with-owner''' TODO Bilka (extra change)
***** [[Prototype/SimpleEntityWithForce]] '''simple-entity-with-force''' TODO Bilka (extra change)
**** [[Prototype/SolarPanel]] '''solar-panel'''
**** [[Prototype/StorageTank]] '''storage-tank'''
**** [[Prototype/TrainStop]] '''train-stop'''
**** [[Prototype/TransportBeltConnectable]] <abstract>
***** [[Prototype/LinkedBelt]] '''linked-belt'''
***** [[Prototype/Loader1x1]] '''loader-1x1'''
***** [[Prototype/Loader1x2]] '''loader'''
***** [[Prototype/Splitter]] '''splitter'''
***** [[Prototype/TransportBelt]] '''transport-belt'''
***** [[Prototype/UndergroundBelt]] '''underground-belt'''
**** [[Prototype/Turret]] '''turret'''
***** [[Prototype/AmmoTurret]] '''ammo-turret'''
***** [[Prototype/ElectricTurret]] '''electric-turret'''
***** [[Prototype/FluidTurret]] '''fluid-turret'''
**** [[Prototype/Unit]] '''unit'''
**** [[Prototype/Vehicle]] <abstract>
***** [[Prototype/Car]] '''car'''
***** [[Prototype/RollingStock]] <abstract>
****** [[Prototype/ArtilleryWagon]] '''artillery-wagon'''
****** [[Prototype/CargoWagon]] '''cargo-wagon'''
****** [[Prototype/FluidWagon]] '''fluid-wagon'''
****** [[Prototype/Locomotive]] '''locomotive'''
***** [[Prototype/SpiderVehicle]] '''spider-vehicle'''
**** [[Prototype/Wall]] '''wall'''
*** [[Prototype/Fish]] '''fish'''
*** [[Prototype/Fish]] '''fish'''
*** [[Prototype/FlyingRobot]] <abstract>
**** [[Prototype/CombatRobot]] '''combat-robot'''
**** [[Prototype/RobotWithLogisticInterface]] <abstract>
***** [[Prototype/ConstructionRobot]] '''construction-robot'''
***** [[Prototype/LogisticRobot]] '''logistic-robot'''
*** [[Prototype/Gate]] '''gate'''
*** [[Prototype/Generator]] '''generator'''
*** [[Prototype/HeatInterface]] '''heat-interface'''
*** [[Prototype/HeatPipe]] '''heat-pipe'''
*** [[Prototype/Inserter]] '''inserter'''
*** [[Prototype/Lab]] '''lab'''
*** [[Prototype/Lamp]] '''lamp'''
*** [[Prototype/LandMine]] '''land-mine'''
*** [[Prototype/LinkedContainer]] '''linked-container'''
*** [[Prototype/Market]] '''market'''
*** [[Prototype/MiningDrill]] '''mining-drill'''
*** [[Prototype/OffshorePump]] '''offshore-pump'''
*** [[Prototype/Pipe]] '''pipe'''
**** [[Prototype/InfinityPipe]] '''infinity-pipe'''
*** [[Prototype/PipeToGround]] '''pipe-to-ground'''
*** [[Prototype/PlayerPort]] '''player-port'''
*** [[Prototype/PowerSwitch]] '''power-switch'''
*** [[Prototype/ProgrammableSpeaker]] '''programmable-speaker'''
*** [[Prototype/Pump]] '''pump'''
*** [[Prototype/Radar]] '''radar'''
*** [[Prototype/Rail]] <abstract>
**** [[Prototype/CurvedRail]] '''curved-rail'''
**** [[Prototype/StraightRail]] '''straight-rail'''
*** [[Prototype/RailSignalBase]] <abstract>
**** [[Prototype/RailChainSignal]] '''rail-chain-signal'''
**** [[Prototype/RailSignal]] '''rail-signal'''
*** [[Prototype/Reactor]] '''reactor'''
*** [[Prototype/Roboport]] '''roboport'''
*** [[Prototype/SimpleEntity]] '''simple-entity'''
*** [[Prototype/SimpleEntity]] '''simple-entity'''
*** [[Prototype/SimpleEntityWithOwner]] '''simple-entity-with-owner'''
*** [[Prototype/SimpleEntityWithForce]] '''simple-entity-with-force'''
*** [[Prototype/SolarPanel]] '''solar-panel'''
*** [[Prototype/SpiderLeg]] '''spider-leg'''
*** [[Prototype/SpiderLeg]] '''spider-leg'''
*** [[Prototype/StorageTank]] '''storage-tank'''
*** [[Prototype/TrainStop]] '''train-stop'''
*** [[Prototype/TransportBeltConnectable]] <abstract>
**** [[Prototype/LinkedBelt]] '''linked-belt'''
**** [[Prototype/Loader1x1]] '''loader-1x1'''
**** [[Prototype/Loader1x2]] '''loader'''
**** [[Prototype/Splitter]] '''splitter'''
**** [[Prototype/TransportBelt]] '''transport-belt'''
**** [[Prototype/UndergroundBelt]] '''underground-belt'''
*** [[Prototype/Tree]] '''tree'''
*** [[Prototype/Tree]] '''tree'''
*** [[Prototype/Turret]] '''turret'''
**** [[Prototype/AmmoTurret]] '''ammo-turret'''
**** [[Prototype/ElectricTurret]] '''electric-turret'''
**** [[Prototype/FluidTurret]] '''fluid-turret'''
*** [[Prototype/Unit]] '''unit'''
*** [[Prototype/Vehicle]] <abstract>
**** [[Prototype/Car]] '''car'''
**** [[Prototype/RollingStock]] <abstract>
***** [[Prototype/ArtilleryWagon]] '''artillery-wagon'''
***** [[Prototype/CargoWagon]] '''cargo-wagon'''
***** [[Prototype/FluidWagon]] '''fluid-wagon'''
***** [[Prototype/Locomotive]] '''locomotive'''
**** [[Prototype/SpiderVehicle]] '''spider-vehicle'''
*** [[Prototype/Wall]] '''wall'''
** [[Prototype/Explosion]] '''explosion'''
** [[Prototype/Explosion]] '''explosion'''
*** [[Prototype/FlameThrowerExplosion]] '''flame-thrower-explosion'''
*** [[Prototype/FlameThrowerExplosion]] '''flame-thrower-explosion'''

Revision as of 19:25, 21 January 2022

Prototypes are used to specify what items, entities, technologies (etc) exist in the game and what their properties are. Prototypes are created and modified in the data phase.
See Tutorial:Mod settings for the settings stage documentation and lua-api.factorio.com for the runtime API documentation.

See prototype overview for a full overview of all prototypes and their properties.

Prototype hierachy

This is a list of all available prototype types and their inheritance structure.
Each point lists the link to the prototype page which is named after the class in the code, and the string that is used as the type name. Prototypes that have the type name <abstract> cannot be directly created, they simple exist as classes that multiple prototypes can inherit properties from.