Make scripts/objects lists use EvMore. Change EvMore to not justify by default.
This commit is contained in:
parent
b5aee2c41e
commit
69d85bd184
221 changed files with 2190 additions and 6810 deletions
|
|
@ -97,19 +97,13 @@ class CmdOpen(default_cmds.CmdOpen):
|
|||
__doc__ = default_cmds.CmdOpen.__doc__
|
||||
# overloading parts of the default CmdOpen command to support doors.
|
||||
|
||||
def create_exit(
|
||||
self, exit_name, location, destination, exit_aliases=None, typeclass=None
|
||||
):
|
||||
def create_exit(self, exit_name, location, destination, exit_aliases=None, typeclass=None):
|
||||
"""
|
||||
Simple wrapper for the default CmdOpen.create_exit
|
||||
"""
|
||||
# create a new exit as normal
|
||||
new_exit = super().create_exit(
|
||||
exit_name,
|
||||
location,
|
||||
destination,
|
||||
exit_aliases=exit_aliases,
|
||||
typeclass=typeclass,
|
||||
exit_name, location, destination, exit_aliases=exit_aliases, typeclass=typeclass
|
||||
)
|
||||
if hasattr(self, "return_exit_already_created"):
|
||||
# we don't create a return exit if it was already created (because
|
||||
|
|
@ -124,11 +118,7 @@ class CmdOpen(default_cmds.CmdOpen):
|
|||
)
|
||||
self.return_exit_already_created = True
|
||||
back_exit = self.create_exit(
|
||||
exit_name,
|
||||
destination,
|
||||
location,
|
||||
exit_aliases=exit_aliases,
|
||||
typeclass=typeclass,
|
||||
exit_name, destination, location, exit_aliases=exit_aliases, typeclass=typeclass
|
||||
)
|
||||
new_exit.db.return_exit = back_exit
|
||||
back_exit.db.return_exit = new_exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue