Clean up some of the methods on the script parent system. I have no idea why I was being silly and passing things around through dictionaries. Yick. Also added a at_player_creation method to basicplayer.py that is triggered after player objects are created and ready to go, but before they are logged in.

This commit is contained in:
Greg Taylor 2009-03-30 00:54:05 +00:00
parent 4af854271a
commit b3c386a2c3
5 changed files with 43 additions and 42 deletions

View file

@ -9,6 +9,14 @@ import time
from src import comsys
class EvenniaBasicPlayer(object):
def at_player_creation(self):
"""
This is triggered after a new User and accompanying Object is created.
By the time this is triggered, the player is ready to go but not
logged in.
"""
pass
def at_pre_login(self, session):
"""
Everything done here takes place before the player is actually