home · contact · privacy
Mark portals as P on map.
[plomrogue2] / rogue_chat_nocanvas_monochrome.html
index c96fe65ea913348cdbacb84cd93a09aed4a1041f..7a479d0b0cd85730a941f88d9668b2826210eb61 100644 (file)
@@ -533,6 +533,10 @@ let tui = {
     };
     map_lines_split.push(line);
     if (this.map_mode == 'terrain') {
+        for (const p in game.portals) {
+            let coordinate = p.split(',')
+            map_lines_split[coordinate[0]][coordinate[1]] = 'P ';
+        }
         let used_positions = [];
         for (const thing_id in game.things) {
             let t = game.things[thing_id];