/osr-generators

NPM library used to generate RPG characters

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

OSR Generators

A collection of tools and generators for OSR-style TTRPG
OSR logo Designed for use with Old-School Essentials For use with Cairn Compatible with Mork Borg Designed for use with Shadowdark RPG

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