Example #1
0
    def at_cmdset_creation(self):
        """
        This is the only method defined in a cmdset, called during
        its creation. It should populate the set with command instances.

        As and example we just add the empty base `Command` object.
        It prints some info.
        """
        super(SessionCmdSet, self).at_cmdset_creation()
        #
        # any commands you add below will overload the default ones.
        #
        self.add(CmdTeleportExample())
        self.add(CmdScryExample())
        self.add(Kill())
        self.add(Heal())
        self.add(SpiritDesc())
        self.add(CmdFind())
        self.add(CmdFaster())
        self.add(CmdSlower())
        self.add(CmdSetSpeed())
        self.add(CmdAttack())
        self.add(FooBar())
        self.add(Sheet())
        self.add(Image())
	self.add(Wield())
	self.add(OverLook())
        self.add(OverInventory())
	self.add(OverSay())
	self.add(OverGet())
	self.add(OverDrop())
	self.add(OverGive())
	self.add(OverPose())
	self.add(OverWhisper())
	self.add(CmdSpell())
        self.add(CmdCast())
        self.add(CmdLastBreath())
        self.add(CmdSight())
        self.add(CmdReach())
        self.add(CmdExorcise())
        self.add(CmdSummon())
        self.add(CmdInflict())
        self.add(CmdInvis())
        self.add(CmdBless())
        self.add(CmdHex())
        self.add(CmdCurse())
        self.add(CmdEnchant())
        self.add(CmdUse())
        self.add(CmdFate())
        self.add(CmdAstro())
        self.add(CmdDeathTouch())
        self.add(CmdDrain())
        self.add(CmdIntimidate())
        self.add(CmdBan())
        self.add(CmdKinetic())
        self.add(CmdPush())
        self.add(CmdRace())
        self.add(CmdStrike())
        self.add(CmdStop())
Example #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(CmdSetSpeed())
	self.add(OverLook())
	self.add(OverInventory())
	self.add(OverSay())
	self.add(OverDrop())
	self.add(OverGet())
	self.add(OverGive())
	self.add(OverPose())
	self.add(OverWhisper())
Example #3
0
    def at_cmdset_creation(self):
        """
        This is the only method defined in a cmdset, called during
        its creation. It should populate the set with command instances.

        As and example we just add the empty base `Command` object.
        It prints some info.
        """
        super(SessionCmdSet, self).at_cmdset_creation()
        #
        # any commands you add below will overload the default ones.
        #
        self.add(CmdTeleportExample())
        self.add(CmdScryExample())
        self.add(CmdMakeItExample())
        self.add(Kill())
        self.add(Heal())
        self.add(SpiritDesc())
        self.add(CmdFind())
        self.add(CmdFaster())
        self.add(CmdSlower())
        self.add(CmdSetSpeed())
        self.add(CmdAttr())
        self.add(CmdAttack())
        self.add(FooBar())
        self.add(Sheet())
        self.add(Image())
	self.add(Wield())
	self.add(OverLook())
        self.add(OverInventory())
	self.add(OverSay())
	self.add(OverGet())
	self.add(OverDrop())
	self.add(OverGive())
	self.add(OverPose())
	self.add(OverWhisper())
	self.add(CmdSpell())
        self.add(CmdCast())