Skip to content

riccjohn/osr-generators

Repository files navigation

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