riccjohn / osr-generators

NPM library used to generate RPG characters

Home Page:https://www.npmjs.com/package/osr-generators/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSR Generators

A collection of tools and generators for OSR-style TTRPG

Suppport

  • Knave 1e
  • Knave 2e
  • OSE
  • Basic Fantasy RPG
  • Outcast Silver Raiders
  • Cairn
  • Mork Borg
  • Shadowdark

Usage

Install

npm i osr-generators

Create a Knave character

import { KnaveCharacter } from 'osr-generators'

// Generate a new character
const character = new KnaveCharacter()

// Regenerate character
character.generate()

// Regenerate traits only
character.generateTraits()

Contributing

Prerequisites

Install nodejs

Use asdf to install the node version listed in .tool-verisons

asdf install

Install dependencies

yarn

Testing

Tests are written using Vitest and can be run with yarn test

About

NPM library used to generate RPG characters

https://www.npmjs.com/package/osr-generators/

License:GNU General Public License v3.0


Languages

Language:TypeScript 100.0%