Vacuum: Shift blows everything, Ctrl+click in the bag, one-line menu rows (t16)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -230,6 +230,9 @@ above, including:
|
||||
the Vacuum (when nothing in reach can be used) or a click on the card opens a menu with ⬇ Pick up
|
||||
and ⬆ Blow toggles per material; the bag rows lose their buttons. T no longer does anything for
|
||||
the vacuum. The owner found t6's version had too many modes.
|
||||
Later the same day the owner added: Shift + right click blows an even mix of everything loose in
|
||||
the bag; Ctrl+click a bag name adds it to the blow mix and Ctrl+right-click to pick-up; the menu
|
||||
is one line per material because the first version was too large.
|
||||
|
||||
## Ideas not built yet
|
||||
|
||||
|
||||
+3
-3
@@ -395,16 +395,16 @@ The notebook (N): milestones, market, wallet, blueprints, controls.
|
||||
- functions: openNotebook, renderNotebook, fmtClock, orderName, orderLeft, renderMarketTab, fmtPrice, itemsText, renderWallet, renderBlueprintTab, copyCode, controlsHtml
|
||||
- variables: nbTab, MARKET_GROUPS
|
||||
|
||||
### src/ui/hud.js (37 lines)
|
||||
### src/ui/hud.js (39 lines)
|
||||
The tool hotbar and what is selected.
|
||||
- functions: renderHotbar, toolId, steering, modShift, grainAt, selectTool, bagMaterials, blowList, ensureBlow, piece
|
||||
- functions: renderHotbar, toolId, steering, modShift, grainAt, selectTool, bagMaterials, blowList, blowAllList, ensureBlow, piece
|
||||
|
||||
### src/ui/build-menu.js (102 lines)
|
||||
The build menu along the bottom: categories, piece tiles and their icons.
|
||||
- functions: pieceIcon, catOf, selectBuildCat, cycleBuildCat, buildVariantChips, renderBuildBar, setupBuildBar
|
||||
- variables: BUILD_CATS, BUILD_ORDER, PIECE_ICONS, lastBuildKey, lastBuildMenu
|
||||
|
||||
### src/ui/selection.js (270 lines)
|
||||
### src/ui/selection.js (276 lines)
|
||||
The selected tool and piece: R / Q / E, drill width, filter picker, the selection card, the bag panel.
|
||||
- functions: pieceUsesWall, setDrillWidth, tuneUnderCursor, cycleItem, cycleWall, rotate, toggleCollect, toggleBlow, pickFilterUnderCursor, toggleFilterMat, toggleCollectUnderCursor, setBrush, pieceV, pieceExtra, filterChoices, matList, filterParts, filterSentence, applyFilterRun, openFilterPicker, openVacuumMenu, openWallPicker, filterBlockAt, chipCost, pieceCostNow, renderSelCard, renderBag
|
||||
- variables: lastBagKey
|
||||
|
||||
@@ -4,6 +4,19 @@ 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-24: t16 follow-up: Shift blows all, Ctrl+click in the bag, compact menu (Claude Code)
|
||||
|
||||
- The owner's subtask "shift to blow all" and two chat requests. Codex was out of credits, so
|
||||
Claude made the edits.
|
||||
- `input.js`/`actions.js`: `secondaryPress(shift)` sets `GAME.blowAll`; `hud.js` `blowAllList()`
|
||||
(loose bag materials, no bars); `previews.js` shows it. `selection.js`: Ctrl+click a bag name
|
||||
toggles blow, Ctrl+right-click toggles pick-up; the vacuum menu is one `.vrow` per material
|
||||
(CSS in `style.css`). Text in the card, bag hint and `notebook.js`.
|
||||
- `test/play.py`: Shift blow-all (replaces the old "Shift still blows only coal" check, per the
|
||||
owner's change), Ctrl+click and Ctrl+right-click, plain right click does nothing, one line per
|
||||
menu row at 1280 and 900.
|
||||
- Tests: `run_all.py --browser` all pass (215 `play.py` checks). Screenshots checked.
|
||||
|
||||
## 2026-10-24: t16 Vacuum tool rework, again (Claude Code, Codex)
|
||||
|
||||
- The owner: too many modes; chose an F menu with two pick-up states.
|
||||
|
||||
Reference in New Issue
Block a user