public void pickUp(String object, ArrayList<String> inv) {
        if (object.equalsIgnoreCase("floor")) {
            System.out.println("You can't pick up the floor...\n");
        } else if (object.equalsIgnoreCase("wall") || object.equalsIgnoreCase("walls")) {
            System.out.println("You can't pick up the walls...\n");
        } else if (object.equalsIgnoreCase("door")) {
            System.out.println("You can't pick up the door...\n");
        } else if (object.equalsIgnoreCase("telephone") || object.equalsIgnoreCase("phone")) {
            System.out.println("You pick up the telephone and hold it against your ear. You think you can hear a soft humming noise coming \n" +
                    "from the other end, but you are not sure. What do you say?\n");
            phone();
        } else if (object.equalsIgnoreCase("cord")) {
            System.out.println("You pull at the cord, but it won't give.\n");
        } else {
            System.out.println("You want to pick up what?\n");
        }
    }