Bag: rock goes in as rubble, older saves convert, list shows everything held

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 16:53:40 -04:00
co-authored by Claude Opus 5.5
parent 569ec6e5b6
commit a671dcb59a
7 changed files with 34 additions and 3 deletions
+10
View File
@@ -4,6 +4,16 @@ What agents have done, newest first. Add an entry for every piece of work: the d
note or request it was for, what changed, the files touched, the tests run, and anything left
open or not verified. Keep each entry short; the git history has the details.
## 2026-10-27: bag counted things its list didn't show (Claude Code)
- Owner's exported save: bag total 1,522 but the list showed nothing for 1,000 basalt (from the
dev console's give), 200 clay (source not traced) and 322 molten slag (vacuumed with the Flask;
not in BAG_ORDER). `bagAdd` now stores solids as their drill yield; `deserializeWorld` converts
solids already in a saved bag; `bagMaterials` appends anything outside BAG_ORDER; dev `give`
reports what it added and refuses gases and solids with no yield.
- Files: `src/sim/items.js`, `src/sim/save.js`, `src/ui/hud.js`, `src/sim/devconsole.js`,
`test/t_basics.js`, `test/t_dev_console.js`. Tests: `python3 test/run_all.py --browser` all passed.
## 2026-10-27: t50 resonance ping (Claude Code)
- Right click with the drill: `firePing` (`src/ui/actions.js`) calls `resonancePing` (`src/sim/drill.js`),