Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Warning == This is work in progress of descrption of the prototype specification possibilities. '''The game is in early stage, and the interface will change in the future ...")
 
(Removed old prototype docs)
Tag: Replaced
 
(56 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== Warning ==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/auxiliary/prototype-tree.html https://lua-api.factorio.com/latest/auxiliary/prototype-tree.html].
This is work in progress of descrption of the prototype specification possibilities.


'''The game is in early stage, and the interface will change in the future for sure.'''
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
== 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.
== Chapters ==
* [[Prototype/Entity]]
** [[Prototype/EntityWithHealth]]
*** [[Prototype/Character]]
*** [[Prototype/Unit]]
*** [[Prototype/PipeConnectable]]
*** [[Prototype/Car]]
*** [[Prototype/AssemblingMachine]]
*** [[Prototype/Market]]
*** [[Prototype/Inserter]]
** [[Prototype/Resource]]
** [[Prototype/ItemEntity]]

Latest revision as of 14:40, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/auxiliary/prototype-tree.html.

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.