From acbfa1be6a131135a19ab1c6d515cadbf75c6f3a Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Thu, 4 Jun 2009 02:14:15 +0000 Subject: [PATCH] Re-arrange line breaks for the examine command to match MUX/MUSH. --- src/commands/general.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/commands/general.py b/src/commands/general.py index ed51e1357..71ca9c62b 100644 --- a/src/commands/general.py +++ b/src/commands/general.py @@ -318,21 +318,20 @@ def cmd_examine(command): # Render Contents display. if con_players or con_things: s += str("%sContents:%s" % (ANSITable.ansi["hilite"], - ANSITable.ansi["normal"])) + newl + ANSITable.ansi["normal"])) for player in con_players: - s += str(' %s' % player.get_name(fullname=True)) + newl + s += str(' %s' % newl + player.get_name(fullname=True)) for thing in con_things: - s += str(' %s' % thing.get_name(fullname=True)) + newl + s += str(' %s' % newl + thing.get_name(fullname=True)) # Render Exists display. if con_exits: - s += str("%sExits:%s" % (ANSITable.ansi["hilite"], - ANSITable.ansi["normal"])) + newl + s += str("%sExits:%s" % (newl + ANSITable.ansi["hilite"], + ANSITable.ansi["normal"])) for exit in con_exits: - s += str(' %s' % exit.get_name(fullname=True)) + newl - - + s += str(' %s' % newl + exit.get_name(fullname=True)) + # Send it all source_object.emit_to(s) GLOBAL_CMD_TABLE.add_command("examine", cmd_examine)