From 6db118ac6177aee7c072de40552f00c4e48e7b0b Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 11 May 2017 19:30:54 +0200 Subject: [PATCH] Add listing of home to examine command. --- evennia/commands/default/building.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 02b09c0151..9045b1155d 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -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: