fix(v2): inventory window — v1-style equipment grid + pack sidebar
Rebuilt InventoryWindow to match v1's three-panel layout: Left column: - Equipment grid: 6×7 slot grid (44px per slot) with color-coded backgrounds matching v1's EQUIP_SLOTS map (purple=jewelry, blue=armor, teal=clothing, dark blue=weapons). Items placed in correct slots using wielded_location bitmask matching. - Pack contents: 40px item tiles in a wrapping grid, hover for full item tooltip (name, material, AL, damage, workmanship) Right sidebar: - Pack browser: main backpack + sub-packs (containers). Click to switch which pack's contents are shown. Item counts per pack. Equipment slot layout matches v1 exactly: Row 1 (Neck, Head, Sigils), Row 2 (Trinket, Upper Arm, Chest, Cloak), Row 3 (Bracelets, Lower Arm, Abdomen, Upper Leg, Shirt), Row 4 (Rings, Hands, Lower Leg, Pants), Row 5 (Feet), Row 6 (Shield, Weapon, Ammo). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
52e1bcd6b8
commit
863adb0c3c
3 changed files with 222 additions and 150 deletions
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Mosswart Overlord v2</title>
|
||||
<link rel="icon" type="image/png" href="/icons/7735.png" />
|
||||
<script type="module" crossorigin src="/v2/assets/index-BmKo5eig.js"></script>
|
||||
<script type="module" crossorigin src="/v2/assets/index-BXNfpUzm.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/v2/assets/index-DrsM2PEe.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue