54 lines
1.9 KiB
Python
54 lines
1.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Connection screen
|
|
|
|
This is the text to show the user when they first connect to the game (before
|
|
they log in).
|
|
|
|
To change the login screen in this module, do one of the following:
|
|
|
|
- Define a function `connection_screen()`, taking no arguments. This will be
|
|
called first and must return the full string to act as the connection screen.
|
|
This can be used to produce more dynamic screens.
|
|
- Alternatively, define a string variable in the outermost scope of this module
|
|
with the connection string that should be displayed. If more than one such
|
|
variable is given, Evennia will pick one of them at random.
|
|
|
|
The commands available to the user when the connection screen is shown
|
|
are defined in evennia.default_cmds.UnloggedinCmdSet. The parsing and display
|
|
of the screen is done by the unlogged-in "look" command.
|
|
|
|
"""
|
|
|
|
from django.conf import settings
|
|
|
|
from evennia import utils
|
|
|
|
CONNECTION_SCREEN = """
|
|
Wha...what is this place?
|
|
|
|
You followed his instructions. Head to the city park, and on the woodsy side, turn left at the lamp post. Peer in the brambles and when you see the red handkerchief tied to branch, follow it ...
|
|
|
|
Just keep following the red kerchiefs, until...
|
|
|
|
|b----------------------------------------------------|n
|
|
|
|
Welcome to the World of |g{}|n, version {}!
|
|
|
|
This is a game. One that hearkens back to earlier age, where, with limited graphics, we created worlds built of words. A story game where you type instructions to manipulate the story.
|
|
|
|
If you have an existing account, connect to it by typing:
|
|
|wconnect <username> <password>|n
|
|
|
|
If you need to create an account, type (without the <>'s):
|
|
|wcreate <username> <password>|n
|
|
|
|
If you have spaces in your username, enclose it in quotes.
|
|
|
|
After you've logged in Enter |whelp me|n for more info.
|
|
|
|
|b----------------------------------------------------|n
|
|
""".format(
|
|
settings.SERVERNAME, utils.get_evennia_version("short")
|
|
)
|