Label

From MachinationsWiki
Jump to: navigation, search

Labels affect Resource Connections and State Connections. There are a number of different Label types. These affect Resource and State Connections differently.

Labels of Resource Connections


Label Type Format Examples Effect
None Equal to 'value' of 1
Value x 0, 2, 3, 0.5, 1.3 Indicates a flow rate equal to the value of the label
Random Flow Rate Dx, yDx, x% D5, 2D6, D3-D2, 3*D4, 50%, 150% Indicates a random flow rate using dice notation or percentages. Percentages above 100% indicate a flow rate of 1 for every full 100% + a chance for the remaining percentage.
Intervals x/y 1/4, 2/2, D3/3, D3/(D6+2) Intervals are used to indicate a flow rate that occurs once every number of time steps. Both the numerator and the interval can be random values.
Multipliers x*y 1*3, 2*80%, 5*20% Multipliers indicate that each time the target node fires it will try to pull y resources x times. In this case x must be an integer value and y can be any type.
All Resources all all The flow rate is equal to the number of available resources
Draw Randomly drawx draw1, draw2, draw5 Resource are pulled from the source randomly, instead of from the top of the stack.

Labels of Resource Connections After Gates


Label Type Format Examples Effect
None Equal to 'probability' of 1
Probability x%, x 10%, 4, 2, 1 Indicates the chance the resource flows along this connection after passing the gate.
Condition ==x, !=x, <x, <=x, >x, >=x ==2, <3, >=4 Indicates the resource flows along this connection after passing the gate if the expression evaluates to true, and where x is the number generated by the gate.
Range (Condition) x-y 2-4, 5-6 Indicates the resource flows along this connection after passing the gate if the the number generated by the gate is equal to or between x and y.


Labels of Node Modifiers


Label Type Format Examples Effect
Modifier +x, -x +2, -3, +1 x resources are added to the target pool for every resource added to the source.
Fraction +x/y, -x/y +2/3, -3/3, +1/4 x resources are added to the target pool every time there is a change to the number resources on the source divided by y and rounded down.
Capacity Modifier +xc, -xc +1c, -5c, +10c The capacity of the target pool is increase by x for every resource added to the origin node.

Labels of Value Modifiers


Label Type Format Examples Effect
Modifier +x, -x, +x%, -x% +2, -3, +1, +0.2, -33% x is added to value the target label for every resource added to the source.
Fraction +x/y, -x/y +2/3, -3/3, +1/4, -0.3/2 x resources are added to the target every time there is a change to the number resources on the source divided by y and rounded down.
Interval +xi, -xi +2i, -3i, +1i x is added to value the target label's interval for every resource added to the source.
Multiplier Modifier +xm, -xm +2m, -3m, +1m x is added to value the target label's multiplier for every resource added to the origin.

Labels of Triggers


Label Type Format Examples Effect
Trigger Marker * * Indicates a trigger.
Probability (only shen source is a Gate) x%, x 10%, 4, 2, 1 Indicates the chance the trigger fires after the gate is satisfied.
Condition ==x, !=x, <x, <=x, >x, >=x ==2, <3, >=4 Indicates the trigger fires if the expression evaluates to true, and where x is the number generated by the gate.
Range (Condition) x-y 2-4, 5-6 Indicates the trigger fires if the the number generated by the gate is equal to or between x and y.

Labels of Activators


Label Type Format Examples Effect
Condition ==x, !=x, <x, <=x, >x, >=x ==2, <3, >=4 Indicates the target node can fire if the expression evaluates to true, and where x is the number of resources on the source node.
Range (Condition) x-y 2-4, 5-6 Indicates the target node can fire if the the number of resources on the source node is equal to or between x and y.