Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
* [[Prototype/Entity]]
* [[Prototype/Entity]]
** [[Prototype/EntityWithHealth]]
** [[Prototype/EntityWithHealth]]
*** [[Prototype/Accumulator]]
*** [[Prototype/Character]]
*** [[Prototype/Character]]
*** [[Prototype/Unit]]
*** [[Prototype/Unit]]

Revision as of 12:21, 30 October 2013

Warning

This is work in progress of descrption 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