Repository navigation
fix(equipment): a burglar's pack holds one 2 lb bag of ball bearings - #112
Conversation
'Ball Bearings x1000' did not match the Open5e catalog, so starting equipment created an ad-hoc item at the 1 lb fallback weight and granted 1,000 of them: every rogue (and anyone taking a burglar's pack) started about 1,000 lb over. The entry now names the SRD item, "Ball Bearings (bag of 1000)", which resolves from the catalog as one 2 lb bag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Why
Playtest: a new rogue (Mara Venn) showed 1068 / 165 lb carried. The Burglar's Pack listed
'Ball Bearings x1000'. That name doesn't match the Open5e catalog, soensureItemExistscreated an ad-hoc item at the 1 lb fallback weight and granted 1,000 of them. Every rogue, and anyone choosing a Burglar's Pack, started about 1,000 lb over capacity.Changes
'Ball Bearings (bag of 1000)', which resolves from the catalog as one 2 lb bag (quantity 1).tests/services/starting-equipment.service.test.ts: a provisioned rogue gets one 2 lb bag, and the starting kit totals under 150 lb.Not changed (noted)
A few other pack entries also miss the catalog and use the 1 lb fallback: candles, pitons, parchment, paper, oil, incense. They're off by a few pounds at most, not a functional problem.
Existing characters keep their 1,000 one-pound bearings. That needs a separate data fix in the production engine database.
Verification
mainand pass with the fix.npx vitest run tests/services tests/server/consolidated/inventory-manage.test.ts tests/server/consolidated/character-manage*.test.ts tests/server/expanded-features.test.ts: 166 passed.npx tsc --noEmit -p .: clean.🤖 Generated with Claude Code
Summary by CodeRabbit