# -*- 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

If you have an existing account, connect to it by typing the following (without the <>'s):

  |gconnect <username> <password>|n

|wNote:|n If you are using the webclient, click the lower boxed area.

If you need to create an account, type the following (without the <>'s):

  |gcreate <username> <password>|n

Where "username" is the name of your account. Please get creative with your password. 😉
If you have spaces in your username or password, enclose it in quotes.
""".format(
    settings.SERVERNAME, utils.get_evennia_version("short")
)
