View difference between Paste ID: 7jpsLU0E and CVwd0039
SHOW: | | - or go back to the newest paste.
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)):
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")