Games & fun · Value
Roll dice
Roll dice written the usual way, like 2d6+3 or d20.
math.dice
In a flow
“Works out roll dice whenever a step wired to it needs the answer.”
2d6+3 → 4 + 2 + 3 = 9
What it does
Roll dice written the usual way, like 2d6+3 or d20. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Games & fun in the palette.
When to use it
Use it for games and fun: roll dice written the usual way, like 2d6+3 or d20.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Dice Text
-
Dice like 2d6+3, d20 or 4d6. At most 100 dice of up to 1000 sides.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses 1d6.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Total Number
-
The total. e.g. 9
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Rolls List
-
Each die. e.g. [4, 2]
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- As text Text
-
The roll written out. e.g. 🎲 2d6+3: 4 + 2 + 3 = **9**
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more