MosswartOverlord/frontend
Erik 2b1c06a5e0 fix(v2): inventory — multi-slot armor + vertical fill bars + burden fix
1. Equipment slots: armor (object_class=2) now renders in ALL matching
   slots via bitmask, not just the first. E.g. a chest piece covering
   upper arm + chest + abdomen appears in all 3 slots. Non-armor items
   still use first-match. Matches v1's exact logic.

2. Pack fill bars: changed from horizontal-below to vertical-right of
   each pack icon. 4px wide bar with fill from bottom, color-coded:
   green <70%, orange 70-90%, red >90%.

3. Burden: removed garbled percentage (was dividing by 10). Now shows
   "Burden" label with total burden in tooltip. Bar shows 50% as
   placeholder until character_stats provides encumbrance_capacity.

4. PackIcon component: reusable for main backpack + sub-packs, shows
   game icon + vertical fill bar + green active glow + gold ▶ arrow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:31:58 +02:00
..
src fix(v2): inventory — multi-slot armor + vertical fill bars + burden fix 2026-04-12 21:31:58 +02:00
.gitignore feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
index.html feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
package-lock.json feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
package.json feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
tsconfig.json feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
tsconfig.tsbuildinfo feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00
vite.config.ts feat: v2 dashboard — React + Vite parallel implementation 2026-04-12 15:07:11 +02:00