aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act.go')
-rw-r--r--internal/game/act.go17
1 files changed, 6 insertions, 11 deletions
diff --git a/internal/game/act.go b/internal/game/act.go
index 1317df4..449b2da 100644
--- a/internal/game/act.go
+++ b/internal/game/act.go
@@ -14,18 +14,13 @@ import (
"thehouseoficarus/internal/world"
)
+// verbAliases maps a gather-style verb that has no commandRegistry entry to
+// the action it starts. Verbs that are registered directly (mine, chop, fish,
+// cut, talk/speak/ask, steal/thieve, hide) must not be duplicated here: a
+// registered command is looked up first, so an entry would be dead and its
+// removal untested. Only shear remains as a pure action alias.
var verbAliases = map[string]string{
- "mine": "gather",
- "chop": "gather",
- "fish": "gather",
- "cut": "gather",
- "shear": "gather",
- "talk": "talk",
- "speak": "talk",
- "ask": "talk",
- "steal": "steal",
- "thieve": "steal",
- "hide": "safespot",
+ "shear": "gather",
}
var verbSkill = map[string]string{