chainsol

Untitled

Jul 18th, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class OverDrop(general.CmdDrop):
  2.     key = "drop"
  3.     lock = "cmd:all()"
  4.     def func(self):
  5.         if self.caller.db.conscious and (self.caller.db.alive or self.caller.db.touch):
  6.             super(OverDrop, self).func()
  7.         else:
  8.             self.caller.msg("You can't do that while unconscious")
Advertisement
Add Comment
Please, Sign In to add comment