def __call__(self,args): if args: if self.framework.getstatus(self.local, "shot_stone") and args[0].lower() == 'north': return "Voce desceu o desfiladeiro e pode avancar\n" + Go.function(self,args) return "You cant go in this direction"
def function(self, args): if args: if self.framework.getstatus(self.local, "pull_lever") and args[0].lower() == 'east': return Go.function(self,args) return "You cant go in this direction"