connection_screens.py update markup/format

This commit is contained in:
BlauFeuer 2017-02-12 18:59:38 -05:00 committed by GitHub
parent 5e93d41664
commit 9ea8daf605

View file

@ -10,7 +10,7 @@ connection screen. If there are more than one, Evennia will
randomize which one it displays.
The commands available to the user when the connection screen is shown
are defined in commands.default_cmdsets.UnloggedinCmdSet and the
are defined in commands.default_cmdsets. UnloggedinCmdSet and the
screen is read and displayed by the unlogged-in "look" command.
"""
@ -18,16 +18,16 @@ screen is read and displayed by the unlogged-in "look" command.
from django.conf import settings
from evennia import utils
CONNECTION_SCREEN = \
"""{b=============================================================={n
Welcome to {g%s{n, version %s!
CONNECTION_SCREEN = """
|b==============================================================|n
Welcome to |g{}|n, version {}!
If you have an existing account, connect to it by typing:
{wconnect <username> <password>{n
|wconnect <username> <password>|n
If you need to create an account, type (without the <>'s):
{wcreate <username> <password>{n
|wcreate <username> <password>|n
If you have spaces in your username, enclose it in quotes.
Enter {whelp{n for more info. {wlook{n will re-show this screen.
{b=============================================================={n""" \
% (settings.SERVERNAME, utils.get_evennia_version())
Enter |whelp|n for more info. |wlook|n will re-show this screen.
|b==============================================================|n""" \
.format(settings.SERVERNAME, utils.get_evennia_version())