mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 00:06:30 +01:00
Allow for changing the home location of new characters by changing a setting. The given location must exist and is given as a dbref. If one wants more advanced control over start locations, one needs to customize the unloggedin/create command to match the particular game. Resolves issue 178.
This commit is contained in:
parent
2059fd9701
commit
16affc284b
5 changed files with 9 additions and 7 deletions
|
|
@ -197,6 +197,11 @@ BASE_CHARACTER_TYPECLASS = "game.gamesrc.objects.baseobjects.Character"
|
|||
BASE_ROOM_TYPECLASS = "game.gamesrc.objects.baseobjects.Room"
|
||||
# Typeclass for Exit objects (fallback)
|
||||
BASE_EXIT_TYPECLASS = "game.gamesrc.objects.baseobjects.Exit"
|
||||
# The home location for new characters. This must be a unique
|
||||
# dbref (default is Limbo #2). If you want more advanced control over
|
||||
# start locations, copy the "create" command from
|
||||
# src/commands/default/unloggedin.py and customize.
|
||||
CHARACTER_DEFAULT_HOME = "2"
|
||||
|
||||
###################################################
|
||||
# Batch processors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue