Ejemplo n.º 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.

        Note that it can also take other cmdsets as arguments, which will
        be used by the character default cmdset to add all of these onto
        the internal cmdset stack. They will then be able to removed or
        replaced as needed.
        """
        self.add(overrides.CmdInventory())
        self.add(default_general.CmdNick())
        self.add(default_general.CmdAccess())
        self.add(rolling.CmdDiceString())
        self.add(rolling.CmdDiceCheck())
        self.add(rolling.CmdSpoofCheck())
        self.add(general.CmdBriefMode())
        self.add(general.CmdTidyUp())
        self.add(extended_room.CmdGameTime())
        self.add(extended_room.CmdStudyRawAnsi())
        self.add(xp.CmdVoteXP())
        self.add(social.CmdPosebreak())
        self.add(social.CmdSocialScore())
        self.add(social.CmdFavor())
        self.add(overrides.SystemNoMatch())
Ejemplo n.º 2
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.

        Note that it can also take other cmdsets as arguments, which will
        be used by the character default cmdset to add all of these onto
        the internal cmdset stack. They will then be able to removed or
        replaced as needed.
        """
        self.add(overrides.CmdInventory())
        self.add(default_general.CmdNick())
        self.add(default_general.CmdAccess())
        self.add(rolling.CmdDiceString())
        self.add(rolling.CmdDiceCheck())
        self.add(rolling.CmdOldSpoofCheck())
        self.add(check_commands.CmdStatCheck())
        self.add(check_commands.CmdHarm())
        self.add(check_commands.CmdSpoofCheck())
        self.add(general.CmdBriefMode())
        self.add(general.CmdTidyUp())
        self.add(extended_room.CmdGameTime())
        self.add(extended_room.CmdSetGameTimescale())
        self.add(extended_room.CmdStudyRawAnsi())
        self.add(xp.CmdVoteXP())
        self.add(social.CmdPosebreak())
        self.add(social.CmdSocialNotable())
        self.add(social.CmdSocialNominate())
        self.add(social.CmdSocialReview())
        # self.add(social.CmdFavor())  #when enabled, please re-add "favor" to random_rp_command_keys in CmdRandomScene
        self.add(overrides.SystemNoMatch())
        self.add(weather_commands.CmdAdminWeather())
        self.add(roster.CmdPropriety())

        # Exploration!
        self.add(exploration_commands.CmdExplorationCmdSet())