Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- Connection screen
- Texts in this module will be shown to the user at login-time.
- Evennia will look at global string variables (variables defined
- at the "outermost" scope of this module and use it as the
- 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
- screen is read and displayed by the unlogged-in "look" command.
- """
- from django.conf import settings
- from evennia import utils
- def read_connection_file():
- out = ''
- temp = open('/home/evennia/mygame/server/conf/connect.txt','r').readlines()
- for l in temp:
- out += l
- return out
- CONNECTION_SCREEN = read_connection_file()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement