From 94823b52168b44894fb5e9c960358ed02ebb122b Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 5 Jul 2026 22:35:21 -0400 Subject: feat: courses gui overhaul, add course tab to map, add hidden exits to give courses structure --- internal/game/cmd_move.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/game/cmd_move.go') diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go index f12c494..6063160 100644 --- a/internal/game/cmd_move.go +++ b/internal/game/cmd_move.go @@ -31,6 +31,11 @@ func (g *Game) doMove(sess *net.Session, dir string, multiplier float64) { return } + if exitDef.Hidden && !p.GodMode { + sess.WriteLine("You can't go that way.") + return + } + if !p.GodMode && exitDef.Condition != nil && !g.checkCondition(sess, exitDef.Condition) { msg := exitDef.BlockedMessage if msg == "" { -- cgit v1.2.3