Some more minor fixes.

This commit is contained in:
Griatch 2012-12-12 01:18:49 +01:00
parent c6f5f33cbd
commit 0ced5287f4
2 changed files with 8 additions and 5 deletions

View file

@ -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:
<night>In the darkness, the forest looks foreboding.</night>. 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"]

View file

@ -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),