diff options
| author | historia <[not public]> | 2026-06-19 13:28:06 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-19 13:28:06 -0400 |
| commit | 3a58125d14bb307f861b38c6c5b0a63babde7e08 (patch) | |
| tree | bd89e866447d55e6dffd447d8ef5fabf9b8fbe9d /internal/game/action.go | |
| parent | 575a71dcfed3b9fa44af244836f638a23df05a9a (diff) | |
| download | thehouseoficarus-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.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) |
