void OnEnable()
 {
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.CollectionGoal
     };
     QuestGiver_ID    = "Bird-0";
     QuestName        = "Test Quest";
     QuestDescription = "This is a test for a collection goal";
     QuestStartPoint  = null;
     QuestTurnInPoint = transform.parent;
     QuestReward      = null;
     QuestStatus      = false;
     QuestGoal.Add(new CollectionGoal(this, "Bird", "Bird", false, "testItem", 0, 2));
     QuestGoal.ForEach(g => g.Init());
     MustTurnInToComplete = true;
 }
 void OnEnable()
 {
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.CollectionGoal
     };
     QuestGiver_ID    = "Bird-0";
     QuestName        = "Bird's Last Journal Entry";
     QuestDescription = "This journal is bird sized so it's very hard to read anything in it..." +
                        "However the handwriting on this last page doesn't look like it was written by a bird..." +
                        "It looks like theres some initials M & C...";
     QuestStartPoint  = ObjectFinder.BirdTransform;
     QuestTurnInPoint = ObjectFinder.CarlTransform;
     QuestTurnInPoint.GetComponent <QuestGiver>().hasDisocveredSecretDialogue = true;
     QuestReward = null;
     QuestStatus = false;//change this to false once you figure out the collection goal bug
     QuestGoal.Add(new CollectionGoal(this, "Bird_Book", "Carl", false, "Bird_Book", 0, 1));
 }
 void Start()
 {
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.DiscoveryGoal
     };
     QuestGiver_ID    = null;
     QuestName        = "Explore The Island";
     QuestDescription = "You've finally arrived to this remote isle after being urgently " +
                        "called to help fix a 'very important system'. Explore the island!";
     QuestStartPoint  = null;
     QuestTurnInPoint = null;
     QuestReward      = null;//You can talk to Pers now.
     QuestStatus      = false;
     QuestGoal.Add(new DiscoveryGoal(this, false, 0, 15, "island"));
     QuestGoal.ForEach(g => g.Init());
     StartCoroutine(LateStart());
 }
示例#4
0
 void OnEnable()
 {
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.ConversationGoal
     };
     QuestGiver_ID    = "Ip-0";
     QuestName        = "Let Ed Know Youre Here";
     QuestDescription = "Find and speak with Ed. " +
                        "You've just met Ip, a caretaker of the isle." +
                        " Ip said his brother, Ed, was the one who called you " +
                        "and he should be on the Templ's right side, next to the herd.";
     QuestStartPoint  = transform.parent;
     QuestTurnInPoint = ObjectFinder.EdTransform;
     QuestReward      = null;
     QuestStatus      = true;                                                  //QuestStatus is true, you just need to turn in the Quest
     QuestGoal.Add(new ConversationGoal(this, "Ip", "Ed", false, 0, 1, "Ed")); //Completed is false, you need to turn in the Quest to complete it
     QuestGoal.ForEach(g => g.Init());
 }
 void OnEnable()
 {
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.CollectionGoal,
     };
     QuestGiver_ID    = "Eyeguard-0";
     QuestName        = "Need Those Spells!!";
     QuestDescription = "There's gotta be a way around the Eyeguard's tricks...";
     QuestStartPoint  = null;
     QuestTurnInPoint = GameObject.Find("Eyeguard").transform;
     QuestReward      = null;
     QuestStatus      = false;
     QuestGoal.Add(new CollectionGoal(this, null, null, false, "ElementalTome", 0, 4));
     //QuestGoal.Add(new CollectionGoal(this, null, null, false, "EarthTome", 0, 1));
     //QuestGoal.Add(new CollectionGoal(this, null, null, false, "FireTome", 0, 1));
     //QuestGoal.Add(new CollectionGoal(this, null, null, false, "WaterTome", 0, 1));
     QuestGoal.ForEach(g => g.Init());
 }
 void OnEnable()
 {
     GameObject.FindWithTag("Cauldron").GetComponent <Cauldron>().CanCook = true;
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.CollectionGoal
     };
     QuestGiver_ID    = "Carl-0";
     QuestName        = "His Endless Body";
     QuestDescription = "Seems Ip's brother, Carl, is having a bad trip. " +
                        "Ironically the only thing that can save him is more shrooms." +
                        "Carl more or less asked you to find some nearby mushrooms and make" +
                        "a detox tea with them using his cauldron. ";
     QuestStartPoint  = transform.parent;
     QuestTurnInPoint = transform.parent;
     QuestReward      = null;
     QuestStatus      = false;
     QuestGoal.Add(new CollectionGoal(this, "Carl", "Carl", false, "Eternity Potion", 0, 1));
     QuestGoal.ForEach(g => g.Init());
 }
示例#7
0
 void OnEnable()
 {
     Quest_ID  = QuestCollectionCounter.AssignQuestID();
     QuestType = new QuestType[]
     {
         global::QuestType.CollectionGoal,
         global::QuestType.CollectionGoal
     };
     QuestGiver_ID    = "Ed-0";
     QuestName        = "Fix The Fence";
     QuestDescription = "Ed was the one who called you here urgently. " +
                        "He knows a computer programmer sure oughtta be able to fix a fence." +
                        "Gather the wood and hammer and get it over with so you can get off this island." +
                        "Ed said his brother, Ip, usually 'borrows' his hammer. Ip will probably have some wood too.";
     QuestStartPoint  = transform.parent;
     QuestTurnInPoint = transform.parent;
     //QuestReward = GameObject.Find("EdHammer");//can choose a weapon off of his weapon rack
     QuestReward = null;
     QuestStatus = false;
     QuestGoal.Add(new CollectionGoal(this, "Ed", "Ed", false, "Wood", 0, 2));     //wood
     QuestGoal.Add(new CollectionGoal(this, "Ed", "Ed", false, "EdHammer", 0, 1)); //hammer
     QuestGoal.ForEach(g => g.Init());
 }