Prototype/Module: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype/Item. == Mandatory properties == This prototype inherits all the properties from Prototype/Item. === category === '''Type''': Types/...")
 
m (link to base-game item)
Line 1: Line 1:
== Basics ==
== Basics ==
Extends [[Prototype/Item]].
A [[module]]. Extends [[Prototype/Item]].


== Mandatory properties ==
== Mandatory properties ==

Revision as of 10:15, 25 June 2018

Basics

A module. Extends Prototype/Item.

Mandatory properties

This prototype inherits all the properties from Prototype/Item.

category

Type: Types/string

The name of a module category.

tier

Type: Types/float

effect

Type: Types/Effect

Optional properties

limitation

Type: Types/table of Types/string

Array of recipe names this module can be used on. If empty, the module can be used on all recipes.

limitation_message_key

Type: Types/string

Mandatory when limitation is present. The locale key of the message that is shown when the player attempts to use the module on a recipe it can't be used on.