Moved tags to the end of examine command output.
This commit is contained in:
parent
9ffba037f8
commit
5da4da34c0
1 changed files with 6 additions and 4 deletions
|
|
@ -1798,10 +1798,6 @@ class CmdExamine(ObjManipCommand):
|
||||||
|
|
||||||
string += "\n{wPermissions{n: %s" % perms_string
|
string += "\n{wPermissions{n: %s" % perms_string
|
||||||
|
|
||||||
tags_string = utils.fill(", ".join(tag for tag in obj.tags.all()), indent=5)
|
|
||||||
if tags_string:
|
|
||||||
string += "\n{wTags{n: %s" % tags_string
|
|
||||||
|
|
||||||
locks = str(obj.locks)
|
locks = str(obj.locks)
|
||||||
if locks:
|
if locks:
|
||||||
locks_string = utils.fill("; ".join([lock for lock in locks.split(';')]), indent=6)
|
locks_string = utils.fill("; ".join([lock for lock in locks.split(';')]), indent=6)
|
||||||
|
|
@ -1853,6 +1849,12 @@ class CmdExamine(ObjManipCommand):
|
||||||
string += "\n{wScripts{n:\n %s" % obj.scripts
|
string += "\n{wScripts{n:\n %s" % obj.scripts
|
||||||
# add the attributes
|
# add the attributes
|
||||||
string += self.format_attributes(obj)
|
string += self.format_attributes(obj)
|
||||||
|
|
||||||
|
# display Tags
|
||||||
|
tags_string = utils.fill(", ".join(tag for tag in obj.tags.all()), indent=5)
|
||||||
|
if tags_string:
|
||||||
|
string += "\n{wTags{n: %s" % tags_string
|
||||||
|
|
||||||
# add the contents
|
# add the contents
|
||||||
exits = []
|
exits = []
|
||||||
pobjs = []
|
pobjs = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue