Commit Graph
1 Commits
Author SHA1 Message Date
Claude 9678e13c99 Add a morph window with model browser, items, races and wardrobe
Replace typing chat codes with a window (/dmorph, a minimap button or a
key binding):

- A live preview of your character, turned by dragging, with the 14
  morphable slots around it: left-click browses items for the slot,
  right-click puts your own gear back, morphed slots glow.
- Models tab: search 12,000+ named creature models by name or ID, click
  to become one, or step through any display ID with < and >.
- Races tab: every race as male or female, plus swap gender.
- Items tab: every visible weapon and armour piece per slot, coloured by
  quality and searchable, or any item ID.
- Wardrobe tab: save the current look as a named outfit, shared by all
  characters; select and load or delete it. Outfits and the current look
  survive /reload and logins. Also as .outfit chat commands.

The catalogue (Data/) is generated from the cmangos classic-db 1.12.1
world database by tools/build_data.py and parsed on first use. The core
now exposes one set of functions that both the chat commands and the
window call. tests/mock_wow.lua is a strict 1.12 UI mock that rejects
methods, templates and fonts the client doesn't have; the suite now
covers the window, wardrobe and catalogue (105 checks under Lua 5.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017nTJ1LNa66vwpT5UiEtvM8
2026-10-10 17:34:29 +00:00