aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_burn.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-18 17:48:26 -0400
committerhistoria <[not public]>2026-09-18 17:48:26 -0400
commit8fe9e3c3fef0049df82281a62afe35dda516dfe2 (patch)
treedd269f2c0710f334e19f00a191260ebc46284a90 /internal/game/act_burn.go
parent194164a77eb4f2479b94c19e6f0e1278ab608781 (diff)
downloadthehouseoficarus-8fe9e3c3fef0049df82281a62afe35dda516dfe2.tar.gz
fix: close combat ghost, admin traversal, login throttle, journal double-pay, and quality/economy gaps
Diffstat (limited to 'internal/game/act_burn.go')
-rw-r--r--internal/game/act_burn.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/game/act_burn.go b/internal/game/act_burn.go
index 84f7f14..a823b19 100644
--- a/internal/game/act_burn.go
+++ b/internal/game/act_burn.go
@@ -366,6 +366,11 @@ func (g *Game) consumeFireTool(sess *net.Session, p *player.Player, toolItemID s
g.saveCharacter(p)
return true
}
+ // The tool is carried/equipped but has no charge record (a stripped
+ // or depleted max_quality tool). Refuse instead of falling through
+ // to the stackable check and burning for free forever.
+ sess.WriteLine("The lighter is out of butane!")
+ return false
}
if def != nil && def.Stackable {