In other languages:

Prototype definitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Undo revision 152502 by Darkfrei (talk), that's not a prototype by itself, it's a gui style (name is "default", type is not))
(0.16)
Line 1: Line 1:
{{Languages}}
{{Languages}}
== Warning ==
== Warning ==
This is work in progress of description of the prototype specification possibilities. The list is currenlty updated to version 0.15, however the individual pages are not guaranteed to be up to date.
This is work in progress of description of the prototype specification possibilities. The list is currenlty updated to version 0.16, however the individual pages are not guaranteed to be up to date.
== Basics ==
== Basics ==
* Prototype objects are specified in lua script called data.lua in the root of every mod (base game works as mod as well)
* Prototype objects are specified in lua script called data.lua in the root of every mod (base game works as mod as well)
Line 30: Line 30:
* [[Prototype/Entity]] <abstract>
* [[Prototype/Entity]] <abstract>
** [[Prototype/Arrow]] '''arrow'''
** [[Prototype/Arrow]] '''arrow'''
** [[Prototype/ArtilleryProjectile]] '''artillery-projectile'''
** [[Prototype/Beam]] '''beam'''
** [[Prototype/Beam]] '''beam'''
** [[Prototype/CharacterCorpse]] '''character-corpse'''
** [[Prototype/CharacterCorpse]] '''character-corpse'''
** [[Prototype/Cliff]] '''cliff'''
** [[Prototype/Corpse]] '''corpse'''
** [[Prototype/Corpse]] '''corpse'''
*** [[Prototype/RailRemnants]] '''rail-remnants'''
*** [[Prototype/RailRemnants]] '''rail-remnants'''
Line 38: Line 40:
** [[Prototype/EntityWithHealth]] <abstract>
** [[Prototype/EntityWithHealth]] <abstract>
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/Accumulator]] '''accumulator'''
*** [[Prototype/ArtilleryTurret]] '''artillery-turret'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Beacon]] '''beacon'''
*** [[Prototype/Boiler]] '''boiler'''
*** [[Prototype/Boiler]] '''boiler'''
Line 48: Line 51:
**** [[Prototype/LegacySmartContainer]] '''smart-container''' (unused in the base-game, but exists for migration)
**** [[Prototype/LegacySmartContainer]] '''smart-container''' (unused in the base-game, but exists for migration)
**** [[Prototype/LogisticContainer]] '''logistic-container'''
**** [[Prototype/LogisticContainer]] '''logistic-container'''
***** [[Prototype/InfinityContainer]] '''infinity-container'''
*** [[Prototype/CraftingMachine]] <abstract>
*** [[Prototype/CraftingMachine]] <abstract>
**** [[Prototype/AssemblingMachine]] '''assembling-machine'''
**** [[Prototype/AssemblingMachine]] '''assembling-machine'''
Line 107: Line 111:
**** [[Prototype/Car]] '''car'''
**** [[Prototype/Car]] '''car'''
**** [[Prototype/RollingStock]] <abstract>
**** [[Prototype/RollingStock]] <abstract>
***** [[Prototype/ArtilleryWagon]] '''artillery-wagon'''
***** [[Prototype/CargoWagon]] '''cargo-wagon'''
***** [[Prototype/CargoWagon]] '''cargo-wagon'''
***** [[Prototype/FluidWagon]] '''fluid-wagon'''
***** [[Prototype/FluidWagon]] '''fluid-wagon'''
Line 120: Line 125:
** [[Prototype/LegacyDecorative]] '''decorative''' probably exists for migration
** [[Prototype/LegacyDecorative]] '''decorative''' probably exists for migration
** [[Prototype/Particle]] '''particle'''
** [[Prototype/Particle]] '''particle'''
*** [[Prototype/ArtilleryFlare]] '''artillery-flare'''
*** [[Prototype/LeafParticle]] '''leaf-particle'''
*** [[Prototype/LeafParticle]] '''leaf-particle'''
** [[Prototype/ParticleSource]] '''particle-source'''
** [[Prototype/ParticleSource]] '''particle-source'''
Line 170: Line 176:
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/MapSettings]] '''map-settings'''
* [[Prototype/ModuleCategory]] '''module-category'''
* [[Prototype/ModuleCategory]] '''module-category'''
* [[Prototype/NoiseExpression]] '''noise-expression'''
* [[Prototype/NoiseLayer]] '''noise-layer'''
* [[Prototype/NoiseLayer]] '''noise-layer'''
* [[Prototype/OptimizedDecorative]] '''optimized-decorative'''
* [[Prototype/OptimizedDecorative]] '''optimized-decorative'''
Line 178: Line 185:
* [[Prototype/Technology]] '''technology'''
* [[Prototype/Technology]] '''technology'''
* [[Prototype/Tile]] '''tile'''
* [[Prototype/Tile]] '''tile'''
* [[Prototype/TrivialSmoke]] '''trivial-smoke'''
* [[Prototype/Tutorial]] '''tutorial'''
* [[Prototype/Tutorial]] '''tutorial'''
* [[Prototype/UtilityConstants]] '''utility-constants'''
* [[Prototype/UtilityConstants]] '''utility-constants'''

Revision as of 19:13, 18 December 2017

Warning

This is work in progress of description of the prototype specification possibilities. The list is currenlty 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