Node book›Maths
Random
A number by chance from least to most.
One node on the bench: its dropdown switches between the choices below, keeping the wires that still fit. In a file each choice has its own id.
| Choice | Id | What it does |
|---|---|---|
| Number | math/RandomNumber | A number from least to most, by chance. |
| Whole number | math/RandomWhole | A whole number from least to most by chance, both may come. |
Number
A number from least to most, by chance.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/RandomNumber
- inleasta number
Lowest.
Starts as
0.0 - inmosta number
Highest.
Starts as
1.0 - outresulta number
The number.
Whole number
A whole number from least to most by chance, both may come.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- In a file
math/RandomWhole
- inleasta whole number
Lowest.
Starts as
1 - inmosta whole number
Highest.
Starts as
6 - outresulta whole number
The number.
Modding