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 == 1 and self.caller.db.alive == 1) or (self.caller.db.conscious == 1 and self.caller.db.touch == 1)):
- super(OverDrop, self).func()
- else:
- self.caller.msg("You can't do that while unconscious")
Advertisement
Add Comment
Please, Sign In to add comment