feat(mystery): migration script and produced markdown content

Adds scripts/migrate-mystery-content.ts which reads rooms, items,
encounters, and endings from TypeScript source and emits byte-identical
markdown files under src/mystery/world/{rooms,items,encounters,endings}/.
Installs tsx as a devDep to support .ts imports across src/ during the
one-shot run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 09:26:02 -05:00
parent d3a2f4e1d7
commit bbea3f4473
10 changed files with 123 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
id: bad
whenFlags: {}
---
+7
View File
@@ -0,0 +1,7 @@
---
id: true
whenFlags:
ratGone: true
---
You stand at the top of the stair. The thing below has settled. The door behind you opens, and outside, finally, is morning.
+5
View File
@@ -0,0 +1,5 @@
---
id: wrong
whenFlags: {}
---