Guest User

Untitled

a guest
Jul 18th, 2017
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. class OverDrop(general.CmdDrop):
  2. key = "drop"
  3. lock = "cmd:all()"
  4. def func(self):
  5. if((self.caller.db.conscious == 1 and self.caller.db.alive == 1) or (self.caller.db.conscious == 1 and self.caller.db.touch == 1)):
  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