aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_equipment.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-25 15:40:48 -0400
committerhistoria <[not public]>2026-06-25 15:40:48 -0400
commitabd612c15799f604e671e83dc7c410ed2b44185f (patch)
tree0597ca92350de73aac2a7cf26b2f2d6595dac0cc /internal/game/cmd_equipment.go
parent2725e2927a1595c7b100d942d1f14146252adeb7 (diff)
downloadthehouseoficarus-abd612c15799f604e671e83dc7c410ed2b44185f.tar.gz
slop refactor
Diffstat (limited to 'internal/game/cmd_equipment.go')
-rw-r--r--internal/game/cmd_equipment.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_equipment.go b/internal/game/cmd_equipment.go
index f5a9a11..88bc7f3 100644
--- a/internal/game/cmd_equipment.go
+++ b/internal/game/cmd_equipment.go
@@ -3,8 +3,8 @@ package game
import (
"fmt"
+ "thehouseoficarus/internal/item"
"thehouseoficarus/internal/net"
- "thehouseoficarus/internal/object"
)
func (g *Game) doEquipment(sess *net.Session) {
@@ -23,7 +23,7 @@ func (g *Game) doEquipment(sess *net.Session) {
if err == nil {
name = def.Name
}
- if slot == object.SlotAmmo && p.AmmoQty > 0 {
+ if slot == item.SlotAmmo && p.AmmoQty > 0 {
sess.WriteLine(fmt.Sprintf(" %-12s %s (x%d)", slot, g.itemColorize(sess, def, name), p.AmmoQty))
} else {
sess.WriteLine(fmt.Sprintf(" %-12s %s", slot, g.itemColorize(sess, def, name)))