public String pickUp(Room room)
  {
    if(room instanceof ItemRoom)
    {
      ItemRoom ir = (ItemRoom) room;
      boolean bool = true;
      for(int i = 0; i < 6 && bool; i++)
      {
        if(inv[i] == null)
        {
          inv[i] = ir.getItem();
          this.lastSlotUsed = i;
          bool = false;
          return "You have picked up the " + inv[i].getName();
        }

        if(i == 5)//it didnt find an empty slot
        {
          return "Your inventory is full. You cannot bear to carry a bigger burden.";   
        }
      }
    }
    return "There is Nothing to Pick Up";
  }