mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
Minor msg editing/formatting
This commit is contained in:
parent
f6b0ddca94
commit
d44552a229
2 changed files with 6 additions and 6 deletions
|
|
@ -567,7 +567,7 @@ class CmdListPuzzleRecipes(MuxCommand):
|
|||
mark = ''
|
||||
else:
|
||||
text.append(div)
|
||||
text.append('%d puzzle(s).' % (len(recipes)))
|
||||
text.append('Found |r%d|n puzzle(s).' % (len(recipes)))
|
||||
text.append(div)
|
||||
caller.msg('\n'.join(text))
|
||||
|
||||
|
|
@ -606,7 +606,7 @@ class CmdListArmedPuzzles(MuxCommand):
|
|||
item.location.name, item.location.dbref))
|
||||
else:
|
||||
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)
|
||||
caller.msg('\n'.join(text))
|
||||
|
||||
|
|
|
|||
|
|
@ -1485,7 +1485,7 @@ class TestPuzzles(CommandTest):
|
|||
msg,
|
||||
[
|
||||
r"^-+$",
|
||||
r"^0 puzzle\(s\)\.$",
|
||||
r"^Found 0 puzzle\(s\)\.$",
|
||||
r"-+$",
|
||||
],
|
||||
re.MULTILINE | re.DOTALL
|
||||
|
|
@ -1514,7 +1514,7 @@ class TestPuzzles(CommandTest):
|
|||
r"^.*key: stone$",
|
||||
r"^.*key: flint$",
|
||||
r"^-+$",
|
||||
r"^1 puzzle\(s\)\.$",
|
||||
r"^Found 1 puzzle\(s\)\.$",
|
||||
r"^-+$",
|
||||
],
|
||||
re.MULTILINE | re.DOTALL
|
||||
|
|
@ -1530,7 +1530,7 @@ class TestPuzzles(CommandTest):
|
|||
[
|
||||
r"^-+$",
|
||||
r"^-+$",
|
||||
r"^0 armed puzzle\(s\)\.$",
|
||||
r"^Found 0 armed puzzle\(s\)\.$",
|
||||
r"^-+$"
|
||||
],
|
||||
re.MULTILINE | re.DOTALL
|
||||
|
|
@ -1550,7 +1550,7 @@ class TestPuzzles(CommandTest):
|
|||
r"^Puzzle name: makefire$",
|
||||
r"^.*stone.* at \s+ Room.*$",
|
||||
r"^.*flint.* at \s+ Room.*$",
|
||||
r"^1 armed puzzle\(s\)\.$",
|
||||
r"^Found 1 armed puzzle\(s\)\.$",
|
||||
r"^-+$",
|
||||
],
|
||||
re.MULTILINE | re.DOTALL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue