class OverDrop(general.CmdDrop):
key = "drop"
lock = "cmd:all()"
def func(self):
if self.caller.db.conscious and (self.caller.db.alive or self.caller.db.touch):
super(OverDrop, self).func()
else:
self.caller.msg("You can't do that while unconscious")
Comments