Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Some new things inherit from PrototypeBase)
m (→‎Prototypes: migration/deprecation note cleanup)
Line 139: Line 139:
:** [[Prototype/ItemEntity]] '''item-entity'''
:** [[Prototype/ItemEntity]] '''item-entity'''
:** [[Prototype/ItemRequestProxy]] '''item-request-proxy'''
:** [[Prototype/ItemRequestProxy]] '''item-request-proxy'''
:** [[Prototype/LegacyDecorative]] '''decorative''' probably exists for migration
:** [[Prototype/LegacyDecorative]] '''decorative''' (for migration, cannot be used)
:** [[Prototype/Particle]] '''particle'''
:** [[Prototype/Particle]] '''particle'''
:*** [[Prototype/ArtilleryFlare]] '''artillery-flare'''
:*** [[Prototype/ArtilleryFlare]] '''artillery-flare'''
Line 149: Line 149:
:** [[Prototype/RocketSiloRocketShadow]] '''rocket-silo-rocket-shadow'''
:** [[Prototype/RocketSiloRocketShadow]] '''rocket-silo-rocket-shadow'''
:** [[Prototype/Smoke]] <abstract>
:** [[Prototype/Smoke]] <abstract>
:*** [[Prototype/SimpleSmoke]] '''smoke'''
:*** [[Prototype/SimpleSmoke]] '''smoke''' (for migration, cannot be used)
:*** [[Prototype/SmokeWithTrigger]] '''smoke-with-trigger'''
:*** [[Prototype/SmokeWithTrigger]] '''smoke-with-trigger'''
:** [[Prototype/SpeechBubble]] '''speech-bubble'''
:** [[Prototype/SpeechBubble]] '''speech-bubble'''

Revision as of 10:41, 27 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