From: Christian Heller Date: Wed, 16 Dec 2020 22:36:51 +0000 (+0100) Subject: Make welcoming message of client slightly more helpful. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%22https:/validator.w3.org/condition?a=commitdiff_plain;h=cbfca994af863c569442f2199dcec1e2b2aa42d6;p=plomrogue2 Make welcoming message of client slightly more helpful. --- diff --git a/rogue_chat.html b/rogue_chat.html index 84d481c..f081050 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -570,6 +570,9 @@ let server = { } else if (tokens[0] === 'LOGIN_OK') { this.send(['GET_GAMESTATE']); tui.switch_mode('post_login_wait'); + tui.log_msg('@ welcome!') + tui.log_msg('@ hint: see top of terminal for how to get help.') + tui.log_msg('@ hint: enter study mode to understand your environment.') } else if (tokens[0] === 'DEFAULT_COLORS') { terminal.set_default_colors(); } else if (tokens[0] === 'RANDOM_COLORS') { diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index ec9eee5..bfd5560 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -186,7 +186,9 @@ cmd_OTHER_WIPE.argtypes = '' def cmd_LOGIN_OK(game): game.tui.switch_mode('post_login_wait') game.tui.send('GET_GAMESTATE') - game.tui.log_msg('@ welcome') + game.tui.log_msg('@ welcome!') + game.tui.log_msg('@ hint: see top of terminal for how to get help.') + game.tui.log_msg('@ hint: enter study mode to understand your environment.') cmd_LOGIN_OK.argtypes = '' def cmd_ADMIN_OK(game):