Tabletop Simulator

Tabletop Simulator

Not enough ratings
Easy dice
   
Award
Favorite
Favorited
Unfavorite
Number of Players: 1, 2, 3, 4
Assets: Scripting
File Size
Posted
Updated
12.599 KB
28 Apr, 2016 @ 4:36am
26 Aug, 2017 @ 12:42am
17 Change Notes ( view )

Subscribe to download
Easy dice

Description
Scripted dice for fast and easy dice throwing.

Right click to set dice and face values (1d6 format).

Every roll has a roll number for tracking.

Use "Custom" sub-menu to change background image.

New version allows putting more text and custom faces on your dice.

Use XdY format to get X dice with Y faces.
Use XdY+Z, XdY-Z format to get sum of X dice with Y faces modified by Z.
Use Xd{a;b;c;d} format to get X dice with "a", "b", "c", "d" faces.
Use {randomPlayer} to get name of random player that is sitting at the table.
Use {secret} to only show results to the person that clicked.


Examples below.

Description: 2d20
Result:
2,12
5,1
20,17


Description: Str 1d20+5 Dex 3d6+1 Int 2d6+0
Result:
Str 6 Dex 7 Int 5
Str 24 Dex 9 Int 6
Str 18 Dex 14 Int 9


Description: Attack dice - 3d{Blank;Blank;Focus;Focus;Hit;Hit;Hit;Critical}
Result:
Attack dice - Blank, Focus, Hit
Attack dice - Hit, Hit, Critical
Attack dice - Hit, Blank, Critical


Description: {randomPlayer} was 1d{hit;critically hit} in the 2d{head;right leg;left leg;torso;right arm;left arm} for a total of 2d6+0 damage
Result:
drNòódles was hit in the head, left leg for a total of 2 damage
Alice was hit in the left leg, left arm for a total of 7 damage
Bob was critically hit in the head, torso for a total of 12 damage


Description: You 1d{meet;are attacked by} a 1d{male;female} 1d{human;gnome;hobbit;elf;dark elf} 1d{wizard;warrior;shaman;smith;beggar}
Result:
You are attacked by male hobbit shaman
You meet a female hobbit smith
You are attacked by female gnome wizard


Description: {randomPlayer} gains 1d10 pieces of gold
Result:
drNòódles gains 5 pieces of gold
Alice gains 10 pieces of gold
Bob gains 2 pieces of gold


Description: {randomPlayer} starts first
Result:
drNòódles starts first
Alice starts first
Bob starts first

Dice sets thrown together (2d20 1d5 3d3), monster generation, custom faces, story setup or development - you are only limited by your imagination!


Older bigger version ( https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=707878576 ) was moved to it's own workshop to keep things clean.


Update: You can type all the recipes in chat now with "R " keyword:
R 2d20
R {randomPlayer} starts first
R 3d{Blank;Blank;Focus;Focus;Hit;Hit;Hit;Critical}

Only ones named "Easy dice" will react to chat, so rename the ones you don't want to process rules if you have multiple ones. Even a dot at the end will do...
24 Comments
Cristal noir 9 Jul, 2021 @ 10:25am 
{secret} > only the affected color can see the result. For example only the blue player will be able to see his own roll of the dice. For example, I would like the red player to roll a dice and only the GM can see the result.
drNoodles  [author] 29 Jun, 2021 @ 9:03am 
use "{secret}" keyword in description
Cristal noir 28 Jun, 2021 @ 8:38pm 
very interesting tool, but how to make a throw only visible to the GM?
drNoodles  [author] 12 Oct, 2017 @ 3:20am 
this is a different kind of problem than in your last comment. well the idea behind this mod for me was that you set them once and don't modify them before every roll, in your case I would just make a 3d20 , maybe with a slight mod you could get 1d20+1d20+1d20 to show the sum...
Luthervian 11 Oct, 2017 @ 11:46am 
In this particular case, its for Hero System. It uses 3d for most checks and you have to roll under a target number. By the time I do the math for all possible target numbers in that range I'd be better off just rolling the 3 dice. Thanks anyways. I'll check later.
drNoodles  [author] 11 Oct, 2017 @ 7:20am 
assuming that you mean 14-20 out of 20 is a success, so it's like 7-10 out of 10, so it's like 4-5 out of 5: You make a climb check - you 1d{fall;fall;fall;succeed;succeed}.
Luthervian 10 Oct, 2017 @ 3:17pm 
Excellent addition, thank you.
For RPGs, it would be useful if we could specify a target number as well, reporting a "success" or "failure" if the roll makes the check.

For instance 1d20{14,You make your climb check, You fall.}
Markimus 15 Dec, 2016 @ 10:05am 
I think it would be nice if private and public could be used in conjunction. For example, if the GM makes a dice roll by clicking the button only he would get the result but the chat would receive information that the GM has done this roll. Also, add an "everyoneelse" tag as well.

Something like this:
everyoneelse(The GM has done a secret role.)
private({randomPlayer} was hit for 1d20 damage.)

You could also have the button do different things depending on who clicked on it.
ifHost({randomPlayer} was hit for 1d20 damage.)
ifBlue(You have the best colour, better than {randomPlayerX(Blue)}'s colour.)
ifRed(Your colour isn't as great as {BluePlayerName}'s colour.)
ifNotWhite(private(You are now working for the mafia.))
ifNotHost(You're a terrible person, not as great as {HostName}.)
drNoodles  [author] 29 Nov, 2016 @ 9:31am 
open game chat, click the roll button. no dice are needed.
Lowrider93 28 Nov, 2016 @ 8:30pm 
uh i don't get how this works, i spawnd a dice right clicked it and changed it to red then did the same with the dice spawner but nothing happens when i press the button, can u make a video to show how this works?