Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Changed links going to the redirect Prototype to go to PrototypeBase.)
(Some new things inherit from PrototypeBase)
Line 10: Line 10:
* [[Prototype/Font]] '''font'''
* [[Prototype/Font]] '''font'''
* [[Prototype/GodController]] '''god-controller'''
* [[Prototype/GodController]] '''god-controller'''
* [[Prototype/GuiStyle]] '''gui-style'''
* [[Prototype/MapGenPresets]] '''map-gen-presets'''
* [[Prototype/MapGenPresets]] '''map-gen-presets'''
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/MapSettings]] '''map-settings'''
Line 18: Line 17:
* [[Prototype/Sprite]] '''sprite'''
* [[Prototype/Sprite]] '''sprite'''
* [[Prototype/TriggerTargetType]] '''trigger-target-type'''
* [[Prototype/TriggerTargetType]] '''trigger-target-type'''
* [[Prototype/Tutorial]] '''tutorial'''
* [[Prototype/UtilityConstants]] '''utility-constants'''
* [[Prototype/UtilityConstants]] '''utility-constants'''
* [[Prototype/UtilitySounds]] '''utility-sounds'''
* [[Prototype/UtilitySounds]] '''utility-sounds'''
* [[Prototype/UtilitySprites]] '''utility-sprites'''
* [[Prototype/WindSound]] '''wind-sound'''
* [[Prototype/WindSound]] '''wind-sound'''
* [[PrototypeBase]] <abstract>
* [[PrototypeBase]] <abstract>
Line 171: Line 168:
:* [[Prototype/Fluid]] '''fluid'''
:* [[Prototype/Fluid]] '''fluid'''
:* [[Prototype/FuelCategory]] '''fuel-category'''
:* [[Prototype/FuelCategory]] '''fuel-category'''
:* [[Prototype/GuiStyle]] '''gui-style'''
:* [[Prototype/Item]] '''item'''
:* [[Prototype/Item]] '''item'''
:** [[Prototype/AmmoItem]] '''ammo'''
:** [[Prototype/AmmoItem]] '''ammo'''
Line 204: Line 202:
:* [[Prototype/Tile]] '''tile'''
:* [[Prototype/Tile]] '''tile'''
:* [[Prototype/TrivialSmoke]] '''trivial-smoke'''
:* [[Prototype/TrivialSmoke]] '''trivial-smoke'''
:* [[Prototype/Tutorial]] '''tutorial'''
:* [[Prototype/UtilitySprites]] '''utility-sprites'''
:* [[Prototype/VirtualSignal]] '''virtual-signal'''
:* [[Prototype/VirtualSignal]] '''virtual-signal'''
</div>
</div>

Revision as of 12:03, 16 July 2019

This is a list of all available prototype types in the game. Each point lists the link to the prototype page which is named after the class in the code, and the string that is used as the type name. Prototypes that have the type name <abstract> cannot be directly created, they simple exist as classes that multiple prototypes can inherit properties from. This list is updated to 0.17. All existing prototype pages are for 0.17. Pages with the Types/ prefix are not guaranteed to be up to date.

General info for prototype creation:

  • Prototype objects are specified in the data phase: [1]
  • Only the properties listed on the page of a prototype, and the properties the prototype inherits, are recognized by the game. Any additional code will be discarded at the end of the data phase.

Prototypes