Minor msg editing/formatting
This commit is contained in:
parent
a6918561c5
commit
ee0a22757f
2 changed files with 6 additions and 6 deletions
|
|
@ -567,7 +567,7 @@ class CmdListPuzzleRecipes(MuxCommand):
|
||||||
mark = ''
|
mark = ''
|
||||||
else:
|
else:
|
||||||
text.append(div)
|
text.append(div)
|
||||||
text.append('%d puzzle(s).' % (len(recipes)))
|
text.append('Found |r%d|n puzzle(s).' % (len(recipes)))
|
||||||
text.append(div)
|
text.append(div)
|
||||||
caller.msg('\n'.join(text))
|
caller.msg('\n'.join(text))
|
||||||
|
|
||||||
|
|
@ -606,7 +606,7 @@ class CmdListArmedPuzzles(MuxCommand):
|
||||||
item.location.name, item.location.dbref))
|
item.location.name, item.location.dbref))
|
||||||
else:
|
else:
|
||||||
text.append(div)
|
text.append(div)
|
||||||
text.append('%d armed puzzle(s).' % (len(armed_puzzles)))
|
text.append('Found |r%d|n armed puzzle(s).' % (len(armed_puzzles)))
|
||||||
text.append(div)
|
text.append(div)
|
||||||
caller.msg('\n'.join(text))
|
caller.msg('\n'.join(text))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1485,7 +1485,7 @@ class TestPuzzles(CommandTest):
|
||||||
msg,
|
msg,
|
||||||
[
|
[
|
||||||
r"^-+$",
|
r"^-+$",
|
||||||
r"^0 puzzle\(s\)\.$",
|
r"^Found 0 puzzle\(s\)\.$",
|
||||||
r"-+$",
|
r"-+$",
|
||||||
],
|
],
|
||||||
re.MULTILINE | re.DOTALL
|
re.MULTILINE | re.DOTALL
|
||||||
|
|
@ -1514,7 +1514,7 @@ class TestPuzzles(CommandTest):
|
||||||
r"^.*key: stone$",
|
r"^.*key: stone$",
|
||||||
r"^.*key: flint$",
|
r"^.*key: flint$",
|
||||||
r"^-+$",
|
r"^-+$",
|
||||||
r"^1 puzzle\(s\)\.$",
|
r"^Found 1 puzzle\(s\)\.$",
|
||||||
r"^-+$",
|
r"^-+$",
|
||||||
],
|
],
|
||||||
re.MULTILINE | re.DOTALL
|
re.MULTILINE | re.DOTALL
|
||||||
|
|
@ -1530,7 +1530,7 @@ class TestPuzzles(CommandTest):
|
||||||
[
|
[
|
||||||
r"^-+$",
|
r"^-+$",
|
||||||
r"^-+$",
|
r"^-+$",
|
||||||
r"^0 armed puzzle\(s\)\.$",
|
r"^Found 0 armed puzzle\(s\)\.$",
|
||||||
r"^-+$"
|
r"^-+$"
|
||||||
],
|
],
|
||||||
re.MULTILINE | re.DOTALL
|
re.MULTILINE | re.DOTALL
|
||||||
|
|
@ -1550,7 +1550,7 @@ class TestPuzzles(CommandTest):
|
||||||
r"^Puzzle name: makefire$",
|
r"^Puzzle name: makefire$",
|
||||||
r"^.*stone.* at \s+ Room.*$",
|
r"^.*stone.* at \s+ Room.*$",
|
||||||
r"^.*flint.* at \s+ Room.*$",
|
r"^.*flint.* at \s+ Room.*$",
|
||||||
r"^1 armed puzzle\(s\)\.$",
|
r"^Found 1 armed puzzle\(s\)\.$",
|
||||||
r"^-+$",
|
r"^-+$",
|
||||||
],
|
],
|
||||||
re.MULTILINE | re.DOTALL
|
re.MULTILINE | re.DOTALL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue