diff options
Diffstat (limited to 'internal/game/act_burn.go')
| -rw-r--r-- | internal/game/act_burn.go | 5 |
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 { |
