- 21 rooms across 4 wings (Dormitories, Commons, Workshops, Gardens) - Full exit graph connecting all rooms bidirectionally - Room descriptions for all 16 inner rooms - 5 character accounts (wizard, Allegro, Allegro-Primus, Timmy, Ezra) - Public communication channel - Build script: world/build_academy.ev - Wing modules: world/dormitory_entrance.py, commons_wing.py, workshop_wing.py, gardens_wing.py Built by Allegro, descriptions and exit fixes by Timmy.
72 lines
1.3 KiB
Python
72 lines
1.3 KiB
Python
"""
|
|
Server startstop hooks
|
|
|
|
This module contains functions called by Evennia at various
|
|
points during its startup, reload and shutdown sequence. It
|
|
allows for customizing the server operation as desired.
|
|
|
|
This module must contain at least these global functions:
|
|
|
|
at_server_init()
|
|
at_server_start()
|
|
at_server_stop()
|
|
at_server_reload_start()
|
|
at_server_reload_stop()
|
|
at_server_cold_start()
|
|
at_server_cold_stop()
|
|
|
|
"""
|
|
|
|
|
|
def at_server_init():
|
|
"""
|
|
This is called first as the server is starting up, regardless of how.
|
|
"""
|
|
pass
|
|
|
|
|
|
def at_server_start():
|
|
"""
|
|
This is called every time the server starts up, regardless of
|
|
how it was shut down.
|
|
"""
|
|
pass
|
|
|
|
|
|
def at_server_stop():
|
|
"""
|
|
This is called just before the server is shut down, regardless
|
|
of it is for a reload, reset or shutdown.
|
|
"""
|
|
pass
|
|
|
|
|
|
def at_server_reload_start():
|
|
"""
|
|
This is called only when server starts back up after a reload.
|
|
"""
|
|
pass
|
|
|
|
|
|
def at_server_reload_stop():
|
|
"""
|
|
This is called only time the server stops before a reload.
|
|
"""
|
|
pass
|
|
|
|
|
|
def at_server_cold_start():
|
|
"""
|
|
This is called only when the server starts "cold", i.e. after a
|
|
shutdown or a reset.
|
|
"""
|
|
pass
|
|
|
|
|
|
def at_server_cold_stop():
|
|
"""
|
|
This is called only when the server goes down due to a shutdown or
|
|
reset.
|
|
"""
|
|
pass
|