aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_clean.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/act_clean.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/act_clean.go')
-rw-r--r--internal/game/act_clean.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/act_clean.go b/internal/game/act_clean.go
index f995ae1..2872173 100644
--- a/internal/game/act_clean.go
+++ b/internal/game/act_clean.go
@@ -42,7 +42,7 @@ func (g *Game) advanceClean(sess *net.Session, p *player.Player) {
if p.Level(player.Pharmacy) < c.Level {
continue
}
- if !craftHasAllItems(c, p.HasItem) {
+ if !craftHasAllItems(c, p.CountItem) {
continue
}
matchItem = item
@@ -89,7 +89,7 @@ func (g *Game) advanceClean(sess *net.Session, p *player.Player) {
continue
}
}
- if p.Level(player.Pharmacy) >= c.Level && craftHasAllItems(c, p.HasItem) {
+ if p.Level(player.Pharmacy) >= c.Level && craftHasAllItems(c, p.CountItem) {
hasMore = true
break
}