Mother DocsMother Docs
Buy me a Coffee
Steam Workshop
Discord
  • Cheatsheet
  • Announcements
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Printed by Mother
  • Mother Core (Script Framework)
  • Mother Dev Tools
  • Motherland
  • Powered by Mother
  • Brand Guidelines
Buy me a Coffee
Steam Workshop
Discord
  • Cheatsheet
  • Announcements
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Printed by Mother
  • Mother Core (Script Framework)
  • Mother Dev Tools
  • Motherland
  • Powered by Mother
  • Brand Guidelines
  • Cheatsheet
  • Announcements
  • Mother OS (Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Command Line Interface (CLI)
      • Conditional Logic
      • Configuration
    • Modules
      • Activity Monitor
      • Air Vent Module
      • Almanac
      • AutoLCD Module
      • Battery Module
      • Block Catalogue
      • Cockpit Module
      • Connector Module
      • Display Module
      • Door Module
      • Gas Tank Module
      • Hinge Module
      • Intergrid Message Service
      • Jump Drive Module
      • Landing Gear Module
      • Light Module
      • Local Storage
      • Merge Block Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Screen Module
      • Sensor Module
      • Sorter Module
      • Sound Block Module
      • Terminal Block Module
      • Thruster Module
      • Timer Block Module
      • Wheel Module
    • Compatibility
    • Troubleshooting
    • Examples
  • Mother GUI (Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Configuration
    • Commands
    • Menus
    • Views
    • Examples
  • Mother Autopilot System (MAPS) (Script)
    • Getting Started

      • Upgrade Guide
      • Installation
    • Modules

      • Flight Planning Module
      • Map Module
      • Flight Control Module
      • Attitude Module
      • Docking Module
  • Printed by Mother (Script)
    • Getting Started

      • Installation
      • Configuration
    • Commands
    • Conditions
    • Print Jobs
    • Alignment
    • Hooks
    • Examples
  • 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
      • Conditions
      • Configuration
      • Event Bus
      • Intergrid Message Service
      • Local Storage
      • Log
      • Terminal
    • Utilities

      • Color Helper
      • Number Helper
      • Security
      • Serializer
    • Testing
    • Tutorials
  • Mother Dev Tools
  • Motherland
  • Powered By Mother
  • Brand Guidelines

Gas Tank Module

The Tank Module allows the user to control Oxygen and Hydrogen tanks on their grid.

  • Commands
    • stockpile
    • share
    • toggle
  • Properties

Commands

stockpile

Set the Tank Stockpile to on.

tank/stockpile <Tank|Group>

Example

Terminal
tank/stockpile HydrogenTank;

share

Set the Tank Stockpile to off. The tank is now sharing its contents with your grid.

tank/share <Tank|Group>

Example

Terminal
tank/share OxygenTank;

toggle

Toggle the Tank Stockpile between on and off.

tank/toggle <Tank|Group>

Example

Terminal
tank/toggle HydrogenTank;

Properties

Tips

Properties and predicates are very useful in conditions. A property is compared with an operator and a value (fill < 25%), while a predicate stands alone (low). See Conditional Logic to use them in when rules and if steps.

A group of tanks is compared by its average fill.

PropertyDescription
fillHow full the tank is as a ratio, from 0 to 1. Compare with a percentage, ie. fill < 25%.
stockpile1 when the tank is stockpiling, 0 when it is sharing.
PredicateTrue when
lowFill is under 15%. Has a 5% buffer.
criticalFill is under 10%. Has a 3% buffer.
emptyFill is under 2%.
fullFill is over 98%.
stockpilingThe tank is stockpiling.

Compare a property

Mother > Custom Data
[rules]
HalfFuel=
| when "Hydrogen Tanks" fill < 50%;
|   light/color "Fuel Light" yellow;

Use a predicate

Mother > Custom Data
[rules]
LowFuel=
| when "Hydrogen Tanks" low;
|   light/color "Fuel Light" red;
| else;
|   light/color "Fuel Light" green;
Last Updated: 10/31/26, 10:26 PM
Contributors: Luke Morrison, lukejamesmorrison
Prev
Door Module
Next
Hinge Module