home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move back thing protection status in display.
[plomrogue2]
/
rogue_chat_curses.py
diff --git
a/rogue_chat_curses.py
b/rogue_chat_curses.py
index 7e5437fa2e1af0ee3eb5fdc899951dec49b0e916..eb708a249a3ddc6c4392e2349fa81d0587de7d43 100755
(executable)
--- a/
rogue_chat_curses.py
+++ b/
rogue_chat_curses.py
@@
-691,14
+691,14
@@
class TUI:
if t.position == self.explorer:
protection = t.protection
if protection == '.':
if t.position == self.explorer:
protection = t.protection
if protection == '.':
- protection = '
unprotected
'
- info += 'THING: %s /
protection: %s / %s' %\
-
(t.type_, protection,
self.game.thing_types[t.type_])
+ protection = '
none
'
+ info += 'THING: %s /
%s' % (t.type_,
+
self.game.thing_types[t.type_])
if hasattr(t, 'player_char'):
info += t.player_char
if hasattr(t, 'name'):
info += ' (%s)' % t.name
if hasattr(t, 'player_char'):
info += t.player_char
if hasattr(t, 'name'):
info += ' (%s)' % t.name
- info += '
\n'
+ info += '
/ protection: %s\n' % protection
if self.explorer in self.game.portals:
info += 'PORTAL: ' + self.game.portals[self.explorer] + '\n'
else:
if self.explorer in self.game.portals:
info += 'PORTAL: ' + self.game.portals[self.explorer] + '\n'
else: