X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=rogue_chat_curses.py;h=e0f2f6a096b1ba43599930be8c28febb63444df6;hb=5702b6ad7f60dcc52ddbfe9cbedf13750ef84532;hp=c5e4f9dae3929446b9e8be79cd9d8b3476433cf5;hpb=300e9d0e30b360021ca0b2183893f0d75b4be4b3;p=plomrogue2 diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index c5e4f9d..e0f2f6a 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -509,6 +509,8 @@ class TUI: end = start + self.game.map_geometry.size.x map_lines_split += [[c + ' ' for c in map_content[start:end]]] if self.map_mode == 'terrain': + for p in self.game.portals.keys(): + map_lines_split[p.y][p.x] = 'P ' used_positions = [] for t in self.game.things: symbol = self.game.thing_types[t.type_] @@ -760,4 +762,5 @@ class TUI: self.send('TASK:WRITE %s %s' % (key, quote(self.password))) self.switch_mode('play') -TUI('localhost:5000') +#TUI('localhost:5000') +TUI('wss://plomlompom.com/rogue_chat/')