From 5b9a75a1520a198c9c6b1f1f55e05c9f4aab5629 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 22 Jun 2026 04:24:11 -0400 Subject: feat: map now only reveals with exploration. players can set custom map symbols. --- internal/game/cmd_map.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/cmd_map.go') diff --git a/internal/game/cmd_map.go b/internal/game/cmd_map.go index 90f58ab..fc4ebf1 100644 --- a/internal/game/cmd_map.go +++ b/internal/game/cmd_map.go @@ -19,7 +19,7 @@ func (g *Game) doMap(sess *net.Session) { mapHeight = 5 } - lines := buildFullMap(g, p.RoomID, mapWidth, mapHeight, mapGlyphsForPlayer(p.OptionBool("unicode"))) + lines := buildFullMap(g, sess, p.RoomID, mapWidth, mapHeight, mapGlyphsForPlayer(p.OptionBool("unicode"))) mode := p.OptionString("map_padding") if mode == "none" || mode == "x" { @@ -30,7 +30,7 @@ func (g *Game) doMap(sess *net.Session) { } if len(lines) == 0 { - sess.WriteLine("\nNo map data to display.") + sess.WriteLine("No map data to display.") return } sess.WriteLine("") -- cgit v1.2.3