Included 'Alias' field for examine (issue98). Fixed a rare traceback with @reload in situations when it tried to move on before modules has time to finish reloading. Also clarified how @perm and examine display information.

This commit is contained in:
Griatch 2010-09-03 21:17:51 +00:00
parent e2f92f0bfe
commit ec5295b973
5 changed files with 58 additions and 33 deletions

View file

@ -327,9 +327,7 @@ class Character(Object):
def at_after_move(self, source_location):
"Default is to look around after a move."
self.execute_cmd('look')
#
# Base Room object
#

View file

@ -6,6 +6,7 @@ import datetime
from django.db import models
from django.contrib.auth.models import User
from src.typeclasses.managers import returns_typeclass_list, returns_typeclass
from src.utils import logger
#
# Player Manager
@ -32,7 +33,7 @@ def returns_player_list(method):
try:
players.append(user.get_profile())
except Exception:
players.append(user)
logger.log_trace("User has no profile(), maybe database was partially reset?")
return players
return func

View file

@ -86,8 +86,8 @@ def create_objects():
# Limbo is the initial starting room.
object_typeclass = settings.BASE_OBJECT_TYPECLASS
limbo_obj = create.create_object(object_typeclass, 'Limbo')
room_typeclass = settings.BASE_ROOM_TYPECLASS
limbo_obj = create.create_object(room_typeclass, 'Limbo')
limbo_obj.id = 2
string = "Welcome to your new %chEvennia%cn-based game."
string += " From here you are ready to begin development."