X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=rogue_chat_curses.py;h=efddaf68eb5f38bb8b80d56baf44a872708d6685;hb=22d0a54ba1131600ad5cab77318cc51896c951f0;hp=ff00b503a3eb51de174715329cce08bfad59f323;hpb=ed297e4e19f8a83872d6345b86321e10aec019d4;p=plomrogue2 diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index ff00b50..efddaf6 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -49,7 +49,7 @@ mode_helps = { 'enter_face': { 'short': 'enter your face', 'intro': '@ enter face line (enter nothing to abort):', - 'long': 'Draw your face as ASCII art. The string you enter must be 9 characters long, and will be divided on display into three lines of three characters each, from top to bottom..' + 'long': 'Draw your face as ASCII art. The string you enter must be 18 characters long, and will be divided on display into 3 lines of 6 characters each, from top to bottom..' }, 'write': { 'short': 'change terrain', @@ -716,13 +716,13 @@ class TUI: protection = 'none' info_to_cache += ' / protection: %s\n' % protection if hasattr(t, 'hat'): - info_to_cache += t.hat[0:3] + '\n' - info_to_cache += t.hat[3:6] + '\n' - info_to_cache += t.hat[6:9] + '\n' + info_to_cache += t.hat[0:6] + '\n' + info_to_cache += t.hat[6:12] + '\n' + info_to_cache += t.hat[12:18] + '\n' if hasattr(t, 'face'): - info_to_cache += t.face[0:3] + '\n' - info_to_cache += t.face[3:6] + '\n' - info_to_cache += t.face[6:9] + '\n' + info_to_cache += t.face[0:6] + '\n' + info_to_cache += t.face[6:12] + '\n' + info_to_cache += t.face[12:18] + '\n' terrain_char = self.game.map_content[pos_i] terrain_desc = '?' if terrain_char in self.game.terrains: @@ -1069,7 +1069,7 @@ class TUI: self.send('LOGIN ' + quote(self.input_)) self.input_ = "" elif self.mode.name == 'enter_face' and key == '\n': - if len(self.input_) != 9: + if len(self.input_) != 18: self.log_msg('? wrong input length, aborting') else: self.send('PLAYER_FACE %s' % quote(self.input_))