From cbfca994af863c569442f2199dcec1e2b2aa42d6 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 16 Dec 2020 23:36:51 +0100 Subject: [PATCH] Make welcoming message of client slightly more helpful. --- rogue_chat.html | 3 +++ rogue_chat_curses.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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): -- 2.30.2