Labels
configure Resources flows and State changes
Labels are applied to Connections. Depending on which type of Connections they are used, Labels determine the rate at which Resources flow, or how the diagram's State changes.
Resource Connections Labels
Labels on Resource Connections dictate how Resources flow between Nodes.
Here are the types of Labels supported by Resource Connections:
Label Types
Format
Examples
flow rate
x
0; 2 ; 13; 0.5
random flow rate
Dx; yDx; x%
D6; 2D5; D3-D2; 20%; 50%
intervals
x|y
1|4; 2|2; D6|3; D3|(D6+2)
multipliers
x*y
2*50%; 3*D3
all resources
all
all
description
description: label
damage: D3
State Connections Labels
Labels attached to State Connections indicate the effects of state and state changes on other elements in the diagram.
Here are the Label types you can use, and to which types of State Connection they can be applied:
Label Types
Format
Examples
Applicable to
modifiers
+; -; +x; -x; +x%
+; -; +2; -0.3; +5%; -2%
value modifiers; node modifiers
interval modifiers
+xi; -xi
+2i; -1i
value modifiers
probabilities
x%; x
20%; 3
triggers after a gate
conditions
==x; !=x; x; >=x;
==0; !=2; >=4;
activators; triggers after a gate
range (conditions)
x..y
2..5; 4..7
activators; triggers after a gate
trigger maker
*
*
triggers
reverse trigger
!
!
revers triggers
Intervals
You may want a Node in your diagram to be activated less than every time step.
Create flow rates with an interval by using |
For example, a Source that has an output rate of 1|5 will produce 1 Resource every 5 time steps.
You can use random flow rates with Intervals. A production rate of D6|3 will produce between one and six Resources every 3 steps.
Intervals can be random as well. A production rate of 1|(D4+2) indicates that 1 Resource is produced every 3 to 6 steps.
Random Intervals can be a good way to keep the player’s attention on the game.
You can even use a production rate of D6|D6, which indicates between one and six resources are produced every one to six steps.
🔧 Intervals can also be modified dynamically. Label Modifiers that have an i
as a unit of their modification (for example, +1i or -3i) will change their target’s interval.
In the example above, the Difficulty Factor initially increases 1 Difficulty point every 2 running steps (1|2). By adding the Interactive Register with the Label Modifier +1i, we're able to change the interval dynamically, in this case, we modified it to 1 Difficulty point up to every 5 running steps (1|2+3). (Hint: watch the Running Steps count in the gif to track the changes.)
Combining random flow rates
When working with random flow rates, it is often useful to combine multiple chances into one value. For example, a Source might have two chances of producing a Resource during every time step.
The two constructions are equivalent, but the one on the right is less cluttered. If you need to use different probabilities, however, you will have to create a construction like the one on the left.
Last updated