Types/ModuleSpecification: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(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...")
 
(Changed links going to the redirect Types/uint to go to Types/uint32.)
Line 4: Line 4:
== Mandatory properties ==
== Mandatory properties ==
=== module_slots ===
=== module_slots ===
'''Type''': [[Types/uint]]
'''Type''': [[Types/uint32]]


The number of module slots in this entity.
The number of module slots in this entity.

Revision as of 10:42, 25 June 2018

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
}