def __call__(self, args):
        if self.local.name == "Entrance" and args[0].lower() == "north":
            self.local.description = "You are in the Entrance.\n" "The Cave is to the north."
        if self.local.name == "Cave" and args[0].lower() == "east":
            self.local.description = (
                "You are in the Cave.\n" "The Corridor is to the east and the Entrance is to the south."
            )
        if self.local.name == "Corridor" and args[0].lower() == "up":
            self.local.description = (
                "You are in the Corridor.\n"
                "The Cave is to the east and the sign will tell "
                "you where the next room is."
            )
        if self.local.name == "Hallway" and self._controller.hasitem("Key") and args[0].lower() == "east":
            self.local.description = (
                "You are in the Hallway.\n"
                "Below you is the Corridor and east of you is the door."
                "You can also see a box here."
            )

        if self.local.name == "Vault" and not getstatus(self.local, "gate_closed") and args[0].lower() == "south":
            self.local.description = (
                "Here is a button and a gate that leads to the south.\n "
                "To open the gate, you must push the button.\n "
                "To press the button and open the gate, simply type 'push button'.\n"
                "Go ahead and try it now."
            )
            return Go.__call__(self, args)
        if self.local.name == "Study" and not getstatus(self.local, "portal_closed"):
            self.local.description = (
                "You are in the Study.\n"
                "You see a portal to the west and a Wizard here.\n"
                "The Vault is to the north."
            )
            return Go.__call__(self, args)
        return Go.__call__(self, args)
 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 __init__(self, local, controller):
     Go.__init__(self, local, controller)
 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"