From dea4a06764c507699cf9adcd1fd0a572d227aff0 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 19 Jun 2026 02:51:05 -0400 Subject: feat: scavenge/scrap system started --- internal/game/game.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/game/game.go') diff --git a/internal/game/game.go b/internal/game/game.go index 15236f4..dff78d5 100644 --- a/internal/game/game.go +++ b/internal/game/game.go @@ -149,7 +149,8 @@ func classifyCommand(cmd string) CommandClass { "attack", "kill", "north", "n", "south", "s", "east", "e", "west", "w", "up", "u", "down", "d", - "quit", "use", "burn", "stoke", "search", "walk", "cook", "smelt", "smith", "craft", "mix": + "quit", "use", "burn", "stoke", "search", "walk", "cook", "smelt", "smith", "craft", "mix", + "id", "identify": return ClassActive case "eat", "fletch", "clean": return ClassFree @@ -397,6 +398,9 @@ func (g *Game) executeCommand(sess *net.Session, cmd string, args []string, rawI case "mix": g.doMix(sess, strings.Join(args, " ")) return + case "id", "identify": + g.doIdentify(sess, strings.Join(args, " ")) + return case "talk", "speak", "ask": g.CancelAction(p) if len(args) == 0 { -- cgit v1.2.3