⧰ Advanced Nodes

    Documentation

    Converters & Traders

    Converters & Traders

    info

    Converters and Traders use only 1 Step to both get the input and execute the command.

    Converters transmute one or more Resources into another.

    info

    Converters have 4 Activation Modes and Pulling & Pushing Resources actions that Pools do. Set these in Properties > Activation/Action.

    Converters are designed to model things like factories that turn raw materials into finished products. In League of Legends, for example, you would use a Converter to forge a Hextech Key out of 3 Hextech key fragments.

    🔧 In the example diagram below, the Converter will automatically pull 3 Resources every time step from the Key Fragments Pool, and forge them into a Key. When there won’t be enough Key Fragments (3) to forge a Key, the Converter will continue to pull Resources (emphasised by the blinking Resource Connection), but it will only succeed when the Pool will once more contain at least 3 Key Fragments.

    The rates at which Converters consumes one type of Resource and produces another are given by the Labels on its input and, respectively, output Resource Connections. In the example above, the Converter drains 3 key fragments and produces 1 key.

    info

    Converters act exactly as a Drain that triggers a Source, consuming one Resource to produce another. However, the Converter Node executes the conversion during ONE Step, as opposed to the equivalent construct, which requires 1 Step for each Node to execute its job. See the example below.

    info

    The Converter Equivalent may come in handy if you need to limit the output of the conversion.

    By combining a Drain and a limited Source, you can get a limited Converter that can produce only a limited amount of Resources as its output.

    Traders are Nodes that cause Resources to change ownership when fired: two players could use a Trader to exchange Resources.

    success

    Traders have 4 Activation Modes – select one of them in Properties > Activation.

    danger

    Traders require that the 2 types of Resources being traded be differentiated through Colour Coding. The construct will have 2 pairs of input-output Resource Connections, each of a certain colour (eg: 1 red coming in – 1 red coming out; 1 blue coming in it – 1 blue coming out).

    All input and output Resource Connections need to be colour coded, even if one of the colours is the default Black. To do this, you need to tick “Colour coding” in the Functional Resource Connection panel on the right. [The Colour Coding box ticks automatically when choosing a different colour than the default, from the drop-down beside it.]

    Read more about Filter (Colour Coding)

    success

    Use Traders when a given number of Resources of one type is exchanged for (not converted into) a given number of another type. This is ideal for any situation that resembles shopping: the merchant receives money, and the customer receives goods in a stated proportion (the price).

    If either the merchant or the customer does not have the necessary Resources, the trade cannot take place.

    A trading mechanism can be constructed by two Gates connected by a Trigger ensuring that when one Resource is received, the other is returned in exchange.

    ​🔧 Watch the gif below, showcasing a Trader and a Trader-like system, working side by side.

    info
    Converters vs Traders

    From a player’s perspective, Converters and Traders have almost the same function: pass a number of Resources to it and get a number of other Resources in return.

    From a game designer’s perspective, however, they are definitely not the same. When activating a Converter, Resources are actually consumed and produced, and therefore the total number of Resources in the game might change. In contrast, activating a Trader leads only to an exchange; the number of Resources in the game stays the same.

    Try out Converters and Traders live:

    Contents

    Used by 2500+ game studios all over the world

    250+ universities & academic institutions use Machinations

    All Rights Reserved © Machinations S.àr.l

    8 Op Bierg, 8217, Mamer, Luxembourg, accounts at BGL BNP PARIBAS, VAT number: LU30464284

    We use cookies for marketing and analytics. We also share information about your use of our site with our marketing and analytics partners who may combine it with other information that you’ve provided to them. You consent to our cookies if you continue to use our site. Learn more