Talk:PrototypeBase: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== proposed update along with redirection of 'prototype' to the list ==
== proposed update along with redirection of 'prototype' to the list ==
This is an attempt to emulate the upstream mediawiki [https://en.wikipedia.org/w/index.php?title=Template:Did_you_mean_box&action=edit Template:Did you mean box]
This is an attempt to emulate the upstream mediawiki [https://en.wikipedia.org/w/index.php?title=Template:Did_you_mean_box&action=edit Template:Did you mean box]


Line 19: Line 20:
* Prototype objects are specified in the data phase: [http://lua-api.factorio.com/latest/Data-Lifecycle.html]
* Prototype objects are specified in the data phase: [http://lua-api.factorio.com/latest/Data-Lifecycle.html]
* 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.
* 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.
[[User:Slippycheeze|Slippycheeze]] ([[User talk:Slippycheeze|talk]]) 16:01, 4 August 2019 (UTC)

Revision as of 16:01, 4 August 2019

proposed update along with redirection of 'prototype' to the list

This is an attempt to emulate the upstream mediawiki Template:Did you mean box

Using that, which has a parameter for the destination page, highly advised. :)

In any case this is intended to be displayed on the Prototype_definitions page, so that people who expect Prototype to show up here at PrototypeBase get pointed in the right direction.

inlined header and demo content

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.

Programmable speaker.png

Prototype previously redirected to PrototypeBase, the abstract base for all prototypes.

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.

Slippycheeze (talk) 16:01, 4 August 2019 (UTC)