mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 21:47:17 +02:00
Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path.
This commit is contained in:
parent
72bdc3b37f
commit
6e5de7847a
7 changed files with 170 additions and 12 deletions
|
|
@ -248,7 +248,7 @@ SCRIPT_TYPECLASS_PATHS = ["game.gamesrc.scripts",
|
|||
"game.gamesrc.scripts.examples",
|
||||
"contrib"]
|
||||
PLAYER_TYPECLASS_PATHS = ["game.gamesrc.objects", "contrib"]
|
||||
COMM_TYPECLASS_PATHS = ["game.gamesrc.objects", "contrib"]
|
||||
CHANNEL_TYPECLASS_PATHS = ["game.gamesrc.conf", "contrib"]
|
||||
|
||||
# Typeclass for player objects (linked to a character) (fallback)
|
||||
BASE_PLAYER_TYPECLASS = "src.players.player.Player"
|
||||
|
|
@ -260,8 +260,8 @@ BASE_CHARACTER_TYPECLASS = "src.objects.objects.Character"
|
|||
BASE_ROOM_TYPECLASS = "src.objects.objects.Room"
|
||||
# Typeclass for Exit objects (fallback).
|
||||
BASE_EXIT_TYPECLASS = "src.objects.objects.Exit"
|
||||
# Typeclass for Comms (fallback).
|
||||
BASE_COMM_TYPECLASS = "src.comms.comms.Comm"
|
||||
# Typeclass for Channel (fallback).
|
||||
BASE_CHANNEL_TYPECLASS = "src.comms.comms.Channel"
|
||||
# Typeclass for Scripts (fallback). You usually don't need to change this
|
||||
# but create custom variations of scripts on a per-case basis instead.
|
||||
BASE_SCRIPT_TYPECLASS = "src.scripts.scripts.DoNothing"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue