From a6cf03a6ae98e4fb675da25046d148e92bcf7206 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 15:00:46 -0400 Subject: chore: staticcheck and gofmt cleanups --- internal/game/production_index.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'internal/game/production_index.go') diff --git a/internal/game/production_index.go b/internal/game/production_index.go index 77fc08a..672dcae 100644 --- a/internal/game/production_index.go +++ b/internal/game/production_index.go @@ -153,15 +153,6 @@ func (idx *CraftIndex) FindByStationInput(stationDefID, itemID string) []*item.I return results } -func craftEntryFor(def *item.ItemDef, itemID string) int { - for _, craft := range def.Craft { - if ei := craftEntry(craft, itemID); ei >= 0 { - return ei - } - } - return -1 -} - func craftEntry(craft item.CraftDef, itemID string) int { for ei, e := range craft.Ingredients { for _, id := range e.Items { -- cgit v1.2.3