[−][src]Crate dndtools
Library and binaries to provide tools and functions for managing Dungeons and Dragons 5th Edition.
This documentation covers the features provided by the library, including functions, structs, and enums that can be useful to a D&D program.
Structs
DiceToRoll | Struct to represent multiple dice of a single type to be rolled, such as 2d6. |
RolledDice | Struct to represent multiple rolled dice of a single type. Stores individual rolls and a grand total. |
RolledDiceBatch | Struct to represent multiple rolled dice of multiple types.
Stores a vec of |
Enums
Die | Enum for type of die. |
Functions
gen_stats | Generate a block of PC stats. |
roll_dice | Simulate rolling dice. |