Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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")
Advertisement
Add Comment
Please, Sign In to add comment