mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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
|
||||
|
||||
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)
|
||||
if locks:
|
||||
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
|
||||
# add the attributes
|
||||
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
|
||||
exits = []
|
||||
pobjs = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue