monyarm/GemMakerDnD

A tool to Generate random gemstones for Dungeons & Dragons and other roleplaying systems

★ 0Forks 0TypeScriptGitHub ↗Compare

README

GemMaker

Generate random Dungeons & Dragons gemstone descriptions.

Requirements

  • Node.js 20 or newer

Usage

npm install
npm start -- --random 5
npm start -- --type Diamond --random 1
npm start -- --currency gp --value 100 --comparison '<='
npm start -- --log --currency sp

Build and test:

npm test

Options:

  • --type, -t: exact gem name
  • --value, -v: gem value
  • --comparison, -c: <, <=, =, >=, or >
  • --currency, --cr: GP, SP, CP, EP, or PP (short forms accepted)
  • --random, --rand: number of gems to generate
  • --log: print matching gem and variation counts

Contributors

monyarm

Issues