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 { roll } from "@randsum/blades"
import type { BladesRollResult } from "@randsum/blades"
// Basic roll with dice pool
const { outcome, result } = roll(2)
console.log(outcome) // 'critical' | 'success' | 'partial' | 'failure' Different Dice Pool Sizes
import { roll } from "@randsum/blades"
roll(1) // Desperate position
roll(2) // Risky position
roll(3) // Controlled position
roll(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 .