minor stuff

This commit is contained in:
Amber 2024-01-12 23:35:04 -06:00
parent 8e074bdb98
commit 9e56ba1fcc
5 changed files with 19 additions and 3 deletions

View File

@ -46,6 +46,20 @@ class CmdMeow(Command):
self.caller.msg(f"You meowed at {target.key}!")
target.msg(f"You got meowed at by {self.caller.key}!")
class CmdBark(Command):
key = 'bark'
def func(self):
args = self.args.strip()
if not args:
self.caller.msg("Who or what would you like to bark at?")
return
target = self.caller.search(args)
if not target:
return
self.caller.msg(f"You barked at {target.key}!")
target.msg(f"You got barked at by {self.caller.key}!")
# -------------------------------------------------------------

View File

@ -12,4 +12,4 @@ class SetSpeciesCatkin(CmdSet):
class SetSpeciesDogkin(CmdSet):
def at_cmdset_creation(self):
self.add(cmd.CmdMeow())
self.add(cmd.CmdBark())

View File

@ -182,6 +182,8 @@ class SetEncounterSpecial(CmdSet):
self.add(CmdFlee)
self.add(CmdOOC)
self.add(CmdPose)
self.add(CmdKiss)
self.add(CmdBite)
# Encounter-related character commands

View File

@ -25,7 +25,7 @@ class Character(ClothedCharacter):
self.cmdset.add(SPECIES_CMDSET[self.db.species])
def revoke_encounter_cmdset(self):
self.cmdset.remove(SPECIES_CMDSET[self.db.species])
# self.cmdset.remove(SPECIES_CMDSET[self.db.species])
self.cmdset.remove(SetEncounterSpecial)
pass

View File

@ -15,5 +15,5 @@ SPECIES_LIST = [
SPECIES_CMDSET = [
SetSpeciesHuman,
SetSpeciesCatkin,
SetSpeciesDogkin
SetSpeciesDogkin,
]