Files
spigot-heights/design/user-stories/us-006-restore-default-stature.md
T
dmg fd601961eb
Release / release (push) Successful in 2m11s
CI / build (push) Successful in 54s
feat(potions): add restoration potion for default player size
2026-09-06 19:42:17 -04:00

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, where G is Gold Ingot, A is Amethyst Shard, S is an authenticated Potion of Shifting Stature, and U is Sugar.
  • Automated tests cover restoration, saved-scale handling, recipe shape, and distinct identity; the README documents the recipe and behavior.

Verification

  • ./gradlew clean check jar passed 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.