Fixed some bugs in move reporting. Made feedback from default commands a bit more informative and consistent. Added some more text and error handling to the login commands.

This commit is contained in:
Griatch 2009-09-19 20:48:06 +00:00
parent 8fbeea99dc
commit 4cee971169
9 changed files with 96 additions and 76 deletions

View file

@ -90,7 +90,7 @@ class EvenniaBasicObject(object):
obj = self.scripted_obj
loc = obj.get_location()
if loc:
loc.emit_to_contents("%s has left." % (obj.get_name(),), exclude=self)
loc.emit_to_contents("%s has left." % obj.get_name(), exclude=obj)
if loc.is_player():
loc.emit_to("%s has left your inventory." % (obj.get_name()))
@ -101,9 +101,9 @@ class EvenniaBasicObject(object):
obj = self.scripted_obj
loc = obj.get_location()
if loc:
loc.emit_to_contents("%s has arrived." % obj.get_name())
loc.emit_to_contents("%s has arrived." % obj.get_name(), exclude=obj)
if loc.is_player():
loc.emit_to("%s is now in your inventory." % self.get_name())
loc.emit_to("%s is now in your inventory." % obj.get_name())
def at_after_move(self):
"""