Skip to content

Atom package for RPG/DnD dice rolls

License

Notifications You must be signed in to change notification settings

JLDesignNetwork/rpg-dice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 RPG Dice Rolls in Atom 🧙

This package for the Atom text editor lets you generate dice rolls and stats for Dungeons & Dragons or similar RPGs directly in a text document. Use the key binding Ctrl+R or the command rpg-dice:roll-dice to append a dice roll result to the end of the current line.

demo.gif

The script will try to use selected text or text around the cursor to infer how many dice of how many sides to roll and what modifier to add. For example, try hitting Ctrl+R when the cursor is on 2d6, [-1], (3d4 + 7), or (stat). You can repeat a roll by keeping the result selected. The default numbers of dice and sides to use are configurable in settings.

Thank you to JLDesignNetwork for adding stat generation along with several other improvements. See their notes for an explanation of stat features.

About

Atom package for RPG/DnD dice rolls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%