Fixed a bug in serverconfig. Tweaked how the default connection screen is stored, to allow for server updates.
This commit is contained in:
parent
7f9f21f45e
commit
88626842b7
4 changed files with 42 additions and 19 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#
|
||||
# This module holds textual connection screen definitions. All global
|
||||
# string variables (only) in this module are read by Evennia and
|
||||
# assumed to define a Connection screen.
|
||||
# assumed to define a Connection screen. You can change which module is
|
||||
# used with settings.CONNECTION_SCREEN_MODULE.
|
||||
#
|
||||
# The names of the string variables doesn't matter (except they
|
||||
# shouldn't start with _), but each should hold a string defining a
|
||||
|
|
@ -13,16 +14,18 @@
|
|||
# either reboot or reload the server to make them available.
|
||||
#
|
||||
|
||||
from src.utils import utils
|
||||
from src.commands.connection_screen import DEFAULT_SCREEN
|
||||
|
||||
DEFAULT_SCREEN = \
|
||||
"""{b=============================================================={n
|
||||
Welcome to {gEvennia{n, version %s!
|
||||
|
||||
If you have an existing account, connect to it by typing:
|
||||
{wconnect <email> <password>{n
|
||||
If you need to create an account, type (without the <>'s):
|
||||
{wcreate \"<username>\" <email> <password>{n
|
||||
|
||||
Enter {whelp{n for more info. {wlook{n will re-load this screen.
|
||||
{b=============================================================={n""" % utils.get_evennia_version()
|
||||
# from src.utils import utils
|
||||
#
|
||||
# CUSTOM_SCREEN = \
|
||||
# """{b=============================================================={n
|
||||
# Welcome to {gEvennia{n, version %s!
|
||||
#
|
||||
# If you have an existing account, connect to it by typing:
|
||||
# {wconnect <email> <password>{n
|
||||
# If you need to create an account, type (without the <>'s):
|
||||
# {wcreate \"<username>\" <email> <password>{n
|
||||
#
|
||||
# Enter {whelp{n for more info. {wlook{n will re-load this screen.
|
||||
#{b=============================================================={n""" % utils.get_evennia_version()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue