mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Removed deprecated Attribute methods from evennia distro. Removed MUX help files.
This commit is contained in:
parent
9620867031
commit
8bd431b385
13 changed files with 47 additions and 65 deletions
|
|
@ -72,8 +72,8 @@ def create_objects():
|
|||
god_character.permissions.add("Immortals")
|
||||
|
||||
god_character.save()
|
||||
god_player.set_attribute("_first_login", True)
|
||||
god_player.set_attribute("_last_puppet", god_character)
|
||||
god_player.attributes.add("_first_login", True)
|
||||
god_player.attributes.add("_last_puppet", god_character)
|
||||
god_player.db._playable_characters.append(god_character)
|
||||
|
||||
# Limbo is the default "nowhere" starting room
|
||||
|
|
@ -138,17 +138,6 @@ def create_channels():
|
|||
PlayerChannelConnection.objects.create_connection(goduser, ichan)
|
||||
PlayerChannelConnection.objects.create_connection(goduser, cchan)
|
||||
|
||||
def import_MUX_help_files():
|
||||
"""
|
||||
Imports the MUX help files.
|
||||
"""
|
||||
print " Importing MUX help database (devel reference only) ..."
|
||||
management.call_command('loaddata', '../src/help/mux_help_db.json', verbosity=0)
|
||||
# categorize the MUX help files into its own category.
|
||||
default_category = "MUX"
|
||||
print " Moving imported help db to help category '%(default)s'." % {'default': default_category}
|
||||
HelpEntry.objects.all_to_category(default_category)
|
||||
|
||||
def create_system_scripts():
|
||||
"""
|
||||
Setup the system repeat scripts. They are automatically started
|
||||
|
|
@ -266,16 +255,10 @@ def handle_setup(last_step):
|
|||
create_system_scripts,
|
||||
start_game_time,
|
||||
create_admin_media_links,
|
||||
import_MUX_help_files,
|
||||
at_initial_setup,
|
||||
reset_server
|
||||
]
|
||||
|
||||
if not settings.IMPORT_MUX_HELP:
|
||||
# skip importing of the MUX helpfiles, they are
|
||||
# not interesting except for developers.
|
||||
del setup_queue[-3]
|
||||
|
||||
#print " Initial setup: %s steps." % (len(setup_queue))
|
||||
|
||||
# step through queue, from last completed function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue