In other languages:

Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Undo revision 152502 by Darkfrei (talk), that's not a prototype by itself, it's a gui style (name is "default", type is not))
Line 147: Line 147:
* [[Prototype/FuelCategory]] '''fuel-category'''
* [[Prototype/FuelCategory]] '''fuel-category'''
* [[Prototype/GuiStyle]] '''gui-style'''
* [[Prototype/GuiStyle]] '''gui-style'''
** [[Prototype/GuiStyle/Default]] '''default'''
* [[Prototype/Item]] '''item'''
* [[Prototype/Item]] '''item'''
** [[Prototype/AmmoItem]] '''ammo'''
** [[Prototype/AmmoItem]] '''ammo'''

Revision as of 18:04, 12 December 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