示例#1
0
 def test_cmdextendedlook(self):
     self.call(extended_room.CmdExtendedLook(), "here",
               "Room(#1)\n%s" % self.SPRING_DESC)
     self.call(extended_room.CmdExtendedLook(), "testdetail",
               self.DETAIL_DESC)
     self.call(extended_room.CmdExtendedLook(), "nonexistent",
               "Could not find 'nonexistent'.")
示例#2
0
 def at_cmdset_creation(self):
     """
     Populates the cmdset
     """
     super(CharacterCmdSet, self).at_cmdset_creation()
     #
     # any commands you add below will overload the default ones.
     #
     self.add(gendersub.SetGender())  # Setting Gender
     self.add(slow_exit.CmdSetSpeed())  # Slow exit movement speed
     self.add(slow_exit.CmdStop())  # Slow exit movement stop
     self.add(dice.CmdDice())  # Dice Roller
     self.add(CmdMultiDesc())  # Multidescriptor
     self.add(simpledoor.CmdOpen())  # Simple Doors
     self.add(simpledoor.CmdOpenCloseDoor())  # Simple Doors
     self.add(extended_room.CmdExtendedLook())  # Extended Room
     self.add(extended_room.CmdExtendedDesc())  # Extended Room
     self.add(extended_room.CmdGameTime())  # Extended Room
     self.add(CmdMobOnOff())  # Apply command mobon / moboff
示例#3
0
 def at_cmdset_creation(self):
     """
     Populates the cmdset
     """
     super(AccountCmdSet, self).at_cmdset_creation()
     #
     # any commands you add below will overload the default ones.
     #
     self.add(extended_room.CmdExtendedLook())
     self.add(extended_room.CmdExtendedDesc())
     self.add(extended_room.CmdGameTime())
     self.add(multidescer.CmdMultiDesc())
     self.add(wixxx.CmdWixxx())
     self.add(editaccount.CmdEditAccount())
     self.add(icooc.goIC())
     self.add(icooc.goOOC())
     self.add(who.cmdPlusWho())
     self.add(atmail.CmdMail())
     self.add(spoof.CmdSpoof())
     self.add(ooc.CmdOOC())
     self.add(smell.CmdSmell())
     self.add(morph.CmdMorph())