From fea2cc6839ec3ee17940a2dea69622dc6f4deabf Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 21:35:55 -0400 Subject: fix: unify crafting ingredient resolution; fix superheat alternatives, quantity gates, and dropped combine byproducts --- internal/game/cmd_cook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/cmd_cook.go') diff --git a/internal/game/cmd_cook.go b/internal/game/cmd_cook.go index 0e4f194..b37a576 100644 --- a/internal/game/cmd_cook.go +++ b/internal/game/cmd_cook.go @@ -50,7 +50,7 @@ func (g *Game) doCook(sess *net.Session, input string) { var recipes []*item.ItemDef for _, item := range items { c := item.FirstCraft() - if stationMatch(stationDefID, c.Station) && craftMatchesEntry(c, itemID) && craftHasAllItems(c, p.HasItem) { + if stationMatch(stationDefID, c.Station) && craftMatchesEntry(c, itemID) && craftHasAllItems(c, p.CountItem) { recipes = append(recipes, item) } } @@ -71,7 +71,7 @@ func (g *Game) showCookMenu(sess *net.Session, p *player.Player, items []*item.I if seen[item.ID] { continue } - if !craftHasAllItems(c, p.HasItem) { + if !craftHasAllItems(c, p.CountItem) { continue } seen[item.ID] = true -- cgit v1.2.3