mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 09:16:32 +01:00
Move away from fixtures in favor of src/initial_setup.py, which makes it a little easier to change stuff like this. It also avoids over-writing stuff when syncdb is ran. This commit features database layout changes to ConnectScreen and CommChannel. It is recommended that you drop your database and re-sync. If this is not acceptable, talk to me about a migration plan. We will be investigating schema evolution down the road.
This commit is contained in:
parent
c0ebbc3967
commit
f6ee697e04
8 changed files with 119 additions and 38 deletions
|
|
@ -141,7 +141,7 @@ class SessionProtocol(StatefulTelnetProtocol):
|
|||
Show the banner screen. Grab from the 'connect_screen' config directive.
|
||||
"""
|
||||
screen = ConnectScreen.objects.get_random_connect_screen()
|
||||
buffer = ansi.parse_ansi(screen.connect_screen_text)
|
||||
buffer = ansi.parse_ansi(screen.text)
|
||||
self.msg(buffer)
|
||||
|
||||
def is_loggedin(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue