Made a new version of create_object function, and made Objects creatable using o=Object().

This commit is contained in:
Griatch 2014-12-23 21:33:03 +01:00
parent 969b947ba0
commit 24764743ff
8 changed files with 858 additions and 1173 deletions

View file

@ -5,7 +5,7 @@ Player that are controlled by the server.
"""
from django.conf import settings
from src.players.player import Player
from src.players.player import DefaultPlayer
from src.scripts.scripts import Script
from src.commands.command import Command
from src.commands.cmdset import CmdSet
@ -87,7 +87,7 @@ class BotCmdSet(CmdSet):
# Bot base class
class Bot(Player):
class Bot(DefaultPlayer):
"""
A Bot will start itself when the server
starts (it will generally not do so