3d-dice / dice-box

3D Game Dice for any JavaScript App
https://fantasticdice.games/
MIT License
137 stars 30 forks source link

Have a d6 with values from 0 to 5 #104

Open Rafarel opened 5 months ago

Rafarel commented 5 months ago

Hello there! First of all, thanks for sharing your work :) I wonder if there's an easy way to roll a d6 with custom faces that starts at zero and ends at five. I know that I can do 1d6-1 but I really have to display the zero. Thanks for your help!

Rafarel commented 5 months ago

Ok I found how to make a custom theme, I guess that this is my only option here. I tried to edit the models.json as I just need the d6 but it seems that the code forces you to implement every single type of dice (except d10 or d100?). So I wonder if there's a way to just have a d6 model to have the most lightweight implementation of the dice-box.