Files
aeternalis/docs/PLAYER-DRAWER.md

3.7 KiB

Player interface — revised milestone 1

The subsequent item-action milestone implements the weight, targeting, breakdown and binding follow-ups described below. This document records the original presentation milestone and its manual checks.

The character drawer now separates Bag, Character, Equipment, Skills, Abilities, and Spells with six labeled icon buttons. Open with the backpack / Inventory and crafting button or the existing inventory binding. Collapse with its close button, the same opener, or Esc. The last selected view remains selected while playing. Existing housing controls remain available at the bottom of the drawer; building placement and the crafting workbench are in Skills. Existing in-house shortcuts still open house controls.

Bag items use a five-column grid with category icons, quantities, accessible names, and hover names. Select an item for inspection and existing equip, ring destination, drop, or gathering-consumable actions. Exact equipment identities and crafted-stack provenance remain intact. Item artwork uses the existing Lucide icon vocabulary; authored item images are a later content/presentation feature.

Character includes level/XP, point allocation, health/mana choices, base and total primary values, expandable complete stats, and expandable titles. Equipment includes every slot, item inspection, unequip controls, and a modifier list by equipped item. Skills shows gathering, crafting and weapon progress beside the existing workbench. Abilities and spells retain their server definitions, rank/XP, requirements and eight-slot assignment controls. They are displayed separately by definition kind.

The power hotbar starts hidden and appears only after a playable character snapshot. It and the game controls are hidden during reconnect, disconnection, death and daily time exhaustion. Menu input retains the existing server-intent and focus boundaries.

This is a presentation slice. Encumbrance remains advisory. Generic use targeting, breakdown, destruction dialogs, consumable/equipment hotkeys, modifier-source filters, and authoritative worlds-survived display are follow-ups. Crafting discovery still records valid failed attempts; no progression, item ownership or lifecycle rule is changed. Infinite terrain and new Harbinger rules remain planning work.

Manual playtest

  1. Open a fresh game page. Confirm no numbered action slots appear before entry. Enter a character and confirm controls and slots appear after synchronization.
  2. Open the backpack. Visit all six icon buttons; check names on hover/focus and that each view displays its own content. Esc and the close button collapse it.
  3. Check five bag columns on desktop and a narrow phone viewport. Select a stack and equipment item. Inspect provenance; drop one stack unit, equip an item, choose a ring slot, then unequip it from Equipment.
  4. In Character, inspect titles/stats and spend available points/vital choices. Confirm live updates preserve the selected view and item inspection.
  5. In Skills, use the existing crafting workbench and building placement. In Spells and Abilities, expand a learned power, assign it to a slot, and check it remains assigned after closing/reopening the drawer.
  6. Open housing controls and check entering/leaving still works. Confirm controller focus and touch reach all drawer buttons without horizontal page overflow.
  7. Disconnect/reconnect and check controls do not remain active over the ending screen. Test death and daily exhaustion on a disposable test character.

Required validation: TypeScript check, production build, Go tests. Routine Playwright test creation and suite execution remain deferred for manual playtesting.