From MachinationsWiki
Revision as of 11:18, 24 June 2012 by Joris (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A Converter is a node that destroys resources to produce new resources. It is one of the Four Economic Functions.

Converters can have four different activation modes:

  1. Automatic Converters fire once every time step (or once after every turn for Turn-Based Diagrams).
  2. Interactive Converters fire when a user activates it by clicking on it.
  3. Starting Converters fire once when a diagram starts running.
  4. Passive Converters only fire when triggered.

When a Converters fires it attempts to pull resources towards as specified by the Labels of all its input Resource Connections. The Pull Modes of a node specify in more detail how a node pulls resources from another node. There are two different pull modes:

  1. a node pulls as much resources as it can, up to the flow rates of its inputs. If not all resources are available, it still pulls those that are. (default)
  2. a node can be set to pull all or none resources. In this mode, when not all resources are available, none are pulled. Nodes that are in 'all or none' pull mode are marked with an '&' sign.

Conceptually a Converter is a combination of a Drain and a Source and acts as a combination of the two with respect to input and output Resource Connections (See the equivalent pattern below).

Sometimes it is easy to confuse Converters and Traders. The difference between them is that with a Converter a number of resources are destroyed and another number are created, as a result the total number of resources can change, whereas with a trader the resources are traded between elements and their number must stay the same.