A command-line Bash tool to make dice-rolling in the TTRPG "The One Ring" simpler and faster.
|
|
3 semanas atrás | |
|---|---|---|
| README.md | 3 semanas atrás | |
| roll_tor.sh | 3 semanas atrás |
A CLI dice roller for The One Ring RPG, enhanced with gum for animations.
/dev/urandomgum# Make executable
chmod +x roll_tor.sh
# Roll 1 Feat Die (default) - shows symbol
./roll_tor.sh
# Roll 1 Feat Die + 3 Success Dice - shows symbols
./roll_tor.sh 1 3
# Roll 2 Feat Dice - shows symbols
./roll_tor.sh 2 0
Save frequently used dice configurations for quick access:
# Save macros
./roll_tor.sh --save-macro hero 1 3 # Basic macro
./roll_tor.sh --save-macro attack 2 4 adv # With advantage
./roll_tor.sh --save-macro spell 1 2 disadv # With disadvantage
./roll_tor.sh --save-macro skill 1 2 +5 # With +5 bonus
./roll_tor.sh --save-macro heroic 2 3 adv +5 # Complex macro
# List all saved macros
./roll_tor.sh --list-macros
# Use a saved macro
./roll_tor.sh hero
# Delete a macro
./roll_tor.sh --delete-macro hero
# Get help
./roll_tor.sh --macro-help
~/.tor-roller-macros