From 470bc5bd99b793e46305310b5fbeb3068eba45f1 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 20 Jun 2026 23:43:35 -0400 Subject: refactor: removed separate crafting recipes and combined them into item YAML --- internal/game/cmd_shop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/cmd_shop.go') diff --git a/internal/game/cmd_shop.go b/internal/game/cmd_shop.go index 2742151..c6b7831 100644 --- a/internal/game/cmd_shop.go +++ b/internal/game/cmd_shop.go @@ -158,7 +158,7 @@ func (g *Game) findShopMatches(input string, cfg *action.ShopConfig) []shopMatch if def != nil { itemName = def.Name } - if action.WordPrefixMatch(input, itemName) { + if object.WordPrefixMatch(input, itemName) { matches = append(matches, shopMatch{si: si, name: itemName, def: def}) } } -- cgit v1.2.3