Generate random weapons, items, and loot for Dungeons & Dragons 5th ed.
Go to file
evilchili 9c19373120 Adding scrolls
This commit introduces a random spells scroll generator
2024-01-19 00:12:01 -08:00
dnd_item Adding scrolls 2024-01-19 00:12:01 -08:00
tests fix flakey test 2023-12-31 11:24:16 -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 Update README.md 2023-12-29 22:17:53 -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:

  • weapon: Generate weapons
  • roll-table: Generate roll tables of random items

Examples:

% dnd-item weapon

Freezing +3 Longbow Of Mighty Strikes

  • very rare martial weapon (ammunition, enchanted, heavy, magical, two-handed)
  • +3 to hit, 150/600 ft., 1 tgts. 1d8+3 Piercing + 1d8 cold

Ammunition. You can use a weapon that has the ammunition property to make a ranged attack only if you have ammunition to fire from the weapon. Each time you attack with the weapon, you expend one piece of ammunition. Drawing the ammunition from a quiver, case, or other container is part of the attack (you need a free hand to load a one-handed weapon).

Enchanted. Attacks made with this magical weapon do an extra 1d8 cold damage.

Heavy. Small creatures have disadvantage on attack rolls with heavy weapons. A heavy weapons size and bulk make it too large for a Small creature to use effectively.

Magical. This magical weapon grants +3 to attack and damage rolls.

Two-Handed. This weapon requires two hands when you attack with it.