In other languages:

Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(made more clear which prototypes don't inherit from Prototype)
(Adding missing prototypes that dont inherit from prototype)
Line 7: Line 7:
== Prototypes ==
== Prototypes ==
* [[Prototype/Font]] '''font'''
* [[Prototype/Font]] '''font'''
* [[Prototype/GodController]] '''god-controller'''
* [[Prototype/GuiStyle]] '''gui-style'''
* [[Prototype/GuiStyle]] '''gui-style'''
* [[Prototype/MapGenPresets]] '''map-gen-presets'''
* [[Prototype/MapGenPresets]] '''map-gen-presets'''
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/Sound]] '''sound'''
* [[Prototype/Sprite]] '''sprite'''
* [[Prototype/Tutorial]] '''tutorial'''
* [[Prototype/Tutorial]] '''tutorial'''
* [[Prototype/UtilityConstants]] '''utility-constants'''
* [[Prototype/UtilityConstants]] '''utility-constants'''
Line 27: Line 30:
:** [[Prototype/FinishTheGameAchievement]] '''finish-the-game-achievement'''
:** [[Prototype/FinishTheGameAchievement]] '''finish-the-game-achievement'''
:** [[Prototype/GroupAttackAchievement]] '''group-attack-achievement'''
:** [[Prototype/GroupAttackAchievement]] '''group-attack-achievement'''
:** [[Prototype/KillAchievement]] '''kill-achievement '''
:** [[Prototype/KillAchievement]] '''kill-achievement'''
:** [[Prototype/PlayerDamagedAchievement]] '''player-damaged-achievement'''
:** [[Prototype/PlayerDamagedAchievement]] '''player-damaged-achievement'''
:** [[Prototype/ProduceAchievement]] '''produce-achievement'''
:** [[Prototype/ProduceAchievement]] '''produce-achievement'''

Revision as of 16:15, 28 May 2018

Warning

This is work in progress of description of the prototype specification possibilities. The list is currently updated to version 0.16, 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