Skip to content

Module

A Module is a building block of a Station. Vanilla module types:

  • Production module β€” produces wares.
  • Dock module β€” provides docking bays.
  • Defence module β€” turrets, shields, missiles.
  • Habitation module β€” workforce housing.
  • Storage module β€” cargo capacity.
  • Connection module β€” links other modules.
  • Properties: .macro, .ware (for production), .ware.resources (recipe), .tags, .iscontainer.
  • Actions: add to station, remove from station, pause production.
  • Libraries: related vanilla helpers.
  • Events: module-related signals.
  • Gotchas: $Mod.macro.ware.resources works, $Mod.products.list.{1}.resources returns null.
  • Examples: querying production recipe, adding new module to existing station.
  • Station β€” parent container.
  • Ware β€” what production modules produce.
  • Macro β€” module template data.