mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Add listing of home to examine command.
This commit is contained in:
parent
6ea13dbc96
commit
6db118ac61
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue