Adjust some function names in the script parents to be at_ instead of a_. Also re-designed the scheduling system to be a lot more pythonic and easy to use. Utilizes classes to represent events. Much easier to plug in events from within the game directory now as well.
This commit is contained in:
parent
b3c386a2c3
commit
5a465746c5
8 changed files with 159 additions and 145 deletions
|
|
@ -7,7 +7,7 @@ from django.db import connection
|
|||
from django.conf import settings
|
||||
from src.config.models import ConfigValue
|
||||
from src.session import SessionProtocol
|
||||
from src import scheduler
|
||||
from src import events
|
||||
from src import logger
|
||||
from src import session_mgr
|
||||
from src import alias_mgr
|
||||
|
|
@ -50,7 +50,8 @@ class EvenniaService(service.Service):
|
|||
alias_mgr.load_cmd_aliases()
|
||||
|
||||
print '-'*50
|
||||
scheduler.start_events()
|
||||
# Fire up the event scheduler.
|
||||
events.add_global_events()
|
||||
|
||||
"""
|
||||
BEGIN SERVER STARTUP METHODS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue