From a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 14 Jun 2026 22:38:23 -0400 Subject: feat: fractional ticks and server game_speed implemented. potentially insanely janky. --- internal/game/cmd_get.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/game/cmd_get.go') diff --git a/internal/game/cmd_get.go b/internal/game/cmd_get.go index 78a9621..7ec183f 100644 --- a/internal/game/cmd_get.go +++ b/internal/game/cmd_get.go @@ -39,10 +39,16 @@ func (g *Game) doGet(sess *net.Session, input string) { if itemID == "credits" { g.pickupCredits(sess, p, itemID) + p.ActionState = &ActionState{Type: ActionPickingUp, TargetName: "credits"} return } def, _ := g.ItemStore.Load(itemID) + name := itemID + if def != nil { + name = def.Name + } + p.ActionState = &ActionState{Type: ActionPickingUp, TargetName: name} available := 0 if gqty, ok := ground[itemID]; ok { -- cgit v1.2.3