From 0ced5287f4e0d873b66ae6c8ef78d897a3f8a813 Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 12 Dec 2012 01:18:49 +0100 Subject: [PATCH] Some more minor fixes. --- contrib/extended_room.py | 7 +++++-- src/utils/ansi.py | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/contrib/extended_room.py b/contrib/extended_room.py index 484abcfa67..f26c1c3ce7 100644 --- a/contrib/extended_room.py +++ b/contrib/extended_room.py @@ -289,14 +289,17 @@ class CmdExtendedDesc(default_cmds.CmdDesc): describe the current room. The alias @detail allows to assign a "detail" (a non-object - target for the look command) to the current room. + target for the look command) to the current room (only). - You can also embed special time markers in your description, like this: + You can also embed special time markers in your room description, like this: In the darkness, the forest looks foreboding.. Text marked this way will only display when the server is truly at the given time slot. The available times are night, morning, afternoon and evening. + Note that @detail, seasons and time-of-day slots only works on rooms in this + version of the @desc command. + """ aliases = ["@describe", "@detail"] diff --git a/src/utils/ansi.py b/src/utils/ansi.py index 1ccd234afa..320dd8b4f6 100644 --- a/src/utils/ansi.py +++ b/src/utils/ansi.py @@ -76,9 +76,9 @@ class ANSIParser(object): self.mux_ansi_map = [ # commented out by default; they (especially blink) are potentially annoying - #(r'%r', ANSI_RETURN), - #(r'%t', ANSI_TAB), - #(r'%b', ANSI_SPACE), + (r'%r', ANSI_RETURN), + (r'%t', ANSI_TAB), + (r'%b', ANSI_SPACE), #(r'%cf', ANSI_BLINK), #(r'%ci', ANSI_INVERSE), (r'%cr', ANSI_RED),