Some more minor fixes.
This commit is contained in:
parent
c6f5f33cbd
commit
0ced5287f4
2 changed files with 8 additions and 5 deletions
|
|
@ -289,14 +289,17 @@ class CmdExtendedDesc(default_cmds.CmdDesc):
|
||||||
describe the current room.
|
describe the current room.
|
||||||
|
|
||||||
The alias @detail allows to assign a "detail" (a non-object
|
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
|
<night>In the darkness, the forest looks foreboding.</night>. Text
|
||||||
marked this way will only display when the server is truly at the given
|
marked this way will only display when the server is truly at the given
|
||||||
time slot. The available times
|
time slot. The available times
|
||||||
are night, morning, afternoon and evening.
|
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"]
|
aliases = ["@describe", "@detail"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,9 +76,9 @@ class ANSIParser(object):
|
||||||
|
|
||||||
self.mux_ansi_map = [
|
self.mux_ansi_map = [
|
||||||
# commented out by default; they (especially blink) are potentially annoying
|
# commented out by default; they (especially blink) are potentially annoying
|
||||||
#(r'%r', ANSI_RETURN),
|
(r'%r', ANSI_RETURN),
|
||||||
#(r'%t', ANSI_TAB),
|
(r'%t', ANSI_TAB),
|
||||||
#(r'%b', ANSI_SPACE),
|
(r'%b', ANSI_SPACE),
|
||||||
#(r'%cf', ANSI_BLINK),
|
#(r'%cf', ANSI_BLINK),
|
||||||
#(r'%ci', ANSI_INVERSE),
|
#(r'%ci', ANSI_INVERSE),
|
||||||
(r'%cr', ANSI_RED),
|
(r'%cr', ANSI_RED),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue