Made test running environment more robust and consistent.
This commit is contained in:
parent
b106e7418a
commit
52fa4dd60b
10 changed files with 291 additions and 172 deletions
|
|
@ -0,0 +1 @@
|
|||
from objects import DefaultObject, DefaultRoom, DefaultExit, DefaultCharacter
|
||||
|
|
@ -1217,10 +1217,10 @@ class DefaultObject(ObjectDB):
|
|||
else:
|
||||
things.append(key)
|
||||
# get description, build string
|
||||
string = "{c%s{n" % self.key
|
||||
string = "{c%s{n\n" % self.key
|
||||
desc = self.db.desc
|
||||
if desc:
|
||||
string += "\n %s" % desc
|
||||
string += "%s" % desc
|
||||
if exits:
|
||||
string += "\n{wExits:{n " + ", ".join(exits)
|
||||
if users or things:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue