Exemplo n.º 1
0
        public override IDialogueResult GetDialogue(EventDiscussion e, int lastChoiceId)
        {
            IDialogueResult res = null;

            if (TutorialManager.S.GetProgression() == Progression.ETAHNIA_INTRO)
            {
                res = IntroKillEtahnia(e, lastChoiceId);
            }
            else
            {
                throw new ArgumentException("Invalid tutorial state " + TutorialManager.S.GetProgression());
            }
            IncreaseProgress();
            return(res);
        }
Exemplo n.º 2
0
        public IDialogueResult Defeat(EventDiscussion e, int lastChoiceId)
        {
            IDialogueResult res = null;

            if (_currProgress == 0)
            {
                res = new NormalDialogue(true, "My, I'm not sure what you were expecting with this one.", FacialExpression.SMILE, _knownName);
            }
            else if (_currProgress == 1)
            {
                res = new NormalDialogue(true, "I usually would try to give you a piece of advice but I don't have much to say when you are reckless like that.", FacialExpression.NEUTRAL, _knownName);
            }
            else if (_currProgress == 2)
            {
                res = new NormalDialogue(true, "Try to not threaten people when you have no mean of fighting back, I guess.", FacialExpression.SMILE, _knownName);
            }
            else
            {
                SceneManager.LoadScene(SceneManager.GetActiveScene().name);
            }

            IncreaseProgress();
            return(res);
        }