Generate random weapons, items, and loot for Dungeons & Dragons 5th ed.
Go to file
2023-12-29 19:24:26 -08:00
dnd_item automatic formatting 2023-12-29 19:24:26 -08:00
tests initial commit of types library 2023-12-23 16:41:21 -08:00
.gitignore Initial commit 2023-12-04 22:18:40 -08:00
LICENSE Initial commit 2023-12-04 22:18:40 -08:00
pyproject.toml adding rolltables 2023-12-26 18:41:43 -08:00
README.md initial commit of types library 2023-12-23 16:41:21 -08:00

D&D Weapon, Item, and Loot Generator

WIP!

This package includes a library and CLI for generating randomized weapons, items, and loot for Dungeons & Dragons, 5th edition.

Usage

The dnd-item command-line utility supports several comments:

  • item: Generate a random item (the default)
  • weapon: Generate a basic, non-magical weapon
  • magical-weapon: Generate a weapon with an added magical damage type

Examples:

% dnd-item weapon
Pike
 * type.category: martial
 * type.damage: Piercing
 * type.die: 1d10
 * type.properties: heavy, reach, two-handed
 * type.range: None
 * type.reload: 
 * type.type: Martial
 * type.value: 500
 * type.weight: 18
% dnd-item magic-weapon
Shortsword Of Thunder
 * magic.adjective: booming
 * magic.die: 1d4
 * magic.noun: thunder
 * type.category: martial
 * type.damage: Piercing
 * type.die: 1d6
 * type.properties: finesse, light
 * type.range: None
 * type.reload: 
 * type.type: Martial
 * type.value: 1000
 * type.weight: 2