Skip to content

Site: the hero shows the mod's own panel - #18

Merged
kramsey458 merged 1 commit into
mainfrom
claude/native-panel
Sep 24, 2026
Merged

kramsey458 merged 1 commit into
mainfrom
claude/native-panel

Conversation

@kramsey458

Copy link
Copy Markdown
Collaborator

The hero's wood cabinet is replaced by the top of the mod's Storage Allocation panel, drawn as it looks in game: the title, "1200 / 1200 items · 2 goods allocated", and a card per good with "50% allocated", "600 / 600 stored / limit" and the orange stock bar. It uses the demo replica's own styles (game-panel.css), so the two match.

  • The 50 / 50, 25 / 75 and Thirds buttons still redraw it with the mod's rounding (hero-panel.js, which replaces cabinet.js).
  • The caption says it is the mod as it shows in game and links to the full panel in Try it.
  • On screens 1200px and wider the panel is scaled 1.2×, like the game's UI scale.
  • DESIGN.md, design.json, the surface brief and CLAUDE.md drop the cabinet and add the rule that the mod is never drawn in wood.

Site checks 76/76. Checked light and dark at 1440, 1000 and 390px, with no sideways scroll.

🤖 Generated with Claude Code

The top of the Storage Allocation panel as it looks in game (title, summary, a card per good with its stock bar),
drawn with the replica's classes. The split buttons still redraw it with the mod's rounding. The mod is never drawn
in wood; the design records say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kramsey458
kramsey458 merged commit e0ffce7 into main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant