mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 13:26:30 +01:00
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:
parent
8fbeea99dc
commit
4cee971169
9 changed files with 96 additions and 76 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue