diff options
Diffstat (limited to 'internal/game/action.go')
| -rw-r--r-- | internal/game/action.go | 7 |
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) |
