Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added a whole lot more types.)
(cargo-wagon and locomotive probably inherit from the same thing)
Line 20: Line 20:
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Car]] '''car'''
*** [[Prototype/Car]] '''car'''
*** [[Prototype/CargoWagon]] '''cargo-wagon'''
*** [[Prototype/Character]] '''player'''
*** [[Prototype/Character]] '''player'''
*** [[Prototype/Container]] '''container'''
*** [[Prototype/Container]] '''container'''
Line 31: Line 30:
*** [[Prototype/Lab]] '''lab'''
*** [[Prototype/Lab]] '''lab'''
*** [[Prototype/Lamp]] '''lamp'''
*** [[Prototype/Lamp]] '''lamp'''
*** [[Prototype/Locomotive]] '''locomotive'''
*** [[Prototype/Market]] '''market'''
*** [[Prototype/Market]] '''market'''
*** [[Prototype/MiningDrill]] '''mining-drill'''
*** [[Prototype/MiningDrill]] '''mining-drill'''
Line 53: Line 51:
*** [[Prototype/Splitter]] '''splitter'''
*** [[Prototype/Splitter]] '''splitter'''
*** [[Prototype/TrainStop]] '''train-stop'''
*** [[Prototype/TrainStop]] '''train-stop'''
*** [[Prototype/TrainUnit]] <abstract>
**** [[Prototype/CargoWagon]] '''cargo-wagon'''
**** [[Prototype/Locomotive]] '''locomotive'''
*** [[Prototype/TransportBelt]] '''transport-belt'''
*** [[Prototype/TransportBelt]] '''transport-belt'''
*** [[Prototype/TransportBeltToGround]] '''transport-belt-to-ground'''
*** [[Prototype/TransportBeltToGround]] '''transport-belt-to-ground'''

Revision as of 19:35, 12 February 2014

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