Still unreleased. Answering the three blockers. The worksheet and play sheet never rendered the new field, and stripping the prose meant they said nothing at all — the two surfaces the whole two-surface design is about. All five renderers now go through one helper, core/roster.mjs, which also recovers the warning for delve files generated before the field existed and refuses to add a line the prose already carries. Measured across four themes: 40 of 40 delves carrying a roster now warn on worksheet, play sheet and markdown alike. Twenty-three was the wrong set. The spelling was never the semantics: barrow's nightmare Wraith, cave's nightmare Troll and forest's battle Troll carry the same non-discoverable restriction without the word ONLY. Marked, so 26. I audited all 64 rosters rather than trusting the count — the ones left unmarked are discoverable by trying (an Ogre with 12 Grit, mooks that keep coming until the necromancer stops), and damage works on all of them. commit() was unprotected, so a failed settings write threw out of stageArea with the scene already real. It is caught now and says plainly that a retry will raise the area twice. enter() also has a single-flight guard: it is bound to a button, it awaits the Forge for seconds, and two overlapping calls both read the same index. Also: packById checks the geometry is one VANITY can build rather than just truthy; foeSection is exported and the suite holds the two renderers to agreement on all four kinds; and the module README and the seams warning said 0.10.5 where everything else says 0.10.4. 41 core tests, 54 adapter tests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# DELVE — Foundry module
|
|
|
|
Install by copying this directory to `Data/modules/vanity-delve/`, then copying the generator
|
|
into it:
|
|
|
|
cp -R ../core foundry-module/module/core
|
|
|
|
`module/core/` is a verbatim copy of `core/`. It is not vendored in git because the standalone
|
|
generator is the source of truth — if the copy ever needs editing to run inside Foundry, the
|
|
portability claim in DESIGN.md §4 is false.
|
|
|
|
## Using it
|
|
|
|
The ⛏ button in the token controls opens the Forge. Set the parameters, press **Raise the
|
|
dungeon**, and it builds — in one folder per document type:
|
|
|
|
* one scene per area, walls and lighting placed, via the VANITY Forge
|
|
* encounter actors, foldered rather than scattered
|
|
* a JournalEntry: GM truth, one page per area, the ending — this is the adventure
|
|
|
|
Every document is stamped with a `dungeonId`, so the 🗑 button removes a whole dungeon and
|
|
nothing else.
|
|
|
|
Requires the VANITY system **0.10.4+** for quiet output; on older versions the Forge posts its
|
|
own cards over DELVE's and the module says so on startup.
|