Mother DocsMother Docs
Buy me a Coffee
Steam Workshop
Discord
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Mother Core (Script Framework)
  • Cheatsheet
  • Brand Guidelines
Buy me a Coffee
Steam Workshop
Discord
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Mother Core (Script Framework)
  • Cheatsheet
  • Brand Guidelines
  • Cheatsheet
  • Mother OS (Ingame Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Command Line Interface (CLI)
      • Configuration
      • Modules
    • Core Modules

      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Intergrid Message Service
      • Local Storage
      • Merge Block Module
    • Extension Modules

      • Air Vent Module
      • Battery Module
      • Terminal Block Module
      • Cockpit Module
      • Connector Module
      • Display Module
      • Door Module
      • Gas Tank Module
      • Hinge Module
      • Landing Gear Module
      • Light Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Screen Module
      • Sensor Module
      • Sorter Module
      • Sound Block Module
      • Thruster Module
      • Timer Block Module
      • Wheel Module
    • Compatibility
    • Examples
  • Mother GUI
    • Getting Started

      • Installation
      • Configuration
    • Commands
    • Menus
    • Views
  • Mother Autopilot System (MAPS)
    • Getting Started

      • Upgrade Guide
      • Installation
    • Modules

      • Flight Planning Module
      • Map Module
      • Flight Control Module
      • Attitude Module
      • Docking Module
  • Mother Core (Script Framework)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Architecture Overview
      • Managing Script Size & Complexity
    • Building A Module
    • Mother CLI (Console)
    • Core Modules
      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Clock
      • Command Bus
      • Configuration
      • Event Bus
      • Intergrid Message Service
      • Local Storage
      • Log
      • Terminal
    • Utilities

      • Color Helper
      • Number Helper
      • Security
      • Serializer
    • Tutorials
  • Powered By Mother
  • Brand Guidelines

Merge Block Module

The Merge Block module allows the user to monitor merge blocks on the grid via hooks. When Mother merges and unmerges, she updates the Block Catalogue to reflect the new grid (construct) configuration.

  • Hooks

Hooks

The following hooks can be defined in the block's Custom Data, and will be triggered when the corresponding state change occurs:

KeyTrigger
onMergeRun when a merge block locks (merges with another block).
onUnmergeRun when a merge block unlocks (separates from another block, or turns off).

Example

Imagine our merge block controls a detachable module and we want to indicate its status:

ModuleMergeBlock > Custom Data
[hooks]
onMerge=light/color "Module Status Light" green;
onUnmerge=light/color "Module Status Light" red;

or

Mother > Custom Data
[hooks]
RampMergeBlock.onMerge=light/color "Ramp Light" green;
"Cargo Pod Merge".onUnmerge=sound/play "Separation Alarm";

Note

Merge Block hooks are fired when the merge block state changes, regardless of whether the change was initiated by a player action or through game mechanics.

Last Updated: 5/2/26, 9:09 PM
Contributors: Luke Morrison, lukejamesmorrison
Prev
Local Storage