Types/ModuleSpecification

From Official Factorio Wiki
Revision as of 18:23, 25 October 2017 by Bilka (talk | contribs) (Created page with "==Basics== The number of module slots in this entity, and their icon positions. == Mandatory properties == === module_slots === '''Type''': Types/uint The number of mod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/uint

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
}