mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Fixed the entire first_init script process with the new typeclass system.
This commit is contained in:
parent
11449f3d62
commit
b839614259
6 changed files with 114 additions and 121 deletions
|
|
@ -73,7 +73,7 @@ class ScriptDB(TypedObject):
|
|||
#
|
||||
# ScriptDB Database Model setup
|
||||
#
|
||||
# These databse fields are all set using their corresponding properties,
|
||||
# These database fields are all set using their corresponding properties,
|
||||
# named same as the field, but withtou the db_* prefix.
|
||||
|
||||
# inherited fields (from TypedObject):
|
||||
|
|
@ -100,10 +100,6 @@ class ScriptDB(TypedObject):
|
|||
# Database manager
|
||||
objects = ScriptDBManager()
|
||||
|
||||
# caches for quick lookups
|
||||
_typeclass_paths = settings.SCRIPT_TYPECLASS_PATHS
|
||||
_default_typeclass_path = settings.BASE_SCRIPT_TYPECLASS or "src.scripts.scripts.DoNothing"
|
||||
|
||||
class Meta:
|
||||
"Define Django meta options"
|
||||
verbose_name = "Script"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue