""" This module ties together all the commands of the default command set. """ from src.commands.cmdset import CmdSet from src.commands.default import general, help, admin, system from src.commands.default import utils, comms, building from src.commands.default import batchprocess class DefaultCmdSet(CmdSet): """ Implements the default command set. """ key = "DefaultMUX" def at_cmdset_creation(self): "Populates the cmdset" # The general commands self.add(general.CmdLook()) self.add(general.CmdHome()) self.add(general.CmdPassword()) self.add(general.CmdInventory()) self.add(general.CmdQuit()) self.add(general.CmdPose()) self.add(general.CmdNick()) self.add(general.CmdGet()) self.add(general.CmdDrop()) self.add(general.CmdWho()) self.add(general.CmdSay()) self.add(general.CmdAccess()) self.add(general.CmdEncoding()) # The help system self.add(help.CmdHelp()) self.add(help.CmdSetHelp()) # System commands self.add(system.CmdReload()) self.add(system.CmdPy()) self.add(system.CmdScripts()) self.add(system.CmdObjects()) self.add(system.CmdService()) self.add(system.CmdShutdown()) self.add(system.CmdVersion()) self.add(system.CmdTime()) self.add(system.CmdServerLoad()) self.add(system.CmdPs()) # Admin commands self.add(admin.CmdBoot()) self.add(admin.CmdDelPlayer()) self.add(admin.CmdEmit()) self.add(admin.CmdNewPassword()) self.add(admin.CmdPerm()) self.add(admin.CmdPuppet()) self.add(admin.CmdWall()) # Building and world manipulation self.add(building.CmdTeleport()) self.add(building.CmdSetObjAlias()) self.add(building.CmdListCmdSets()) self.add(building.CmdDebug()) self.add(building.CmdWipe()) self.add(building.CmdSetAttribute()) self.add(building.CmdName()) self.add(building.CmdDesc()) #self.add(building.CmdCpAttr()) #TODO - need testing/debugging #self.add(building.CmdMvAttr()) #TODO - need testing/debugging self.add(building.CmdFind()) self.add(building.CmdCopy()) #TODO - need testing/debugging self.add(building.CmdOpen()) self.add(building.CmdLink()) self.add(building.CmdUnLink()) self.add(building.CmdCreate()) self.add(building.CmdDig()) self.add(building.CmdDestroy()) self.add(building.CmdExamine()) self.add(building.CmdTypeclass()) self.add(building.CmdLock()) self.add(building.CmdScript()) self.add(building.CmdHome()) # Comm commands self.add(comms.CmdAddCom()) self.add(comms.CmdDelCom()) self.add(comms.CmdChannels()) self.add(comms.CmdCdestroy()) self.add(comms.CmdChannelCreate()) self.add(comms.CmdCdesc()) self.add(comms.CmdPage()) self.add(comms.CmdIRC2Chan()) self.add(comms.CmdIMC2Chan()) # Batchprocessor commands self.add(batchprocess.CmdBatchCommands()) self.add(batchprocess.CmdBatchCode()) # Testing/Utility commands self.add(utils.CmdTest()) #self.add(utils.CmdTestPerms()) self.add(utils.TestCom())