aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_use.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 02:40:22 -0400
committerhistoria <[not public]>2026-06-19 02:40:22 -0400
commit2ae4a052fd1c15c3c6ba0f1dd324d896371aaffc (patch)
tree3caef60f71a462b7e7ace668053e1f02fb61db15 /internal/game/cmd_use.go
parent86aec0e14eb6fec0a39d742bab1761dad8d7012c (diff)
downloadthehouseoficarus-2ae4a052fd1c15c3c6ba0f1dd324d896371aaffc.tar.gz
feat: rough technology skill added
Diffstat (limited to 'internal/game/cmd_use.go')
-rw-r--r--internal/game/cmd_use.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_use.go b/internal/game/cmd_use.go
index 4d4ce88..7d40cc2 100644
--- a/internal/game/cmd_use.go
+++ b/internal/game/cmd_use.go
@@ -19,6 +19,10 @@ func (g *Game) doUse(sess *net.Session, input string) {
p := sess.Player.(*player.Player)
g.CancelAction(p)
+ if g.tryRecharge(sess, p, input) {
+ return
+ }
+
lower := strings.ToLower(input)
sep := ""