aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_default_target.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-15 02:57:35 -0400
committerhistoria <[not public]>2026-06-15 02:58:50 -0400
commit4cc1ddcd185509080b4b3e15d1646567edd51c9d (patch)
tree2a564846ad4fd159a2d7e55451bfa9569fe8c0b8 /internal/game/action_default_target.go
parent445c4612cc5cf2c226f85894b6ad1e2419a374e2 (diff)
downloadthehouseoficarus-4cc1ddcd185509080b4b3e15d1646567edd51c9d.tar.gz
removed game speed for being broken and an antifeature anyway. added color support.
Diffstat (limited to 'internal/game/action_default_target.go')
-rw-r--r--internal/game/action_default_target.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/internal/game/action_default_target.go b/internal/game/action_default_target.go
index 45060cc..b3825ca 100644
--- a/internal/game/action_default_target.go
+++ b/internal/game/action_default_target.go
@@ -5,15 +5,7 @@ import (
)
func verbToSkill(verb string) string {
- switch verb {
- case "mine":
- return "mining"
- case "chop", "cut":
- return "woodcutting"
- case "fish":
- return "fishing"
- }
- return ""
+ return verbSkill[verb]
}
func (g *Game) resolveDefaultTarget(roomID int, verb string) string {