Blades in the Dark

@randsum/blades

Blades in the Dark system mechanics including action rolls, position, effect, and stress tracking.

Installation

npm install @randsum/blades
# or
bun add @randsum/blades

Examples

Basic Roll

import { rollBlades } from "@randsum/blades"
import type { BladesRollResult } from "@randsum/blades"

// Basic roll with dice pool
const { outcome, result } = rollBlades(2)
console.log(outcome) // 'critical' | 'success' | 'partial' | 'failure'

Different Dice Pool Sizes

import { rollBlades } from "@randsum/blades"

rollBlades(1) // Desperate position
rollBlades(2) // Risky position
rollBlades(3) // Controlled position
rollBlades(4) // Controlled with assistance

Installation

npm install @randsum/blades
# or
bun add @randsum/blades

About Blades in the Dark

The @randsum/blades package provides mechanics for Blades in the Dark , a tabletop RPG about a crew of daring scoundrels seeking their fortunes on the haunted streets of an industrial-fantasy city.

This package implements action rolls, resistance rolls, fortune rolls, and other core mechanics from the Blades in the Dark system.

For more information, see the package source code .