Prototype/Equipment

From Official Factorio Wiki
Revision as of 11:20, 20 June 2018 by Bilka (talk | contribs) (Extends Prototype.)
Jump to navigation Jump to search

Basics

An equipment module. Extends Prototype.

Mandatory properties

Inherits all properties from Prototype.

sprite

Type: Types/Sprite

shape

Type: Types/EquipmentShape

categories

Type: Types/table of Types/string

An array of equipment-category names.

energy_source

Type: Types/EnergySource

Must be an electric energy source.

Optional properties

ability_icon

Type: Types/Sprite

take_result

Type: Types/string

Default: name of the prototype

background_color

Type: Types/Color