Rolling multiple dice in a single "/roll" command?

75 views
Skip to first unread message

Mora Fermi

unread,
Apr 19, 2014, 1:05:58 PM4/19/14
to t3-dis...@googlegroups.com
Hello,

Is there any way to quickly roll multiple separate dice in one "/roll" command? There are multiple games where roll results are not summed up, but each die value is considered separately, usually compared in a pass/fail test.

In good 'ol Maptools, one could use this, somewhat awkward syntax:
[d1][d2][d3]...
right in the chat.

Is there any equivalent to it in Tiamat?

Virenerus

unread,
Apr 20, 2014, 7:02:35 AM4/20/14
to t3-dis...@googlegroups.com
Mh,
do you mean something like "count all d6 that are at least 5"? That would be
/r 7d6s5


The s meaning here that every dice larger or equal to 5 is counted as success (5), others as failure (0). This would return any value between 0 and 7. Or do you need anything else? If yes, pleasy give me an example of how you have to roll and what you need to see from the results and maybe which game the roll is from.


You definately showed me that I forgot to write a documentaion about the dice syntax. I will rectify that today.

Thanks for the review
Virenerus

Mora Fermi

unread,
Apr 20, 2014, 7:48:24 AM4/20/14
to t3-dis...@googlegroups.com
Hello,

"Success" rolls are useful, however in the game I'm currently playing, the *value* of each roll is almost as important as whether it is a pass/fail. For example, if all rolled dice have come up "1", it's a botch -- a critical failure; in contest rolls (for example during an attack), the "versus" number would be established in an independent roll, made by someone else. And finally, sometimes you have to roll a really large number of these; recently one of my players was rolling this:

d12 d10 d6 d8 d10 d10 d12 d8 

While obviously this can be rewritten in the "success" form, it still requires a lot of thinking over, especially if all those dice come from different, sometimes circumstantial sources.

I'm currently poking at the ExtendableDice.java and the chat parser to see if I can make things easier for my players.

Here is an example of what I would like to see from a roll:

/r 1d6,1d10
1d6,1d10 = [3, 8]

Thanks!

Virenerus

unread,
Apr 20, 2014, 8:26:20 AM4/20/14
to t3-dis...@googlegroups.com
Mhh. I see what you mean. I will look into it tomorrow or the day after that. Should be easy enough to implement.
If you look into it yourself. For the chat parser you need the jj file. The Generator.java creates the tokenizer and parser from that.

Mora Fermi

unread,
Apr 20, 2014, 1:54:39 PM4/20/14
to t3-dis...@googlegroups.com
By the way, can you possibly describe your development environment? I haven't touched Java in years and my experience with building things ended with how to invoke javac on a single file. :-)

Thanks!

Virenerus

unread,
Apr 20, 2014, 2:36:03 PM4/20/14
to t3-dis...@googlegroups.com
I am working with the Eclipse IDE. To run it you can simply start Tabletoptool.java from eclipse. I use maven for dependency management and ant script for building.
Hope that helps.

Virenerus

unread,
Apr 22, 2014, 1:20:29 AM4/22/14
to t3-dis...@googlegroups.com
Okay, after rechecking it, that feature doesn't seem too useful. You get more or less the same by simply using +

In:
/roll 1d20+1d6+1d8
Out:
1d20+1d6+1d8 = [5]+[5]+[3] = 13


There is only also a sum printed at the end. Otherwise it is exactly you expected output.
Reply all
Reply to author
Forward
0 new messages