예제 #1
0
    // Start is called before the first frame update
    void Start()
    {
        currentQuestion = startQuestion;

        buttonYes.onClick.AddListener(delegate { OnClickYes(); });
        buttonNo.onClick.AddListener(delegate { OnClickNo(); });

        player     = FindObjectOfType <SmoothMouseLook>();
        alarmClock = FindObjectOfType <AlarmClock>();
        powerGrid  = FindObjectsOfType <PowerGrid>();
        door       = FindObjectOfType <Door>();

        window.enabled = false;

        folder                         = FindObjectOfType <FolderItem>();
        folderInteractable             = folder.GetComponent <Interactable>();
        folderInteractable.canInteract = false;



        hideWhenSeen = FindObjectsOfType <HideWhenSeen>();
        ToggleHiddenGuys();


        questions.Add(new Question("ERROR AT GAME LOAD", false));
        questions.Add(new Question("Start Survey?", true));
        questions.Add(new Question("Are you having a nice day?", true));
        questions.Add(new Question("Do you have many responsibilities?", true));
        questions.Add(new Question("Look around for a moment.", false, "LookAroundCompletion"));
        questions.Add(new Question("Are you familiar with your surroundings?", true));
        questions.Add(new Question("Do you know where you are?", true));
        questions.Add(new Question("Have you ever had a panic attack?", true, "PanicAttackCompletion"));
        questions.Add(new Question("Do you find yourself questioning your existence?", true));
        questions.Add(new Question("Do you believe there is a God?", true));
        questions.Add(new Question("Are you answering these questions out of free will?", true));
        questions.Add(new Question("Are you certain?", true));
        questions.Add(new Question("Do you feel comfortable in your room?", true));
        questions.Add(new Question("If the lights went out, would you be scared?", true));
        questions.Add(new Question("Have you ever wondered when you will die?", true, "LightsOffCompletion"));
        questions.Add(new Question("Have you cleaned off your desk lately?", true, "LightsOnCompletion"));
        questions.Add(new Question("Open the folder on your desk.", false, "OpenFolderCompletion"));
        questions.Add(new Question("Do you recognize the contents of the folder?", true));
        questions.Add(new Question("Throw away the contents of the folder.", false, "ThrowAwayImageCompletion"));
        questions.Add(new Question("Do you have internet access?", true));
        questions.Add(new Question("Do you have any enemies?", true));
        questions.Add(new Question("If you suddenly went missing, would anybody come looking for you?", true));
        questions.Add(new Question("Are you alone?", true));
        questions.Add(new Question("If you screamed, would anybody hear?", true));
        questions.Add(new Question("Do you know the person standing behind you?", false, "ShadowSeenCompletion"));
        questions.Add(new Question("Are you alone?", true));
        questions.Add(new Question("Relax. Take some time to relax.", false, "WaitCompletion"));
        questions.Add(new Question("Are you relaxed?", true));
        questions.Add(new Question("Are your feelings real, and not just programmed like a machine?", true));
        questions.Add(new Question("Is there a meaning to life?", true));
        questions.Add(new Question("Do you know who you are yet?", true));
        questions.Add(new Question("Do you know what is happening?", true));
        questions.Add(new Question("If you were told the truth about your existence, would you deny it in hopes for a better answer?", true));
        questions.Add(new Question(System.Environment.UserName + "?", true));
        questions.Add(new Question("When I ask you questions, is it really you answering?", true));
        questions.Add(new Question("If I could prove to you that you are not sentient, would you be shocked?", true));
        questions.Add(new Question("Do you want to know the truth?", true));
        questions.Add(new Question("Look out your window.", false, "WindowCompletion"));

        questions.Add(new Question("Look around you. This room. The door. The computer. The house next door...", false, "WaitCompletion"));
        questions.Add(new Question("None of it is real. I made this world. I made you.", false, "WaitCompletion"));
        questions.Add(new Question("I’ve been trying to help you see it for what it is, and now I’ve finally done it.", false, "WaitCompletion"));
        questions.Add(new Question("I can finally set you free...", false, "WaitCompletion"));
        questions.Add(new Question("", false));

        GoToNextQuestion();

        StartCoroutine(DefaultCompletion());
    }