aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 13:28:06 -0400
committerhistoria <[not public]>2026-06-19 13:28:06 -0400
commit3a58125d14bb307f861b38c6c5b0a63babde7e08 (patch)
treebd89e866447d55e6dffd447d8ef5fabf9b8fbe9d /internal/game/action.go
parent575a71dcfed3b9fa44af244836f638a23df05a9a (diff)
downloadthehouseoficarus-3a58125d14bb307f861b38c6c5b0a63babde7e08.tar.gz
feat: all skills kind of implemented, random prototype content added
Diffstat (limited to 'internal/game/action.go')
-rw-r--r--internal/game/action.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/game/action.go b/internal/game/action.go
index be35ae2..dc21927 100644
--- a/internal/game/action.go
+++ b/internal/game/action.go
@@ -153,6 +153,11 @@ func (g *Game) StartAction(sess *net.Session, verb, target string) {
return
}
+ if obj != nil && obj.ID == "estate_directory" {
+ g.startEstateDirectory(sess, verb)
+ return
+ }
+
if bh.Type != verb {
if obj != nil {
sess.WriteLine(fmt.Sprintf("You can't %s the %s.", verb, obj.Name))
@@ -251,6 +256,8 @@ func (g *Game) AdvanceActions() {
g.advanceWater(sess, p)
case "cure":
g.advanceCure(sess, p)
+ case "obstacle":
+ g.advanceObstacle(sess, p)
default:
if productionActionTypes[p.Action.Type] {
g.advanceProduction(sess, p)