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/world/mob.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/world/mob.go') diff --git a/internal/world/mob.go b/internal/world/mob.go index 9d07532..9ca1a45 100644 --- a/internal/world/mob.go +++ b/internal/world/mob.go @@ -9,6 +9,7 @@ import ( "sync" "thehouseoficarus/internal/action" + "thehouseoficarus/internal/object" "gopkg.in/yaml.v3" ) @@ -122,7 +123,7 @@ func (m *MobInstance) MatchQuality(input string) int { if strings.ToLower(m.Name) == lower { return MatchExact } - if action.WordPrefixMatch(input, m.Name) { + if object.WordPrefixMatch(input, m.Name) { return MatchPrefix } return MatchNone -- cgit v1.2.3