Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
(Moved AssemblingMachine to PipeConnectable, because Assembling Machines 2 and 3 both have the pipe connectable data in them.)
Line 18: Line 18:
** [[Prototype/EntityWithHealth]] <abstract>
** [[Prototype/EntityWithHealth]] <abstract>
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/AssemblingMachine]] '''assembling-machine'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Car]] '''car'''
*** [[Prototype/Car]] '''car'''
Line 34: Line 33:
*** [[Prototype/MiningDrill]] '''mining-drill'''
*** [[Prototype/MiningDrill]] '''mining-drill'''
*** [[Prototype/PipeConnectable]] <abstract>
*** [[Prototype/PipeConnectable]] <abstract>
**** [[Prototype/AssemblingMachine]] '''assembling-machine'''
**** [[Prototype/Boiler]] '''boiler'''
**** [[Prototype/Boiler]] '''boiler'''
**** [[Prototype/Generator]] '''generator'''
**** [[Prototype/Generator]] '''generator'''

Revision as of 15:48, 17 April 2017

Warning

This is work in progress of description of the prototype specification possibilities.

The game is in early stage, and the interface will change in the future for sure.

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

Template:LuaObjects