MosswartOverlord/static
Erik a8078c51ec fix(v2): inventory — full item normalization + all visual fixes
1. Item normalization: normalizeItem() handles ALL formats:
   - Inventory service (snake_case): current_wielded_location, object_class
   - Plugin raw (PascalCase): CurrentWieldedLocation, ObjectClass
   - Plugin IntValues: IntValues['10'] for wielded, ['5'] for burden
   - Sentinel filtering: -1 values properly excluded

2. Equipment slots: armor (object_class=2) fills ALL matching slots.
   Non-armor uses exact mask match first, then first bit overlap.
   Body container ID detected to separate worn from pack items.

3. Slot colors: per-slot-type backgrounds matching v1:
   purple (#3a2555) for jewelry, blue (#1e2e55) for armor,
   teal (#1e3e3e) for clothing, dark blue (#142040) for weapons

4. Burden: fetches /character-stats/{name} for burden_units and
   encumbrance_capacity. Shows percentage when available, raw burden
   otherwise. Bar fills 0-200% mapped to 0-100% height with
   green/orange/red thresholds.

5. Mana panel: shows equipped items with current/max mana + estimated
   time remaining. State dot green/red. Sorted by mana ascending.

6. Fonts: switched to system font stack (-apple-system etc.) instead
   of Palatino for crisp rendering.

7. Tooltip: proper system font, larger text (13px), structured sections

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:40:32 +02:00
..
icons added inventory, updated DB 2025-06-10 19:21:21 +00:00
v2 fix(v2): inventory — full item normalization + all visual fixes 2026-04-12 21:40:32 +02:00
acmap.png feat: switch to UtilityBelt's acmap.png (2048x2048) 2026-04-08 12:43:22 +02:00
admin.html feat: add app-level authentication with login, session cookies, and admin panel 2026-04-10 19:45:08 +02:00
debug.html Debug and inventory 2025-06-19 17:46:19 +00:00
dereth.png Overlord sees all 2025-04-29 22:23:34 +00:00
dereth_highres.png feat: swap map to high-res color-corrected Dereth map 2026-04-08 12:41:47 +02:00
dungeon_tiles.json fix: detect PNG vs BMP format in dungeon tiles 2026-04-08 15:18:09 +02:00
favicon.ico added favicon 2025-05-09 23:31:01 +00:00
index.html feat: combat stats backend + frontend (Mag-Tools style) 2026-04-12 09:42:11 +02:00
inventory.html feat: move column toggles into table headers 2026-04-09 10:12:01 +02:00
inventory.js feat: compute base item values by reversing active spell buffs 2026-04-09 12:31:39 +02:00
login.html Fix login page: allow /icons/ through auth middleware, match color scheme to AC logo 2026-04-10 20:07:06 +02:00
prismatic-taper-icon.png Major overhaul of db -> hypertable conversion, updated GUI, added inventory 2025-06-08 20:51:06 +00:00
script.js fix(combat): show offense + defense damage by element in grid 2026-04-12 10:13:47 +02:00
style-ac.css Extract createWindow helper to deduplicate window setup code 2026-02-26 09:26:06 +00:00
style.css feat: combat stats backend + frontend (Mag-Tools style) 2026-04-12 09:42:11 +02:00
suitbuilder.css Add suitbuilder UI improvements for locked slots and suit summary 2026-02-05 19:11:37 +00:00
suitbuilder.html feat: add Healing and Summoning cantrip constraints to suitbuilder 2026-03-07 20:57:11 +00:00
suitbuilder.js feat: add Healing and Summoning cantrip constraints to suitbuilder 2026-03-07 20:57:11 +00:00