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>
14 lines
475 B
HTML
14 lines
475 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<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-CdNDfIK0.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/v2/assets/index-DrsM2PEe.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|