• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button, see how: Slides).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Dice Codes

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
Dice Codes
  • 1d6: roll one six-sided die
  • 2d6: roll two six-sided dice
  • 2d6+3: roll two six-sided dice and add 3 to the result
  • 2d6-7: roll two six-sided dice and subtract 7 from the result
  • 1d30, 1d12, 1d100+1900: roll one 30-sided die, one twelve-sided die, and one 100-sided die and add 1900 to it - and thereby generate a simplified birthdate in the format "Day Month Year"
  • 1d20+5 (20+): roll one 20-sided die, add 5, and check if the result is at least 20
  • 3d6 (12-): roll three six-sided dice and check if the result is less than or equal to 12
  • 4d6 [5+]: roll four six-sided dice and check each die if it resulted in 5 or more
  • 3d10*: roll three ten-sided dice with exploding dice (i.e. reroll any ten and add the reroll to the result)
  • 1d8*+1d6*: roll one eight-sided die and one six-sided die (both exploding, i.e. reroll any eight (for d8) or any six (for d6) and add the reroll to the result)
  • 4dF: roll four Fudge/Fate dice
  • 1d{Red|Orange|Yellow|Greeen|Blue|Violet}: roll a "color" die (will always result in a zero and thereby won't participate in success evaluation, options are delimited by | and may only consist of letters, digits, and blanks)
You can find this list here: http://dice.campaign-logger.com/help.html
And you can try your dice here: http://dice.campaign-logger.com/
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Would it be possible to use the color die also in the generator dice: function?
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
Would it be possible to use the color die also in the generator dice: function?

resultPattern: "{dice:1d{{Red|Green}}}"

--> always generates 0 as a result - but that is just output formatting

resultPattern: "{dicex:1d{{Red|Green}}}"

--> gives [Red] or [Green]
 
  • Like
Reactions: ELF

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Thanks! In some cases it can be handy to include small variations inline, without creating a separate table for them.

(And just because I'm so difficult, would it be possible to lose the automatically inserted square brackets around the result? 😬 )
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
(And just because I'm so difficult, would it be possible to lose the automatically inserted square brackets around the result? 😬 )

Not currently and not automatically. But looking into a recent ticket, I would like to give the Dice Roller some love...
 
  • Like
Reactions: ELF
Top