aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_craft.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-16 21:35:55 -0400
committerhistoria <[not public]>2026-09-16 21:35:55 -0400
commitfea2cc6839ec3ee17940a2dea69622dc6f4deabf (patch)
tree9d893525ca20d2cc920e9e866f84f71b605d8ae9 /internal/game/cmd_craft.go
parent35ddd0ad2215760bb1d3dc7724480f179ea33fa6 (diff)
downloadthehouseoficarus-fea2cc6839ec3ee17940a2dea69622dc6f4deabf.tar.gz
fix: unify crafting ingredient resolution; fix superheat alternatives, quantity gates, and dropped combine byproducts
Diffstat (limited to 'internal/game/cmd_craft.go')
-rw-r--r--internal/game/cmd_craft.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_craft.go b/internal/game/cmd_craft.go
index 7091e39..fe52511 100644
--- a/internal/game/cmd_craft.go
+++ b/internal/game/cmd_craft.go
@@ -174,7 +174,7 @@ func (g *Game) hasGrimyHerbs(p *player.Player) bool {
items := g.CraftIndex.BySubtype("cleaning")
for _, def := range items {
if def.FindCraft(func(c item.CraftDef) bool {
- return craftHasAllItems(&c, p.HasItem)
+ return craftHasAllItems(&c, p.CountItem)
}) != nil {
return true
}