aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action.go
diff options
context:
space:
mode:
authorworkhorse <workhorse@localhost.localdomain>2026-06-19 03:57:06 -0400
committerworkhorse <workhorse@localhost.localdomain>2026-06-19 03:57:06 -0400
commit52a3ce6a4b4a254dc5d3067979a09e93c060fa20 (patch)
tree167c62990013733bc8669c1387078bc86ea48db5 /internal/game/action.go
parentfbd1c30d7b9777c9df6653f0c393afa7a7dfa519 (diff)
downloadthehouseoficarus-52a3ce6a4b4a254dc5d3067979a09e93c060fa20.tar.gz
feat: shops and rough assassin skill
Diffstat (limited to 'internal/game/action.go')
-rw-r--r--internal/game/action.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/game/action.go b/internal/game/action.go
index 2d30010..3cc51c6 100644
--- a/internal/game/action.go
+++ b/internal/game/action.go
@@ -25,6 +25,8 @@ var verbAliases = map[string]string{
"ask": "talk",
"pull": "toggle",
"push": "toggle",
+ "steal": "steal",
+ "thieve": "steal",
}
var verbSkill = map[string]string{
@@ -33,6 +35,8 @@ var verbSkill = map[string]string{
"cut": "woodcutting",
"fish": "fishing",
"shear": "crafting",
+ "steal": "thieving",
+ "thieve": "thieving",
}
func normalizeVerb(v string) string {
@@ -235,6 +239,8 @@ func (g *Game) AdvanceActions() {
g.advanceSearch(sess, p)
case "identify":
g.advanceIdentify(sess, p)
+ case "steal":
+ g.advanceSteal(sess, p)
default:
if productionActionTypes[p.Action.Type] {
g.advanceProduction(sess, p)