Library›Maths
Roll a die
fn/game.Roll
A throw of a die with so many sides: a whole number from 1 to sides.
- Does
- A value: worked out when a node wired to it asks
- Runs
- On every machine
- Listed under
- Library › Maths
- In a file
fn/game.Roll
Pins
- insidesa whole number
Sides.
Starts as
6 - outrolla whole number
Roll.
How it is made
Its body, as the bench opens it read-only. Copy into my mod on the bench makes a copy to change. The library's file is lists.graph.json.
Modding