1.4 KiB
1.4 KiB
type, title, description, status
| type | title | description | status |
|---|---|---|---|
| User Story | US-006: Restore default stature | Let players craft a potion that permanently restores their scale to 1.0. | done |
US-006: Restore default stature
As a player, I want a Potion of Restoration so that I can return to normal size.
Acceptance criteria
- Drinking the potion sets scale to exactly
1.0, regardless of configured limits. - The potion uses distinct persistent metadata rather than its display name for identity.
- The new scale is reported and saved by UUID, and retained across reconnects and respawns.
- The recipe is
GAG/ASA/GUG, whereGis Gold Ingot,Ais Amethyst Shard,Sis an authenticated Potion of Shifting Stature, andUis Sugar. - Automated tests cover restoration, saved-scale handling, recipe shape, and distinct identity; the README documents the recipe and behavior.
Verification
./gradlew clean check jarpassed all 17 tests.- Automated coverage checks scale calculation, storage reload, range exceptions, recipe shape, and enum identity. Code inspection confirms metadata authentication, ingredient registration, and the shared consumption/join/respawn adapters; no live-server gameplay test was performed.