moss-n-puddles/server/conf/connection_screens.py
2025-03-02 10:25:28 -08:00

57 lines
2.2 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
# Note: Can't really do unicode like
# |b ⋅•⋅⋅•⋅⊰⋅•⋅⋅•⋅∙∘☽༓☾∘∙•⋅⋅⋅•⋅⋅⊰⋅•⋅⋅•⋅ |n
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...
Welcome to the World of |g{}|n!
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 (in the lower boxed area if you are on the web) the following (without the <>'s):
|wconnect <username> <password>|n
Where "username" is the name of your account and your character's name you wish to assume. Please get creative with your password. 😉
If you need to create an account, (once again, in the box at the bottom of the screen) type the following (without the <>'s):
|wcreate <username> <password>|n
If you have spaces in your username or password, enclose it in quotes.
After you've logged in Enter |whelp me start|n for more the getting started guide.
""".format(
settings.SERVERNAME, utils.get_evennia_version("short")
)