X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=rogue_chat_curses.py;h=99a7e88bc94b0f0bccf81c0bd3228335226765fe;hb=d4419f2d3b883a20111d8258fb4f625094e9c587;hp=54499daf2551ac335dc93ff9f274d1dcc09bd136;hpb=687f032b63ef13e98a8e71ef59c6ef0cd032149f;p=plomrogue2 diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 54499da..99a7e88 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -463,6 +463,10 @@ class TUI: if terrain_char in self.game.terrains: terrain_desc = self.game.terrains[terrain_char] info = 'TERRAIN: "%s" / %s\n' % (terrain_char, terrain_desc) + protection = self.game.map_control_content[pos_i] + if protection == '.': + protection = 'unprotected' + info = 'PROTECTION: %s\n' % protection for t in self.game.things: if t.position == self.explorer: info += 'THING: %s / %s' % (t.type_,