void OnDayStart()
    {
        TutorialReactions.Clear();
        if (tutorial.GetPatron("Artie").QuestToCompleete == null)
        {
            tutorial.SetTimer(3f);
            firstPatron  = EnterMavis;
            secondPatron = EnterGaius;
            TutorialReactions.Add(Mediator.ActionIdentifiers.COUNTDOWN_ENDED, EnterGaius);
        }

        else
        {
            if (tutorial.GetPatron("Artie").QuestToCompleete.QuestName == "Emphasize Caution")
            {
                firstPatron  = EnterMavis;
                secondPatron = EnterGaius;
            }
            else
            {
                firstPatron  = EnterGaius;
                secondPatron = EnterMavis;
            }
        }


        TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, firstPatron);
    }
    void OnDayStart()
    {
        TutorialReactions.Clear();
        targetPatron = findReturningPatron();
        if (targetPatron.QuestToCompleete == null)
        {
            tutorial.SetTimer(3f);
            TutorialReactions.Add(Mediator.ActionIdentifiers.COUNTDOWN_ENDED, CorporealRoute);
        }

        else
        {
            if (targetPatron.QuestToCompleete.QuestName == "Disclose the College's Request")
            {
                routeToGo = CorporealRoute;
            }
            else
            {
                routeToGo = CollegeRoute;
            }
        }


        TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, routeToGo);
    }
    void OnDayStart()
    {
        TutorialReactions.Clear();
        targetQuest = FindQuest();
        if (targetQuest == null)
        {
            tutorial.SetTimer(3f);
            TutorialReactions.Add(Mediator.ActionIdentifiers.COUNTDOWN_ENDED, CorporealRoute);
        }

        else
        {
            if (targetQuest.QuestName == "Support the Corporeal" || targetQuest.QuestName == "Aid the Corporeal")
            {
                routeToGo = CorporealRoute;
            }
            else
            {
                routeToGo = CollegeRoute;
            }
        }


        TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, routeToGo);
    }
Esempio n. 4
0
 void ArtieComesInForQuest()
 {
     tutorial.forcePatronIntoBarToSitAt("Artie", 2);
     tutorial.forceSeatToHaveSpecificJob(2, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.MAP_OPEN, OpenMap);
 }
Esempio n. 5
0
 void GaiusReturns()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Gaius", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterDeidre);
 }
Esempio n. 6
0
 void EnterDeidre()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Deidre Downton", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EndDay);
 }
Esempio n. 7
0
 void KickGaiusOut()
 {
     TutorialReactions.Clear();
     tutorial.forceSeatToHaveSpecificJob(0, Patron.whatDoTheyWantToDo.GOHOME);
     //tutorial.ResetBarState();
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterHoraceAndArtie);
 }
 private void EnterMavis()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Mavis Hullbrook", 2);
     tutorial.forceSeatToHaveSpecificJob(2, Patron.whatDoTheyWantToDo.RUMOR);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterTheGang);
 }
Esempio n. 9
0
 void ByeJim()
 {
     tutorial.ResetBarState();
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.GOHOME);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EndDay);
 }
Esempio n. 10
0
 void JimExplainsQuests()
 {
     tutorial.invokeJimAtSeatNumber(1);
     tutorial.forceSeatToHaveSpecificConversation(1, "After Sending Deidre");
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.CONVERSATION_ENDED, ByeAgainJim);
 }
Esempio n. 11
0
 void AcceptedRumor() //THIS HAS BEEN SKIPPED FOR NOW
 {
     TutorialReactions.Clear();
     //NOTE: I'm using the dialogue for this instead
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.GOHOME);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, ByeJim);
 }
Esempio n. 12
0
 void LeaveJimLeave()
 {
     tutorial.ResetBarState();
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.GOHOME);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, ArtieComesInForQuest);
 }
 private void BringBackMavis()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Mavis Hullbrook", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterNellAndArtie);
 }
    void OnDayStart()
    {
        TutorialReactions.Clear();
        targetPatron = findReturningPatron();
        if (targetPatron.QuestToCompleete == null)
        {
            tutorial.SetTimer(3f);
            TutorialReactions.Add(Mediator.ActionIdentifiers.COUNTDOWN_ENDED, CorporealRoute);
        }

        else
        {
            //if you chose the quest that favored the Corporeal, have Mavis come in
            //if you chose the quest that favored the College, have Gaius come
            if (targetPatron.QuestToCompleete.QuestName == "Return it")
            {
                //patronToCall = "Mavis";
                routeToGo = CorporealRoute;
            }
            else
            {
                //patronToCall = "Gaius";
                routeToGo = CollegeRoute;
            }

            TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, routeToGo);
        }
    }
