0.8.0 port
This commit is contained in:
parent
5922ee5bbb
commit
67fecbe3fc
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ from evennia import DefaultExit
|
||||||
from evennia.commands.default.muxcommand import MuxCommand
|
from evennia.commands.default.muxcommand import MuxCommand
|
||||||
from evennia.utils.utils import inherits_from
|
from evennia.utils.utils import inherits_from
|
||||||
from evennia.utils import search, utils, logger
|
from evennia.utils import search, utils, logger
|
||||||
from evennia.utils.spawner import spawn
|
from evennia.prototypes.spawner import spawn
|
||||||
|
|
||||||
# Tag used by puzzles
|
# Tag used by puzzles
|
||||||
_PUZZLES_TAG_CATEGORY = 'puzzles'
|
_PUZZLES_TAG_CATEGORY = 'puzzles'
|
||||||
|
|
@ -100,6 +100,7 @@ def proto_def(obj, with_tags=True):
|
||||||
"""
|
"""
|
||||||
protodef = {
|
protodef = {
|
||||||
# FIXME: Don't we need to honor ALL properties? attributes, contents, etc.
|
# FIXME: Don't we need to honor ALL properties? attributes, contents, etc.
|
||||||
|
'prototype_key': '%s(%s)' % (obj.key, obj.dbref),
|
||||||
'key': obj.key,
|
'key': obj.key,
|
||||||
'typeclass': obj.typeclass_path,
|
'typeclass': obj.typeclass_path,
|
||||||
'desc': obj.db.desc,
|
'desc': obj.db.desc,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue