Log in

View Full Version : Multiple d size dice single rolls



Joram Mistwalker
July 15th, 2022, 18:09
Hope the title is not too confusing. Is there a way to set up multiple dice to roll at a time that are different sizes, without adding them to the hotbar?

For information, looking at starting work on a ruleset for Sentinels Comics RPG and it is very fluid in dice rolls. You combine 3 different dice according to what combination of power and quality you choose to use, plus a status die. These usually range from a d6 to a d12, and change combinations from roll to roll. So one roll may be d6/d8/d8 and the next roll could be d6/d0/d12. Also, the total of the dice roll does not usually matter, only the values and min to max sorting. There is not a real set combination for anything that can be done, so the constantly changing combos make using the hotbar cumbersome.

Some sort of set array would be ideal, where 3 columns of selectable dice are set up with checkboxes that would allow you to choose a die in each column then roll the three dice together. But, I am not really that good of a programmer and not sure that can be done in this system.

Any ideas or suggestions?

Trenloe
July 15th, 2022, 18:15
As part of an action (rolling dice) you put together a LUA table of dice records. You can have many different dice within a single action.

And step by step details on creating an action in FG is covered in this thread: https://www.fantasygrounds.com/forums/showthread.php?35531-Coding-dice-rolls-(actions)-in-CoreRPG Post #3 shows the rRoll.aDice LUA table being constructed - just a single d20 in this example.

Additionally, information on the dice table that is used to store results and display details in the chat window is available here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996644567/Comm

Joram Mistwalker
July 15th, 2022, 18:37
Ok, thanks. I will dig in to it. And since you are from Colorado, GO AVS!!!!!!!

Trenloe
July 15th, 2022, 19:22
And since you are from Colorado, GO AVS!!!!!!!

https://media2.giphy.com/media/h2f2TdLd7kacdBYILt/giphy.gif?cid=790b761186989e3849f457ff16418eaee06b 72e287eb1773&rid=giphy.gif&ct=g

Zacchaeus
July 15th, 2022, 19:31
Ok, thanks. I will dig in to it. And since you are from Colorado, GO AVS!!!!!!!

He is not from Colarado; not with his accent :)

Joram Mistwalker
July 15th, 2022, 23:49
I am not either, but we both obviously have good taste in teams.

damned
July 17th, 2022, 13:55
There is a Dice Pool extension from ianmward floating around that might help you.

Well it might help Joram - it probably wont help with Trenloe's accent though.

Joram Mistwalker
July 19th, 2022, 03:46
Ok, will look for that one as well. Thanks.

damned, that will do exactly what I wanted. Thanks!!!