9 Commits
Author SHA1 Message Date
slaguru666andClaude Opus 5 91a77a64d0 Forge seams: post/hoard/folderId options, structured hoard return, empty-pool guard
DELVE needs to sequence the Forge without the Forge talking to the table over
it. Measured on an instrumented harness, three linked areas produced 9 chat
cards, 3 Actor folders and 16 loose Actors, none of which a caller could
suppress or redirect. With these options the same three areas produce 0 cards
and 0 folders.

- forgeHoard({ post }) — and it now RETURNS { size, label, goods, relics,
  lines, card } instead of undefined, so a caller can render it itself.
- forgeEncounter({ hoard, post, folderId }) — loot decouples from combat, the
  card is optional, and actors can go in a caller-supplied folder rather than a
  fresh one per encounter.
- forgeStage({ post, folderId }) — same, threaded through to the encounter it
  raises when populate is true.

All three default to the current behaviour, so nothing changes for existing
callers or the directory buttons.

Also guards two unchecked rnd() calls in forgeHoard: rnd() returns undefined on
an empty array, and the result was dereferenced for .uuid immediately after. A
gear pack with no consumables would have thrown. The shipped packs are
populated so this is latent, not live.

Not included: injectable RNG (36 Math.random sites across four helpers) and
turning the Reaction mood into a real Roll. Both are larger and neither gates
the first DELVE release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-05 00:13:18 +01:00
tevansandClaude Opus 4.8 1045b06670 v0.10.3: graft the live-play changes onto Draft 14
Reconciles the parallel Draft 14 line (targeting, spell effects, Straining the
Weave) with the mechanics designed in a live pencil-and-paper session:

- Banes (replacing the Stumble, by design decision): two or more 1s bank a Bane
  regardless of Successes; burn 1 Success to cancel a fail (drop below two → no
  Bane); a single 1 is the free twist. The roll card offers Burn / Take the Bane.
  Threaded through the Draft 14 targeting/apply-damage so effective Successes drive
  net damage and spend budgets.
- Twist the Knife: the d66 table replaced by a tuned 2d6 table (single fail
  triggers it; effects hit the roller or a chosen comrade).
- Momentum: a 3+ Success roll grants +1 die on the next Draw (keep highest,
  stacks to +2) via a VanityCombatant subclass; shown on the sheet's Draw button.
- Initiative: right-click a combatant to "Go first — make an entrance (1 Vanity)"
  or (GM) "Move to top", instead of re-rolling for a 6.
- Conditions: token/HUD icons rebuilt as bold colour-coded badges (red=combat,
  teal=spell, plum=state) with white glyphs; renderer moved to headless Chrome.
- Marked reworded (no more "Stumble"); build-conditions now targets Draft 14.

Rules brought into line: Draft 14 (§1, §3, §6, §11b, §21a, Common Sense, the
Reckoning reference), the player rulebook (regenerated HTML + PDF, 43pp), the
condition card deck & GM summary, and the system description.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-28 08:56:32 +01:00
slaguru666andClaude Opus 4.8 3216621324 VANITY v0.10.2 — targeting apply-damage fix
The apply button counted only bought damage and dropped the first net
Success, which is the hit itself. Fixed in the VRPG source; this repo
carries the published system.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 00:13:53 +01:00
slaguru666andClaude Opus 4.8 ffa69e43e7 VANITY v0.10.0 — Draft 14 rules, targeting, spell effects
Published system carrying the Draft 14 work: the rules journal rebuilt
with Common Sense (§6a), Scenes (§6b), the Zero Grit states (§5a),
Charm & Command separated (§7) and the Spell Effects menu (§17).

Foundry side: the companion card is now a Ranger's only, targeting rolls
the defender's guard and applies damage, and casters get their own spend
panel priced off Successes above the Threshold.

Implemented in the VRPG source; this repo carries the published system.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 22:54:03 +01:00
slaguru666andClaude Opus 4.8 3b7d6e778d Straining the Weave (§17) — v0.9.8
Repeated castings of the same spell in one scene now raise its Threshold
by +1 per prior cast, as the rules have always said. The sheet shows the
current Threshold with a +N badge, "Settle the Weave" clears the scene's
strain, and both rests settle it automatically.

Implemented in the VRPG source; this repo carries the published system.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 14:58:50 +01:00
slaguru666andClaude Opus 4.8 c647b1cae3 Vain Crown journal: expanded GM material and read-aloud boxes
Mirrors the rulebook adventure (slaguru666/VRPG) into the journal built
by stageVainCrown(): the GM-truth block, Vesper's position through the
evening, a "Running the ..." note per act, and labelled read-aloud text
at every beat.

Also carries the audit fixes: the two-key door now has a proxy fallback
so it can never dead-end a session, the Aura of Admiration has a stated
cadence, the open-water road is placed on the map instead of pointing
at a fen that is not part of this version, and the Pale Stranger no
longer bolts for a scene he is standing in.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 10:53:40 +01:00
tevansandClaude Opus 4.8 87ae980435 Add the Bond: 10 animal companions, with sheet support and rules
Companions were a single line on the Ranger's edge; now they are a real
subsystem, rollable or pickable, with art, tokens and a place on the sheet.

- New compendium "companions" (VANITY · Animal Companions): 10 beasts as full
  NPC actors with painted core artwork, droppable as tokens — wolf, hawk, owl,
  raven, hound, lynx, serpent, stag, great bat, ram. Each keeps the printed
  baseline (Grit 3, attacks at 3 dice) and differs in dodge (2-4d), senses and
  one distinctive trick, plus which companion action it favours.
- New d10 roll table, "The Bond — Animal Companions".
- Ranger sheet: the companion block is now a card — art, name, kind, attack,
  dodge, Grit (with a DOWNED flag), its trick, and one-click Help / Harry /
  Guard (each posting what it does to chat) plus Attack and Dodge rolls.
  "Roll the Bond" rolls the d10 and binds the beast straight onto the sheet.
- template.json: companion gains kind, img, dodge, trick.
- Rules updated in both places: §9a in the Draft 13 source (so the in-world
  journal carries it) and a new Bond section in the player rulebook, which is
  regenerated to HTML + PDF (39pp).
- Version -> 0.9.6; README/FOUNDRY/system description updated (13 compendia).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 13:57:14 +01:00
tevansandClaude Opus 4.8 9e0363dac2 Update published system to v0.9.4
Brings the public system repo up to date with the current build:
- Dice So Nice: the VANITY peacock dice are now forced for every player, with
  a roll hook stamping the colourset on every die (red Bane dice preserved).
- Character sheet: conditions strip moved to the foot, rebuilt as an even grid
  with larger (34px) icons.
- Twist the Knife no longer spends the banked Bane — the tab only clears
  through humility, a rest, or the Reckoning.
- Equipment: +50 items (weapons, armour & shields, gear, consumables).
- New compendium: VANITY · Treasures & Relics — 100 magic items, and the
  Forge's richer hoards now surface them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 08:50:37 +01:00
tevansandClaude Fable 5 9410c04381 VANITY v0.9.0 — Foundry VTT system
The complete VANITY system: d6 Stumble engine, the two Bane tables (d66
Twist the Knife + 2d6 Reckoning) with red dice, character/NPC sheets,
17 conditions as token markers, illustrated spell cast cards, the Forge
tools (hero/monster/NPC/hoard/encounter/stage/carouse/commission/Vain
Crown), and 11 compendia. Manifest install ready.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 15:16:07 +01:00