dnd-item-generator/README.md

34 lines
1.3 KiB
Markdown
Raw Normal View History

2023-12-23 16:41:21 -08:00
# D&D Weapon, Item, and Loot Generator
**WIP!**
2023-12-29 22:15:16 -08:00
This package includes a library and CLI for generating randomized weapons, items, and loot for Dungeons & Dragons, 5th edition.
2023-12-23 16:41:21 -08:00
## Usage
The `dnd-item` command-line utility supports several comments:
2023-12-29 22:15:16 -08:00
* **weapon**: Generate weapons
* **roll-table**: Generate roll tables of random items
2023-12-23 16:41:21 -08:00
### Examples:
```shell
% dnd-item weapon
2023-12-29 22:17:53 -08:00
```
2023-12-29 22:15:16 -08:00
**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
2023-12-23 16:41:21 -08:00
2023-12-29 22:15:16 -08:00
**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).
2023-12-29 22:17:53 -08:00
2023-12-29 22:15:16 -08:00
**Enchanted.** Attacks made with this magical weapon do an extra 1d8 cold damage.
2023-12-29 22:17:53 -08:00
2023-12-29 22:15:16 -08:00
**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.
2023-12-29 22:17:53 -08:00
2023-12-29 22:15:16 -08:00
**Magical.** This magical weapon grants +3 to attack and damage rolls.
2023-12-23 16:41:21 -08:00
2023-12-29 22:17:53 -08:00
**Two-Handed.** This weapon requires two hands when you attack with it.