Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.15 KB

README.md

File metadata and controls

9 lines (5 loc) · 1.15 KB

🎲 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.