Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Moved AssemblingMachine to PipeConnectable, because Assembling Machines 2 and 3 both have the pipe connectable data in them.)
(updated the list to 0.15 (thanks Rseding for the data!))
Line 1: Line 1:
== Warning ==
== Warning ==
This is work in progress of description of the prototype specification possibilities.
This is work in progress of description of the prototype specification possibilities. The list is currenlty updated to version 0.15, however the individual pages are not guaranteed to be up to date.
 
'''The game is in early stage, and the interface will change in the future for sure.'''
== Basics ==
== Basics ==
* Prototype objects are specified in lua script called data.lua in the root of every mod (base game works as mod as well)
* Prototype objects are specified in lua script called data.lua in the root of every mod (base game works as mod as well)
* Individual objects are usually sorted into different groups in the prototypes folder.
* Individual objects are usually sorted into different groups in the prototypes folder.
== Prototypes ==
== Prototypes ==
<div class="factorio-list">
* [[Prototype/Achievement]] '''achievement'''
** [[Prototype/BuildEntityAchievement]] '''build-entity-achievement'''
** [[Prototype/CombatRobotCount]] '''combat-robot-count'''
** [[Prototype/ConstructWithRobotsAchievement]] '''construct-with-robots-achievement'''
** [[Prototype/DeconstructWithRobotsAchievement]] '''deconstruct-with-robots-achievement'''
** [[Prototype/DeliverByRobotsAchievement]] '''deliver-by-robots-achievement'''
** [[Prototype/DontBuildEntityAchievement]] '''dont-build-entity-achievement'''
** [[Prototype/DontCraftManuallyAchievement]] '''dont-craft-manually-achievement'''
** [[Prototype/DontUseEntityInEnergyProductionAchievement]] '''dont-use-entity-in-energy-production-achievement'''
** [[Prototype/FinishTheGameAchievement]] '''finish-the-game-achievement'''
** [[Prototype/GroupAttackAchievement]] '''group-attack-achievement'''
** [[Prototype/KillAchievement]] '''kill-achievement '''
** [[Prototype/PlayerDamagedAchievement]] '''player-damaged-achievement'''
** [[Prototype/ProduceAchievement]] '''produce-achievement'''
** [[Prototype/ProducePerHourAchievement]] '''produce-per-hour-achievement'''
** [[Prototype/ResearchAchievement]] '''research-achievement'''
** [[Prototype/TrainPathAchievement]] '''train-path-achievement'''
* [[Prototype/AmbientSound]] '''ambient-sound'''
* [[Prototype/AmmoCategory]] '''ammo-category'''
* [[Prototype/AmmoCategory]] '''ammo-category'''
* [[Prototype/AutoplaceControl]] '''autoplace-control'''
* [[Prototype/AutoplaceControl]] '''autoplace-control'''
Line 12: Line 29:
* [[Prototype/Entity]] <abstract>
* [[Prototype/Entity]] <abstract>
** [[Prototype/Arrow]] '''arrow'''
** [[Prototype/Arrow]] '''arrow'''
** [[Prototype/Beam]] '''beam'''
** [[Prototype/CharacterCorpse]] '''character-corpse'''
** [[Prototype/Corpse]] '''corpse'''
** [[Prototype/Corpse]] '''corpse'''
** [[Prototype/Decorative]] '''decorative'''
*** [[Prototype/RailRemnants]] '''rail-remnants'''
** [[Prototype/Explosion]] '''explosion'''
** [[Prototype/DeconstructibleTileProxy]] '''deconstructible-tile-proxy'''
*** [[Prototype/FlameThrowerExplosion]] '''flame-thrower-explosion'''
** [[Prototype/EntityGhost]] '''entity-ghost'''
** [[Prototype/EntityWithHealth]] <abstract>
** [[Prototype/EntityWithHealth]] <abstract>
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Car]] '''car'''
*** [[Prototype/Boiler]] '''boiler'''
*** [[Prototype/Character]] '''player'''
*** [[Prototype/Character]] '''player'''
*** [[Prototype/Combinator]] <abstract>
**** [[Prototype/ArithmeticCombinator]] '''arithmetic-combinator'''
**** [[Prototype/DeciderCombinator]] '''decider-combinator'''
*** [[Prototype/ConstantCombinator]] '''constant-combinator'''
*** [[Prototype/Container]] '''container'''
*** [[Prototype/Container]] '''container'''
**** [[Prototype/SmartContainer]] '''smart-container'''
**** [[Prototype/LegacySmartContainer]] '''smart-container''' (unused in the base-game, but exists for migration)
***** [[Prototype/LogisticContainer]] '''logistic-container'''
**** [[Prototype/LogisticContainer]] '''logistic-container'''
*** [[Prototype/CraftingMachine]] <abstract>
**** [[Prototype/AssemblingMachine]] '''assembling-machine'''
***** [[Prototype/RocketSilo]] '''rocket-silo'''
**** [[Prototype/Furnace]] '''furnace'''
*** [[Prototype/ElectricEnergyInterface]] '''electric-energy-interface'''
*** [[Prototype/ElectricPole]] '''electric-pole'''
*** [[Prototype/ElectricPole]] '''electric-pole'''
*** [[Prototype/EnemySpawner]] '''unit-spawner'''
*** [[Prototype/Fish]] '''fish'''
*** [[Prototype/Fish]] '''fish'''
*** [[Prototype/Furnace]] '''furnace'''
*** [[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/HeatPipe]] '''heat-pipe'''
*** [[Prototype/Inserter]] '''inserter'''
*** [[Prototype/Inserter]] '''inserter'''
*** [[Prototype/Lab]] '''lab'''
*** [[Prototype/Lab]] '''lab'''
*** [[Prototype/Lamp]] '''lamp'''
*** [[Prototype/Lamp]] '''lamp'''
*** [[Prototype/LandMine]] '''land-mine'''
*** [[Prototype/LegacyRocketDefense]] '''rocket-defense''' (unused in the base-game, but exists for migration)
*** [[Prototype/Market]] '''market'''
*** [[Prototype/Market]] '''market'''
*** [[Prototype/MiningDrill]] '''mining-drill'''
*** [[Prototype/MiningDrill]] '''mining-drill'''
*** [[Prototype/PipeConnectable]] <abstract>
*** [[Prototype/OffshorePump]] '''offshore-pump'''
**** [[Prototype/AssemblingMachine]] '''assembling-machine'''
*** [[Prototype/Pipe]] '''pipe'''
**** [[Prototype/Boiler]] '''boiler'''
*** [[Prototype/PipeToGround]] '''pipe-to-ground'''
**** [[Prototype/Generator]] '''generator'''
**** [[Prototype/Pump]] '''pump'''
**** [[Prototype/Pipe]] '''pipe'''
**** [[Prototype/PipeToGround]] '''pipe-to-ground'''
*** [[Prototype/PlayerPort]] '''player-port'''
*** [[Prototype/PlayerPort]] '''player-port'''
*** [[Prototype/PowerSwitch]] '''power-switch'''
*** [[Prototype/ProgrammableSpeaker]] '''programmable-speaker'''
*** [[Prototype/Pump]] '''pump'''
*** [[Prototype/Radar]] '''radar'''
*** [[Prototype/Radar]] '''radar'''
*** [[Prototype/Rail]] '''rail'''
*** [[Prototype/Rail]] <abstract>
*** [[Prototype/RailSignal]] '''rail-signal'''
**** [[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/Roboport]] '''roboport'''
*** [[Prototype/Robot]] <abstract>
*** [[Prototype/SimpleEntity]] '''simple-entity'''
**** [[Prototype/CombatRobot]] '''combat-robot'''
*** [[Prototype/SimpleEntityWithOwner]] '''simple-entity-with-owner'''
**** [[Prototype/ConstructionRobot]] '''construction-robot'''
**** [[Prototype/SimpleEntityWtihForce]] '''simple-entity-with-force'''
**** [[Prototype/LogisticRobot]] '''logistic-robot'''
*** [[Prototype/RocketDefense]] '''rocket-defense'''
*** [[Prototype/SolarPanel]] '''solar-panel'''
*** [[Prototype/SolarPanel]] '''solar-panel'''
*** [[Prototype/Splitter]] '''splitter'''
*** [[Prototype/StorageTank]] '''storage-tank'''
*** [[Prototype/TrainStop]] '''train-stop'''
*** [[Prototype/TrainStop]] '''train-stop'''
*** [[Prototype/TrainUnit]] <abstract>
*** [[Prototype/TransportBeltConnectable]] <abstract>
**** [[Prototype/CargoWagon]] '''cargo-wagon'''
**** [[Prototype/Loader]] '''loader'''
**** [[Prototype/Locomotive]] '''locomotive'''
**** [[Prototype/Splitter]] '''splitter'''
*** [[Prototype/TransportBelt]] '''transport-belt'''
**** [[Prototype/TransportBelt]] '''transport-belt'''
*** [[Prototype/TransportBeltToGround]] '''transport-belt-to-ground'''
**** [[Prototype/UndergroundBelt]] '''underground-belt'''
*** [[Prototype/Tree]] '''tree'''
*** [[Prototype/Tree]] '''tree'''
*** [[Prototype/Turret]] '''turret'''
*** [[Prototype/Turret]] '''turret'''
**** [[Prototype/AmmoTurret]] '''ammo-turret'''
**** [[Prototype/AmmoTurret]] '''ammo-turret'''
**** [[Prototype/ElectricTurret]] '''electric-turret'''
**** [[Prototype/ElectricTurret]] '''electric-turret'''
**** [[Prototype/FluidTurret]] '''fluid-turret'''
*** [[Prototype/Unit]] '''unit'''
*** [[Prototype/Unit]] '''unit'''
*** [[Prototype/UnitSpawner]] '''unit-spawner'''
*** [[Prototype/Vehicle]] <abstract>
**** [[Prototype/Car]] '''car'''
**** [[Prototype/RollingStock]] <abstract>
***** [[Prototype/CargoWagon]] '''cargo-wagon'''
***** [[Prototype/FluidWagon]] '''fluid-wagon'''
***** [[Prototype/Locomotive]] '''locomotive'''
*** [[Prototype/Wall]] '''wall'''
*** [[Prototype/Wall]] '''wall'''
** [[Prototype/Explosion]] '''explosion'''
*** [[Prototype/FlameThrowerExplosion]] '''flame-thrower-explosion'''
** [[Prototype/FireFlame]] '''fire'''
** [[Prototype/FluidStream]] '''stream'''
** [[Prototype/FlyingText]] '''flying-text'''
** [[Prototype/FlyingText]] '''flying-text'''
** [[Prototype/Ghost]] '''ghost'''
** [[Prototype/ItemEntity]] '''item-entity'''
** [[Prototype/ItemEntity]] '''item-entity'''
** [[Prototype/LandMine]] '''land-mine'''
** [[Prototype/ItemRequestProxy]] '''item-request-proxy'''
** [[Prototype/LeagacyDecorative]] '''???''' probably exists for migration
** [[Prototype/Particle]] '''particle'''
** [[Prototype/Particle]] '''particle'''
*** [[Prototype/LeafParticle]] '''leaf-particle'''
** [[Prototype/ParticleSource]] '''particle-source'''
** [[Prototype/Projectile]] '''projectile'''
** [[Prototype/Projectile]] '''projectile'''
** [[Prototype/RailRemnants]] '''rail-remnants'''
** [[Prototype/ResourceEntity]] '''resource'''
** [[Prototype/Resource]] '''resource'''
** [[Prototype/RocketSiloRocket]] '''rocket-silo-rocket'''
** [[Prototype/RocketSiloRocketShadow]] '''rocket-silo-rocket-shadow'''
** [[Prototype/Smoke]] '''smoke'''
** [[Prototype/Smoke]] '''smoke'''
*** [[Prototype/SimpleSmoke]] '''???''' seems to be unsused in base game
*** [[Prototype/SmokeWithTrigger]] '''smoke-with-trigger'''
** [[Prototype/Sticker]] '''sticker'''
** [[Prototype/Sticker]] '''sticker'''
** [[Prototype/TileGhost]] '''tile-ghost'''
* [[Prototype/Equipment]] <abstract>
** [[Prototype/ActiveDefenseEquipment]] '''active-defense-equipment'''
** [[Prototype/BatteryEquipment]] '''battery-equipment'''
** [[Prototype/BeltImmunityEquipment]] '''belt-immunity-equipment'''
** [[Prototype/EnergyShieldEquipment]] '''energy-shield-equipment'''
** [[Prototype/GeneratorEquipment]] '''generator-equipment'''
** [[Prototype/MovementBonusEquipment]] '''movement-bonus-equipment'''
** [[Prototype/NightVisionEquipment]] '''night-vision-equipment'''
** [[Prototype/RoboportEquipment]] '''roboport-equipment'''
** [[Prototype/SolarPanelEquipment]] '''solar-panel-equipment'''
* [[Prototype/EquipmentCategory]] '''equipment-category'''
* [[Prototype/EquipmentGrid]] '''equipment-grid'''
* [[Prototype/Fluid]] '''fluid'''
* [[Prototype/Font]] '''font'''
* [[Prototype/FuelCategory]] '''fuel-category'''
* [[Prototype/GuiStyle]] '''gui-style'''
* [[Prototype/Item]] '''item'''
* [[Prototype/Item]] '''item'''
** [[Prototype/Ammo]] '''ammo'''
** [[Prototype/AmmoItem]] '''ammo'''
** [[Prototype/Armor]] '''armor'''
** [[Prototype/Capsule]] '''capsule'''
** [[Prototype/Capsule]] '''capsule'''
** [[Prototype/Equipment]] <abstract>
*** [[Prototype/NightVisionEquipment]] '''night-vision-equipment'''
*** [[Prototype/EnergyShieldEquipment]] '''energy-shield-equipment'''
*** [[Prototype/BatteryEquipment]] '''battery-equipment'''
*** [[Prototype/SolarPanelEquipment]] '''solar-panel-equipment'''
*** [[Prototype/GeneratorEquipment]] '''generator-equipment'''
*** [[Prototype/ActiveDefenseEquipment]] '''active-defense-equipment'''
*** [[Prototype/MovementBonusEquipment]] '''movement-bonus-equipment'''
** [[Prototype/Gun]] '''gun'''
** [[Prototype/Gun]] '''gun'''
** [[Prototype/MiningTool]] '''mining-tool'''
** [[Prototype/ItemWithEntityData]] '''item-with-entity-data'''
** [[Prototype/ItemWithLabel]] '''item-with-label'''
*** [[Prototype/ItemWithInventory]] '''item-with-inventory'''
**** [[Prototype/BlueprintBook]] '''blueprint-book'''
*** [[Prototype/ItemWithTags]] '''item-with-tags'''
*** [[Prototype/SelectionTool]] '''selection-tool'''
**** [[Prototype/BlueprintItem]] '''blueprint'''
**** [[Prototype/DeconstructionItem]] '''deconstruction-item'''
** [[Prototype/Module]] '''module'''
** [[Prototype/Module]] '''module'''
** [[Prototype/RailPlanner]] '''rail-planner'''
** [[Prototype/Tool]] '''tool'''
*** [[Prototype/Armor]] '''armor'''
*** [[Prototype/MiningTool]] '''mining-tool'''
* [[Prototype/ItemGroup]] '''item-group'''
* [[Prototype/ItemGroup]] '''item-group'''
* [[Prototype/ItemSubgroup]] '''item-subgroup'''
* [[Prototype/MapGenPresets]] '''map-gen-presets'''
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/ModuleCategory]] '''module-category'''
* [[Prototype/NoiseLayer]] '''noise-layer'''
* [[Prototype/NoiseLayer]] '''noise-layer'''
* [[Prototype/RailCategory]] '''recipe-category'''
* [[Prototype/OptimizedDecorative]] '''optimized-decorative'''
* [[Prototype/RailCategory]] '''rail-category'''
* [[Prototype/Recipe]] '''recipe'''
* [[Prototype/Recipe]] '''recipe'''
* [[Prototype/RecipeCategory]] '''recipe-category'''
* [[Prototype/RecipeCategory]] '''recipe-category'''
* [[Prototype/ResourceCategory]] '''resource-category'''
* [[Prototype/Technology]] '''technology'''
* [[Prototype/Technology]] '''technology'''
* [[Prototype/Tile]] '''tile'''
* [[Prototype/Tile]] '''tile'''
 
* [[Prototype/Tutorial]] '''tutorial'''
{{Template:LuaObjects}}
* [[Prototype/UtilityConstants]] '''utility-constants'''
* [[Prototype/UtilitySounds]] '''utility-sounds'''
* [[Prototype/UtilitySprites]] '''utility-sprites'''
* [[Prototype/VirtualSignal]] '''virtual-signal'''
</div>

Revision as of 12:26, 15 July 2017

Warning

This is work in progress of description of the prototype specification possibilities. The list is currenlty updated to version 0.15, however the individual pages are not guaranteed to be up to date.

Basics

  • Prototype objects are specified in lua script called data.lua in the root of every mod (base game works as mod as well)
  • Individual objects are usually sorted into different groups in the prototypes folder.

Prototypes