|Anna 79a7d0e311||7 years ago|
|lib||7 years ago|
|.gitignore||8 years ago|
|battleman.py||8 years ago|
|diceroller.py||8 years ago|
|readme.markdown||8 years ago|
This is a collection of tools designed to assist a GM running a tabletop roleplaying game (either in person or over the Internet). Some of the tools are specific to D&D 4e, and some of them are more broadly useful. They are designed to minimize the amount of time the GM needs to spend looking at the screen, so that she can keep her focus on the game and the players.
4etools includes tools for both GMs and programmers:
A battle manager - keeps track of initiative order, hit points, and conditions for everyone involved in the battle.
Battleman also aas a sense of whose turn it is, and prints a convenient message telling you who now has initiative when you enter the 'next' command.
A robust command-line dice-rolling utility. Many others exist, of course, but this one accepts all of its arguments as command-line parameters, making it a simple and intuitive interface for Linux types.
A module that provides a robust Dice class with a convenient from_str() classmethod.
This module has data objects for storing and retrieving information about a battle, initiative groups, and combatants. It prints to stdout and prompts for input from stdin.
Convenience functions for prompting/reading strings and ints. Has the ability to specify defaults, and more.