From eef5ddaa94f8cff6010d092c30fed53d2be01524 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 17 Jun 2026 17:34:40 -0400 Subject: feat: began implementing smithing, ground item display fixes. --- internal/game/cmd_wear.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'internal/game/cmd_wear.go') diff --git a/internal/game/cmd_wear.go b/internal/game/cmd_wear.go index cbc2ff3..8910e75 100644 --- a/internal/game/cmd_wear.go +++ b/internal/game/cmd_wear.go @@ -31,6 +31,15 @@ func (g *Game) doWear(sess *net.Session, input string) { return } + unique := uniqueItemNames(matches) + if len(unique) > 1 { + sess.WriteLine("Equip what?") + for _, name := range unique { + sess.WriteLine(fmt.Sprintf(" - %s", name)) + } + return + } + match := matches[0] slot := p.InvSlot(match.Slot) if slot == nil { -- cgit v1.2.3