Types/ModuleSpecification

From Official Factorio Wiki
Revision as of 10:42, 25 June 2018 by BilkaBot (talk | contribs) (Changed links going to the redirect Types/uint to go to Types/uint32.)
Jump to navigation Jump to search

Basics

The number of module slots in this entity, and their icon positions.

Mandatory properties

module_slots

Type: Types/uint32

The number of module slots in this entity.

Optional properties

module_info_icon_shift

Type: Types/vector

module_info_multi_row_initial_height_modifier

Type: Types/double

Example

module_specification =
{
  module_slots = 2,
  module_info_icon_shift = {0, 0.5},
  module_info_multi_row_initial_height_modifier = -0.3
}