Esempio n. 15
0
 public Day1Task4(Tutorial tutorial) : base(tutorial)
 {
     tutorial.forcePatronIntoBarToSitAt("Old Man Horace", 2);
     tutorial.forceSeatToHaveSpecificJob(2, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.DRINK_SERVED, ServeCorrectDrink);
 }
 void EnterArtie()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Artie", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterHoraceAndNell);
 }
 public Day1Task2(Tutorial tutorial) : base(tutorial)
 {
     tutorial.forcePatronIntoBarToSitAt("Deidre Downton", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, GoHome);
 }
Esempio n. 18
0
 void JimAgain()
 {
     tutorial.invokeJimAtSeatNumber(1);
     tutorial.forceSeatToHaveSpecificConversation(1, "EndDay1");
     tutorial.ResetBarState();
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.CONVERSATION_ENDED, ByeJim);
 }
Esempio n. 19
0
 void OnEarthquakeEnd() //Honestly, this method shouldn't be called. Instead, "EarthquakeRumor" should be called
 {
     TutorialReactions.Clear();
     tutorial.stopShakingCamera();
     tutorial.ResetBarState();
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR); //When the earthquake finishes, force Jim to give out your first rumor "The Commotion"
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, ByeJim);   //This should be after you accept a rumor
 }
Esempio n. 20
0
 public Day1Task3(Tutorial tutorial) : base(tutorial)
 {
     TutorialReactions.Clear();
     tutorial.invokeJimAtSeatNumber(1);
     tutorial.forceSeatToHaveSpecificConversation(1, "Jim Explains Rumors");
     tutorial.ResetBarState();
     TutorialReactions.Add(Mediator.ActionIdentifiers.CONVERSATION_ENDED, LeaveJimLeave);
 }
Esempio n. 21
0
 void EnterGaius()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Gaius", 2);
     tutorial.forceSeatToHaveSpecificJob(2, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Add(Mediator.ActionIdentifiers.DRINK_SERVED, MakeSeat2Leave);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterDeidre);
 }
 void JimExplains()
 {
     tutorial.invokeJimAtSeatNumber(1);
     tutorial.ResetBarState();
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, ByeAgainJim);
 }
 private void EnterHorace()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Old Man Horace", 0);
     tutorial.forceSeatToHaveSpecificJob(0, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Add(Mediator.ActionIdentifiers.DRINK_SERVED, TellPatronToGo);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, BringBackMavis);
 }
 private void EnterGaius()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Gaius", 1); // Mavis
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Add(Mediator.ActionIdentifiers.DRINK_SERVED, TellPatronToGo);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterMavis);
 }
 void CollegeRoute()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Mavis Hullbrook", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Add(Mediator.ActionIdentifiers.CONVERSATION_ENDED, SendPatronHome);
     TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, EnterJim);
 }
Esempio n. 26
0
 public Day2Task2(Tutorial tutorial) : base(tutorial)
 {
     //For Nathan C: So, here's the issue: Jim needs to give his "Day 2 Intro"
     tutorial.forcePatronIntoBarToSitAt("Deidre Downton", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.MAP_OPEN, OpenMap);
 }
Esempio n. 27
0
 void ArtieEnter()
 {
     TutorialReactions.Clear();
     tutorial.forcePatronIntoBarToSitAt("Artie", 1);
     tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.ADVENTURE);
     TutorialReactions.Clear();
     TutorialReactions.Add(Mediator.ActionIdentifiers.DRINK_SERVED, ArtieExit);
 }
Esempio n. 28
0
    void OnDayBegin()
    {
        tutorial.invokeJimAtSeatNumber(1);                                          //Jim sits down at seat 1
        tutorial.forceSeatToHaveSpecificConversation(1, "Day 2 Intro");             //Jim gives a conversation
        tutorial.ResetBarState();

        TutorialReactions.Clear();
        TutorialReactions.Add(Mediator.ActionIdentifiers.CONVERSATION_ENDED, TriggerEarthquake);     // OnEarthquakeEnd  when the conversation ends, trigger the earthquake (CHANGE THIS TO "TriggerEarthquake")
    }
    private void EnterMavis()
    {
        TutorialReactions.Clear();
        tutorial.forcePatronIntoBarToSitAt("Mavis Hullbrook", 1);
        tutorial.forceSeatToHaveSpecificConversation(1, "Shaken, not Deterred");
        tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.RUMOR);

        TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, NellAndDeidreToEnter);
    }
Esempio n. 30
0
    void servedADragonbite()
    {
        TutorialReactions.Clear();

        tutorial.forceSpecificReactionFromSpecificPatron(JsonDialogueLoader.responceType.ABOUTTOLEAVE, 1, "Jim");
        tutorial.forceSeatToHaveSpecificJob(1, Patron.whatDoTheyWantToDo.GOHOME);

        TutorialReactions.Add(Mediator.ActionIdentifiers.PATRON_LEFT, WaitForJimToLeave);
    }