Ejemplo n.º 1
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
Ejemplo n.º 2
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())
Ejemplo n.º 3
0
 def test_cmdextendeddesc(self):
     self.call(extended_room.CmdExtendedDesc(),
               "",
               "Details on Room",
               cmdstring="@detail")
     self.call(extended_room.CmdExtendedDesc(),
               "thingie = newdetail with spaces",
               "Set Detail thingie to 'newdetail with spaces'.",
               cmdstring="@detail")
     self.call(extended_room.CmdExtendedDesc(),
               "thingie",
               "Detail 'thingie' on Room:\n",
               cmdstring="@detail")
     self.call(extended_room.CmdExtendedDesc(),
               "/del thingie",
               "Detail thingie deleted, if it existed.",
               cmdstring="@detail")
     self.call(extended_room.CmdExtendedDesc(),
               "thingie",
               "Detail 'thingie' not found.",
               cmdstring="@detail")
     self.call(extended_room.CmdExtendedDesc(), "", "Descriptions on Room:")