예제 #1
0
    def at_cmdset_creation(self):
        """Populates the cmdset"""

        # Account-specific commands
        # self.add(account.CmdOOCLook())
        # self.add(account.CmdIC())
        # self.add(account.CmdOOC())
        # self.add(account.CmdCharCreate())
        # self.add(account.CmdCharDelete())
        # self.add(account.CmdSessions())
        # self.add(account.CmdWho())
        # self.add(account.CmdOption())
        self.add(account.CmdQuit())
        # self.add(account.CmdPassword())
        # self.add(account.CmdColorTest())
        self.add(account.CmdQuell())
        # self.add(account.CmdStyle())

        # nicks
        # self.add(general.CmdNick())

        # testing
        self.add(building.CmdExamine())

        # Help command
        self.add(help.CmdHelp())

        # system commands
        self.add(system.CmdReload())
        self.add(system.CmdReset())
        self.add(system.CmdShutdown())
        self.add(system.CmdPy())

        # Admin commands
        self.add(admin.CmdNewPassword())
예제 #2
0
 def add_default_commands(self):
     """Add selected Evennia built-in commands"""
     from evennia.commands.default import (account, building, system, admin,
                                           comms)
     # Player-specific commands
     self.add(account.CmdOOCLook())
     self.add(account.CmdIC())
     self.add(account.CmdOOC())
     self.add(account.CmdOption())
     self.add(account.CmdQuit())
     self.add(account.CmdPassword())
     self.add(account.CmdColorTest())
     self.add(account.CmdQuell())
     self.add(building.CmdExamine())
     # system commands
     self.add(system.CmdReset())
     self.add(system.CmdShutdown())
     self.add(system.CmdPy())
     # Admin commands
     self.add(admin.CmdDelAccount())
     self.add(admin.CmdNewPassword())
     # Comm commands
     self.add(comms.CmdAddCom())
     self.add(comms.CmdDelCom())
     self.add(comms.CmdCemit())
     self.add(comms.CmdIRC2Chan())
     self.add(comms.CmdRSS2Chan())
예제 #3
0
    def at_cmdset_creation(self):
        "Populates the cmdset"

        # Player-specific commands
        self.add(player.CmdOOCLook())
        self.add(player.CmdIC())
        self.add(player.CmdOOC())
        self.add(player.CmdCharCreate())
        self.add(player.CmdCharDelete())
        #self.add(player.CmdSessions())
        self.add(player.CmdWho())
        self.add(player.CmdOption())
        self.add(player.CmdQuit())
        self.add(player.CmdPassword())
        self.add(player.CmdColorTest())
        self.add(player.CmdQuell())

        # testing
        self.add(building.CmdExamine())

        # Help command
        self.add(help.CmdHelp())

        # system commands
        self.add(system.CmdReload())
        self.add(system.CmdReset())
        self.add(system.CmdShutdown())
        self.add(system.CmdPy())

        # Admin commands
        self.add(admin.CmdDelPlayer())
        self.add(admin.CmdNewPassword())
예제 #4
0
    def at_cmdset_creation(self):
        "Populates the cmdset"

        # Account-specific commands
        self.add(account.CmdOOCLook())
        self.add(account.CmdIC())
        self.add(account.CmdOOC())
        self.add(account.CmdCharCreate())
        self.add(account.CmdCharDelete())
        # self.add(account.CmdSessions())
        self.add(account.CmdWho())
        self.add(account.CmdOption())
        self.add(account.CmdQuit())
        self.add(account.CmdPassword())
        self.add(account.CmdColorTest())
        self.add(account.CmdQuell())
        self.add(account.CmdStyle())

        # nicks
        self.add(general.CmdNick())

        # testing
        self.add(building.CmdExamine())

        # Help command
        self.add(help.CmdHelp())

        # system commands
        self.add(system.CmdReload())
        self.add(system.CmdReset())
        self.add(system.CmdShutdown())
        self.add(system.CmdPy())

        # Admin commands
        self.add(admin.CmdNewPassword())

        # Comm commands
        self.add(comms.CmdAddCom())
        self.add(comms.CmdDelCom())
        self.add(comms.CmdAllCom())
        self.add(comms.CmdChannels())
        self.add(comms.CmdCdestroy())
        self.add(comms.CmdChannelCreate())
        self.add(comms.CmdClock())
        self.add(comms.CmdCBoot())
        self.add(comms.CmdCemit())
        self.add(comms.CmdCWho())
        self.add(comms.CmdCdesc())
        self.add(comms.CmdPage())
        self.add(comms.CmdIRC2Chan())
        self.add(comms.CmdIRCStatus())
        self.add(comms.CmdRSS2Chan())
        self.add(comms.CmdGrapevine2Chan())
예제 #5
0
파일: player.py 프로젝트: Cloudxtreme/cMUD
    def at_cmdset_creation(self):

        # Player OOC commands
        self.add(CmdOOCLook())
        self.add(player.CmdIC())
        self.add(player.CmdOOC())
        self.add(player.CmdCharCreate())

        # Player-specific commands
        self.add(player.CmdWho())
        self.add(player.CmdOption())
        self.add(player.CmdQuit())
        self.add(player.CmdPassword())
        self.add(player.CmdColorTest())
        self.add(player.CmdQuell())

        # testing
        self.add(building.CmdExamine())

        # Help command
        self.add(help.CmdHelp())

        # system commands
        self.add(system.CmdReload())
        self.add(system.CmdReset())
        self.add(system.CmdShutdown())
        self.add(system.CmdPy())

        # Admin commands
        self.add(admin.CmdDelPlayer())
        self.add(admin.CmdNewPassword())

        # Comm commands
        self.add(comms.CmdAddCom())
        self.add(comms.CmdDelCom())
        self.add(comms.CmdAllCom())
        self.add(comms.CmdChannels())
        self.add(comms.CmdCdestroy())
        self.add(comms.CmdChannelCreate())
        self.add(comms.CmdClock())
        self.add(comms.CmdCBoot())
        self.add(comms.CmdCemit())
        self.add(comms.CmdCWho())
        self.add(comms.CmdCdesc())
        self.add(comms.CmdPage())
        self.add(comms.CmdIRC2Chan())
        self.add(comms.CmdRSS2Chan())