Skip to content

Commit

Permalink
remove whistle command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiogaplanet committed May 3, 2022
1 parent 87126f5 commit 1b1e13a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
20 changes: 0 additions & 20 deletions commands/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,23 +186,3 @@ class Command(BaseCommand):
# self.character = self.caller.get_puppet(self.session)
# else:
# self.character = None


from evennia import default_cmds
class CmdWhistle(default_cmds.MuxCommand):
"""
Whistle a little tune.
Usage:
whistle
The character whistles a cheerful little tune.
"""

aliases = ["wh", "whi", "whis", "whist", "whistl"]

key = "whistle"

def func(self):
"This actually does things"
self.caller.msg("You whistle a cheerful tune.")
3 changes: 1 addition & 2 deletions commands/default_cmdsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"""


from evennia import default_cmds

from commands.command import CmdWhistle

class CharacterCmdSet(default_cmds.CharacterCmdSet):
"""
Expand All @@ -35,7 +35,6 @@ def at_cmdset_creation(self):
#
# any commands you add below will overload the default ones.
#
self.add(CmdWhistle())


class AccountCmdSet(default_cmds.AccountCmdSet):
Expand Down

0 comments on commit 1b1e13a

Please sign in to comment.