Skip to content

Instantly share code, notes, and snippets.

@ordinalM
ordinalM / grimwild_crucibles.md
Last active August 3, 2025 15:32
Grimwild Crucibles for Obsidian
id description licence tags
202507191622
Random tables for the Grimwild TTRPG, converted to a format usable in Obsidian. Requires the Dice Roller plugin for full functionality. Import or C&P into Obsidian to use.
Used under CC-BY from the Grimwild source material (http://odditypress.com/). Released under CC-BY.
tool

Rolls

@ordinalM
ordinalM / convert-knave-2e-list
Created March 23, 2024 18:39
Convert pasted Knave 2e tables
#!/usr/bin/env bash
TEMPLATE="tmp-convert-XXX"
TEMP_IN="$(mktemp "$TEMPLATE")"
# Try to fix lines
#sed -r 's/^^[p. ]([0-9]+[^0-9]+)([0-9]+.+)$/\1\n\2/g' "$1" > "${TEMP_IN}"
cat "$1" | \
sed -r 's/([0-9]+)-([0-9]+)/\1\2/g' | \
sed -r 's/([0-9]+[^0-9\(]+)([0-9]+[^0-9\-]+)/\1\n\2/g' | \
<?php
const SIDES = [6, 8, 10, 12];
const PRECISION = 2;
echo <<<HEADER
| Roll | Mean total | Mean highest die | Critical | Fumble |
|------|------------|------------------|----------|--------|
HEADER;
sed -I "" "s/cy_borg/cy-borg/g" world.json
find . -name "*.db" -print0 | while read -d $'\0' file; do sed -I "" "s/cy_borg/cy-borg/g" "$file"; done
find . -name "*.db" -print0 | while read -d $'\0' file; do sed -I "" "s/foe/npc/g" "$file"; done
find . -name "*.db" -print0 | while read -d $'\0' file; do sed -I "" "s|modules/cy-borg-core/assets|systems/cy-borg/assets|g" "$file"; done

Story of the Tattercape Tree

Once upon a time, there was a boy called Emrys who went out to seek his fortune. His family was so poor, all he had apart from the clothes he stood up in was a tattered old blanket that he wore like a cape. But he was a good boy and promised his mother and father that he'd find them a big chest of gold and make them all rich. Even though they thought this wasn't likely, they let him go because they had no food to keep them all.

Emrys set out along the good paved King's Road through the forest, and he soon came across the King's men, standing with their shiny spears pointed at the trees.

"Ho there!" one said. "You can't pass this way without paying a toll to the King. Keeping the road safe doesn't come cheap, you know."

"But I don't have any money!" said Emrys. "All I have is this cape!" >

@ordinalM
ordinalM / tunnel-goons-v1.2.md
Last active January 1, 2022 18:23
Tunnel Goons v1.2 markdown version

Tunnel Goons v1.2

by Nate Treme

An analog adventure game for nice people.

Game Structure

A referee controls and describes the world to players who then describe how their characters act in the world.

Action Roll

When an action’s success is uncertain, a player rolls 2d6 and adds the score from the relevant ability and a point for any relevant items. If the total is equal or greater than the action’s Difficulty Score (DS) it is successful.