Add listing of home to examine command.

This commit is contained in:
Griatch 2017-05-11 19:30:54 +02:00
parent 6ea13dbc96
commit 6db118ac61

View file

@ -1927,6 +1927,10 @@ class CmdExamine(ObjManipCommand):
string += "\n|wLocation|n: %s" % obj.location
if obj.location:
string += " (#%s)" % obj.location.id
if hasattr(obj, "home"):
string += "\n|wHome|n: %s" % obj.home
if obj.home:
string += " (#%s)" % obj.home.id
if hasattr(obj, "destination") and obj.destination:
string += "\n|wDestination|n: %s" % obj.destination
if obj.destination: