Skip to content

Nodes & Production

CargoNode is the main gameplay component for a location.

Node Kinds

The node kind is a label for organizing behavior and editor setup.

Available kinds include:

  • Town
  • Factory
  • Mine
  • Warehouse
  • Harbor
  • Airport

Operation Modes

Use operation mode to decide whether a node should run production logic.

Production : The node can request cargo, unlock stages, and run production rules.

Storage Only : The node stores and transfers cargo but does not run production or stage progression.

Storage-only mode is recommended for warehouses, harbors, and airports.

Initial Request

Use Initial Request when a node should start empty and wait for one delivery goal.

Example:

Initial Request: Wood x50

When the request is completed, the node unlocks its first stage.

Stages

Stages define what happens after a request is completed.

A stage can include:

  • display name
  • footprint size
  • storage capacity bonus
  • new requests
  • productions to unlock
  • visuals to enable
  • On Completed event

Production Rules

A production rule defines inputs, outputs, and cycle time.

Example:

Tools
Inputs:
  Wood x1
  Ore x1
Outputs:
  Tools x1
Cycle Time:
  1 second

If a node has the required inputs in storage, it can produce the outputs.

Mine Pattern

For a mine:

  • leave Initial Request empty
  • leave Stages empty
  • add one basic Starting Production

Town Pattern

For a town:

  • leave Starting Productions empty
  • add an Initial Request
  • unlock productions and new requests through stages

Factory Pattern

For a factory:

  • add an Initial Request
  • unlock production in the first stage
  • add later requests for more advanced production chains