public static QuestDescription GetQuestDescription(QuestCodex.QuestID p_enID) { QuestDescription xQD = null; if (p_enID == QuestCodex.QuestID._MainQuest_FirstVillage_FindApples) { xQD = new QuestDescription(); xQD.sQuestName = "Fighting for Freedom"; xQD.sSummary = "The old fart in your village wants you to kill some monsters in the mountains."; xQD.iIntendedLevel = 10; xQD.enType = QuestDescription.QuestType.KillMany; ExpItemReward knark = new ExpItemReward(1000); knark.AddItem(ItemCodex.ItemTypes.Apple, 100); knark.AddItem(ItemCodex.ItemTypes.Carrot, 45); xQD.xReward = knark; } else if (p_enID == QuestCodex.QuestID._MainQuest_FirstVillage_GearUp) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "RoadToTheCityName"); xQD.sSummary = CAS.GetLibraryText("Quests", "RoadToTheCitySummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "RoadToTheCityDescription"); xQD.iIntendedLevel = 3; xQD.enType = QuestDescription.QuestType.Main; ExpItemReward knark2 = new ExpItemReward(4); xQD.xReward = knark2; } else if (p_enID == QuestCodex.QuestID._MainQuest_SkyTemple_GetToSkyTemple) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "TheAncientTempleName"); string sSummaryID = "TheAncientTempleSummary"; string sDescriptionID = "TheAncientTempleDescription"; if (Program.game.xGameSessionData.henActiveFlags.Contains(FlagCodex.FlagID._MainStory_FlyingTemple_PukeUpTheThang)) { sSummaryID = "TheAncientTempleSummary_Update"; sDescriptionID = "TheAncientTempleDescription_Update"; } xQD.sSummary = CAS.GetLibraryText("Quests", sSummaryID); xQD.sDescription = CAS.GetLibraryText("Quests", sDescriptionID); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Main; SkillPointReward knark3 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark3; } else if (p_enID == QuestCodex.QuestID._MainQuest_PumpkinWoods_GhostHunt) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "GhostHuntName"); string sSummaryID2 = "GhostHuntSummary"; string sDescriptionID2 = "GhostHuntDescription"; xQD.sSummary = CAS.GetLibraryText("Quests", sSummaryID2); xQD.sDescription = CAS.GetLibraryText("Quests", sDescriptionID2); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Main; SkillPointReward knark4 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark4; } else if (p_enID == QuestCodex.QuestID._MainQuest_PostSkyTemple_MarinoAmulet) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "MarinoAmuletName"); string sSummaryID3 = "MarinoAmuletSummary"; string sDescriptionID3 = "MarinoAmuletDescription"; xQD.sSummary = CAS.GetLibraryText("Quests", sSummaryID3); xQD.sDescription = CAS.GetLibraryText("Quests", sDescriptionID3); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Main; ExpItemReward knark5 = new ExpItemReward(12); xQD.xReward = knark5; } else if (p_enID == QuestCodex.QuestID._MainQuest_SeasonTemple_MainArc) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "TheFrozenFairytaleName"); string sSummaryID4 = "TheFrozenFairytaleSummary"; string sDescriptionID4 = "TheFrozenFairytaleDescription"; xQD.sSummary = CAS.GetLibraryText("Quests", sSummaryID4); xQD.sDescription = CAS.GetLibraryText("Quests", sDescriptionID4); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Main; SkillPointReward knark6 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark6; } else if (p_enID == QuestCodex.QuestID._MainQuest_SeasonTemple_ToyFactoryQuest) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "DangerouslyFunName"); string sSummaryID5 = "DangerouslyFunSummary"; string sDescriptionID5 = "DangerouslyFunDescription"; xQD.sSummary = CAS.GetLibraryText("Quests", sSummaryID5); xQD.sDescription = CAS.GetLibraryText("Quests", sDescriptionID5); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Main; ExpItemReward knark7 = new ExpItemReward(20); xQD.xReward = knark7; } else if (p_enID == QuestCodex.QuestID._SideQuest_SlimeAndRing) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "SlimeAndRingName"); xQD.sSummary = CAS.GetLibraryText("Quests", "SlimeAndRingSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "SlimeAndRingDescription"); xQD.iIntendedLevel = 5; xQD.enType = QuestDescription.QuestType.Collect; ExpItemReward knark8 = new ExpItemReward(6); knark8.AddItem(ItemCodex.ItemTypes._Accessory_SlimeRing, 1); xQD.xReward = knark8; } else if (p_enID == QuestCodex.QuestID._SideQuest_CookingWitchCandy) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "CookingWitchCandyName"); xQD.sSummary = CAS.GetLibraryText("Quests", "CookingWitchCandySummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "CookingWitchCandyDescription"); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Collect; SkillPointReward knark9 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark9; } else if (p_enID == QuestCodex.QuestID._SideQuest_ForOldTimes) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ForOldTimesName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ForOldTimesSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ForOldTimesDescription"); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Deliver; ExpItemReward knark10 = new ExpItemReward(6); knark10.AddItem(ItemCodex.ItemTypes._Armor_KnittedShirt, 1); xQD.xReward = knark10; } else if (p_enID == QuestCodex.QuestID._SideQuest_PumpkinInspection) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "PumpkinInspectionName"); xQD.sSummary = CAS.GetLibraryText("Quests", "PumpkinInspectionSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "PumpkinInspectionDescription"); xQD.iIntendedLevel = 12; xQD.enType = QuestDescription.QuestType.KillMany; ExpItemReward knark11 = new ExpItemReward(12); knark11.AddItem(ItemCodex.ItemTypes._Consumable_SpeedPotion, 3); xQD.xReward = knark11; } else if (p_enID == QuestCodex.QuestID._SideQuest_StartingtonChickenCatcher) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ChickenChaserName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ChickenChaserSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ChickenChaserDescription"); xQD.iIntendedLevel = 7; xQD.enType = QuestDescription.QuestType.Deliver; ExpItemReward knark12 = new ExpItemReward(6); knark12.AddItem(ItemCodex.ItemTypes._Hat_ChickenHat, 1); xQD.xReward = knark12; } else if (p_enID == QuestCodex.QuestID._SideQuest_EvergrindFieldsCarrotSword) { xQD = new QuestDescription(); xQD.sQuestName = "Sword in the Stump"; xQD.sSummary = "A weird impulse is compelling you to gather carrots and place them on a stump."; xQD.sDescription = "The {c=name}tree stump{/} in the middle of the {c=location}eastern Evergrind Fields{/} looks like it could fit {c=item}twenty carrots{/} perfectly! You're not sure exactly why it's such a good idea, but it really seems like one!"; xQD.iIntendedLevel = 10; xQD.enType = QuestDescription.QuestType.Collect; ExpItemReward knark13 = new ExpItemReward(10); knark13.AddItem(ItemCodex.ItemTypes._OneHanded_CarrotSword, 1); xQD.xReward = knark13; } else if (p_enID == QuestCodex.QuestID._SideQuest_ChickenSavior) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ChickenSaviorName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ChickenSaviorSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ChickenSaviorDescription"); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Collect; SkillPointReward knark14 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark14; } else if (p_enID == QuestCodex.QuestID._SideQuest_PoorThanksgiving) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "BirthdayDinnerName"); xQD.sSummary = CAS.GetLibraryText("Quests", "BirthdayDinnerSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "BirthdayDinnerDescription"); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Collect; SkillPointReward knark15 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark15; } else if (p_enID == QuestCodex.QuestID._SideQuest_BeatsByWyl) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ChickenSaviorName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ChickenSaviorSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ChickenSaviorDescription"); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Collect; SkillPointReward knark16 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark16; } else if (p_enID == QuestCodex.QuestID._SideQuest_TheLonelyScarecrow) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ChickenSaviorName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ChickenSaviorSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ChickenSaviorDescription"); xQD.iIntendedLevel = 6; xQD.enType = QuestDescription.QuestType.Collect; SkillPointReward knark17 = new SkillPointReward(SkillPointReward.SkillPointType.Talent); xQD.xReward = knark17; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_FindCarpenterHammer) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ToolsForTheJobName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ToolsForTheJobSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ToolsForTheJobDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TownUpgradeReward knark18 = new TownUpgradeReward(ItemCodex.ItemTypes._RogueLikeArcadiaReward_NoticeBoard); xQD.xReward = knark18; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_FindStonecutterMaterials) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "ByTheStonesName"); xQD.sSummary = CAS.GetLibraryText("Quests", "ByTheStonesSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "ByTheStonesDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TownUpgradeReward knark19 = new TownUpgradeReward(ItemCodex.ItemTypes._RogueLikeArcadiaReward_StatueObtained); xQD.xReward = knark19; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_GiantsEssenceForPlott) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "GiantForTheTrialName"); xQD.sSummary = CAS.GetLibraryText("Quests", "GiantForTheTrialSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "GiantForTheTrialDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TransferrableItemReward knark20 = new TransferrableItemReward(); knark20.AddItem(ItemCodex.ItemTypes._Misc_Furniture_GigaSlimeBeanbag, 1); xQD.xReward = knark20; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_HalloweedPollenForGardener) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "SeedyBusinessName"); xQD.sSummary = CAS.GetLibraryText("Quests", "SeedyBusinessSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "SeedyBusinessDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TownUpgradeReward knark21 = new TownUpgradeReward(ItemCodex.ItemTypes._RogueLikeArcadiaReward_BloomoFound); xQD.xReward = knark21; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_GrindeaChallenge01) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "WithEvenOddsName"); xQD.sSummary = CAS.GetLibraryText("Quests", "WithEvenOddsSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "WithEvenOddsDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TransferrableItemReward knark22 = new TransferrableItemReward(); knark22.AddItem(ItemCodex.ItemTypes._KeyItem_RoguelikeEssence, 5); xQD.xReward = knark22; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_GrindeaChallenge02) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "WhatYouveGotName"); xQD.sSummary = CAS.GetLibraryText("Quests", "WhatYouveGotSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "WhatYouveGotDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TransferrableItemReward knark23 = new TransferrableItemReward(); knark23.AddItem(ItemCodex.ItemTypes._KeyItem_RoguelikeEssence, 15); xQD.xReward = knark23; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_ButterflyCatcher) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "FlyYouFoolName"); xQD.sSummary = CAS.GetLibraryText("Quests", "FlyYouFoolSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "FlyYouFoolDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Collect; TransferrableItemReward knark24 = new TransferrableItemReward(); knark24.AddItem(ItemCodex.ItemTypes._Usable_ButterflySummoner, 1); xQD.xReward = knark24; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_OldmanRedGigaSlime) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "TheRedKingName"); xQD.sSummary = CAS.GetLibraryText("Quests", "TheRedKingSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "TheRedKingDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Kill; TransferrableItemReward knark25 = new TransferrableItemReward(); knark25.AddItem(ItemCodex.ItemTypes._Misc_Furniture_SlimeCarpet, 1); xQD.xReward = knark25; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_HaddockRedFishQuest) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "FishingArcadeName"); xQD.sSummary = CAS.GetLibraryText("Quests", "FishingArcadeSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "FishingArcadeDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Collect; TransferrableItemReward knark26 = new TransferrableItemReward(); knark26.AddItem(ItemCodex.ItemTypes._Misc_Furniture_FishDisplay, 1); xQD.xReward = knark26; } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_BartenderFluQuest) { xQD = new QuestDescription(); xQD.sQuestName = CAS.GetLibraryText("Quests", "SickOnTheJobName"); xQD.sSummary = CAS.GetLibraryText("Quests", "SickOnTheJobSummary"); xQD.sDescription = CAS.GetLibraryText("Quests", "SickOnTheJobDescription"); xQD.iIntendedLevel = 4; xQD.enType = QuestDescription.QuestType.Collect; TransferrableItemReward knark27 = new TransferrableItemReward(); knark27.AddItem(ItemCodex.ItemTypes._Misc_Furniture_BeerBarrel, 1); xQD.xReward = knark27; } return xQD; }
public static Quest GetQuestInstance(QuestCodex.QuestID p_enID) { Quest xQ = new Quest(); xQ.xDescription = QuestCodex.GetQuestDescription(p_enID); xQ.enQuestID = p_enID; if (p_enID == QuestCodex.QuestID._MainQuest_FirstVillage_FindApples) { xQ.lxObjectives.Add(new Objective_KillEnemies(EnemyCodex.EnemyTypes.GreenSlime, 15, "Kill {1} {c=enemy}Green Slimes{/} around {c=location}The Mountains{/}. {c=enemy}({0}/{1}){/}")); xQ.lxObjectives.Add(new Objective_KillEnemies(EnemyCodex.EnemyTypes.Rabbi, 10, "Kill {1} {c=enemy}Rabbis{/} around {c=location}The Mountains{/}. {c=enemy}({0}/{1}){/}")); xQ.lxObjectives.Add(new Objective_KillEnemies(EnemyCodex.EnemyTypes.Bee, 5, "Kill {1} {c=enemy}Mr. Bees{/} around {c=location}The Mountains{/}. {c=enemy}({0}/{1}){/}")); xQ.lxObjectives.Add(new Objective_KillEnemies(EnemyCodex.EnemyTypes.Blomma, 1, "Kill {1} {c=enemy}Bloomi{/} around {c=location}The Mountains{/}. {c=enemy}({0}/{1}){/}")); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_GrandPaJoe, "Report back to {c=name}Grandpa Joe{/} outside {c=location}your house{/}.", "Talk to {c=name}Grandpa Joe{/}")); xQ.liObjectiveGroups.Add(4); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._MainQuest_FirstVillage_GearUp) { xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._OneHanded_WoodenSword, 1, CAS.GetLibraryText("Quests", "RoadToTheCityObjective01"), false)); xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Shield_WoodenShield, 1, CAS.GetLibraryText("Quests", "RoadToTheCityObjective02"), false)); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_GrandPaJoe, CAS.GetLibraryText("Quests", "RoadToTheCityObjective03"), CAS.GetLibraryText("Quests", "RoadToTheCityObjective03Short"))); xQ.lxObjectives.Add(new Objective_VisitPlace(Level.ZoneEnum.EvergrindFields_East, CAS.GetLibraryText("Quests", "RoadToTheCityObjective04"), CAS.GetLibraryText("Quests", "RoadToTheCityObjective04Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._GetTo_GetToTheCity, CAS.GetLibraryText("Quests", "RoadToTheCityObjective05"), CAS.GetLibraryText("Quests", "RoadToTheCityObjective05Short"))); xQ.liObjectiveGroups.Add(2); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._MainQuest_SkyTemple_GetToSkyTemple) { xQ.lxObjectives.Add(new Objective_VisitPlace(Level.ZoneEnum.HalloweenForestWest, CAS.GetLibraryText("Quests", "TheAncientTempleObjective01"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective01Short"))); xQ.lxObjectives.Add(new Objective_VisitPlace(Level.ZoneEnum.FlyingTempleEntrance, CAS.GetLibraryText("Quests", "TheAncientTempleObjective02"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective02"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_PlaceTheTeleport, CAS.GetLibraryText("Quests", "TheAncientTempleObjective03"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective03Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_ActivateFlyingFortress, CAS.GetLibraryText("Quests", "TheAncientTempleObjective04"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective04"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_OpenFlyingFortressBossDoor, CAS.GetLibraryText("Quests", "TheAncientTempleObjective05"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective05Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_DefeatGundam, CAS.GetLibraryText("Quests", "TheAncientTempleObjective06"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective06"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Quinton, CAS.GetLibraryText("Quests", "TheAncientTempleObjective07"), CAS.GetLibraryText("Quests", "TheAncientTempleObjective07"))); xQ.liObjectiveGroups.Add(3); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.bHideNextObjectiveGroups = true; } else if (p_enID == QuestCodex.QuestID._MainQuest_PumpkinWoods_GhostHunt) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_HoodedManPumpkinWoods, CAS.GetLibraryText("Quests", "GhostHuntObjective01"), CAS.GetLibraryText("Quests", "GhostHuntObjective01"))); xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_EternalFlame, 1, CAS.GetLibraryText("Quests", "GhostHuntObjective02"), true)); xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_GhastlyVeil, 1, CAS.GetLibraryText("Quests", "GhostHuntObjective03"), true)); xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_LastStraw, 1, CAS.GetLibraryText("Quests", "GhostHuntObjective04"), true)); xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_SeedOfDoubt, 1, CAS.GetLibraryText("Quests", "GhostHuntObjective05"), true)); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_HoodedManPumpkinWoods, CAS.GetLibraryText("Quests", "GhostHuntObjective06"), CAS.GetLibraryText("Quests", "GhostHuntObjective06"))); xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_RootOfEvil, 1, CAS.GetLibraryText("Quests", "GhostHuntObjective07"), true)); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_HoodedManPumpkinWoods, CAS.GetLibraryText("Quests", "GhostHuntObjective08"), CAS.GetLibraryText("Quests", "GhostHuntObjective08"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(4); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.bHideNextObjectiveGroups = true; } else if (p_enID == QuestCodex.QuestID._MainQuest_PostSkyTemple_MarinoAmulet) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_ChaseMarinoEvergrind, CAS.GetLibraryText("Quests", "MarinoAmuletObjective01"), CAS.GetLibraryText("Quests", "MarinoAmuletObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_ChaseMarinoSouth, CAS.GetLibraryText("Quests", "MarinoAmuletObjective02"), CAS.GetLibraryText("Quests", "MarinoAmuletObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_DefeatMarino, CAS.GetLibraryText("Quests", "MarinoAmuletObjective03"), CAS.GetLibraryText("Quests", "MarinoAmuletObjective03Short"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.bHideNextObjectiveGroups = true; } else if (p_enID == QuestCodex.QuestID._MainQuest_SeasonTemple_MainArc) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_FindSantaFaeEntrance, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective01"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective01"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_FindEssenceOfSpring, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective02"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective02"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_OpenSantaFaePath, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective03"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective03"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_GetIntoSantaFae, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective04"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective04"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_DefeatAutumnElder, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective05"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective05"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_DefeatSeasonArtifact, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective06"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective06"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Father, CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective07"), CAS.GetLibraryText("Quests", "TheFrozenFairytaleObjective07"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.bHideNextObjectiveGroups = true; } else if (p_enID == QuestCodex.QuestID._MainQuest_SeasonTemple_ToyFactoryQuest) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_ChaseFrostlingsOutOfToyFactory, CAS.GetLibraryText("Quests", "DangerouslyFunObjective01"), CAS.GetLibraryText("Quests", "DangerouslyFunObjective01"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_MrsClaus, CAS.GetLibraryText("Quests", "DangerouslyFunObjective02"), CAS.GetLibraryText("Quests", "DangerouslyFunObjective02"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.bHideNextObjectiveGroups = false; } else if (p_enID == QuestCodex.QuestID._SideQuest_SlimeAndRing) { xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_SlimeRing, 1, CAS.GetLibraryText("Quests", "SlimeAndRingObjective01"), true)); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Bella, CAS.GetLibraryText("Quests", "SlimeAndRingObjective02"), CAS.GetLibraryText("Quests", "SlimeAndRingObjective02Short"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_CookingWitchCandy) { xQ.lenRelevantZones.Add(Level.ZoneEnum.HalloweenForestWest); xQ.lenRelevantZones.Add(Level.ZoneEnum.HalloweenForestEast); xQ.lenRelevantZones.Add(Level.ZoneEnum.FirstPillarMountainMid); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_PumpkinMeat, 25, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Honey, 5, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective02"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Ectoplasm, 2, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective03"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Candy, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective04"), CAS.GetLibraryText("Quests", "CookingWitchCandyObjective04Short"), new QuestObjective[] { xQ.lxObjectives[0], xQ.lxObjectives[1], xQ.lxObjectives[2] })); xQ.liObjectiveGroups.Add(4); } else if (p_enID == QuestCodex.QuestID._SideQuest_ForOldTimes) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_GrandPaJoe, CAS.GetLibraryText("Quests", "ForOldTimesObjective01"), CAS.GetLibraryText("Quests", "ForOldTimesObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_MrsPidgy, CAS.GetLibraryText("Quests", "ForOldTimesObjective02"), CAS.GetLibraryText("Quests", "ForOldTimesObjective02Short"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_PumpkinInspection) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Alchemist, CAS.GetLibraryText("Quests", "PumpkinInspectionObjective01"), CAS.GetLibraryText("Quests", "PumpkinInspectionObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Pumpkin_AlchemistSample01, CAS.GetLibraryText("Quests", "PumpkinInspectionObjective02"), CAS.GetLibraryText("Quests", "PumpkinInspectionObjective02Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Pumpkin_AlchemistSample02, CAS.GetLibraryText("Quests", "PumpkinInspectionObjective03"), CAS.GetLibraryText("Quests", "PumpkinInspectionObjective03Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Alchemist, CAS.GetLibraryText("Quests", "PumpkinInspectionObjective04"), CAS.GetLibraryText("Quests", "PumpkinInspectionObjective04Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Pumpkin_AlchemistSample03, CAS.GetLibraryText("Quests", "PumpkinInspectionObjective05"), CAS.GetLibraryText("Quests", "PumpkinInspectionObjective05Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Alchemist, CAS.GetLibraryText("Quests", "PumpkinInspectionObjective06"), CAS.GetLibraryText("Quests", "PumpkinInspectionObjective06Short"))); xQ.liObjectiveGroups.Add(3); xQ.liObjectiveGroups.Add(2); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_StartingtonChickenCatcher) { xQ.lxObjectives.Add(new Objective_GenericCounting(5, 0, CAS.GetLibraryText("Quests", "ChickenChaserObjective01"), CAS.GetLibraryText("Quests", "ChickenChaserObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_StartingtonGirl, CAS.GetLibraryText("Quests", "ChickenChaserObjective02"), CAS.GetLibraryText("Quests", "ChickenChaserObjective02"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_ChickenSavior) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._DoStuff_SaveChicken, CAS.GetLibraryText("Quests", "ChickenSaviorObjective01"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_FarmerGirl, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_PoorThanksgiving) { xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Turkey, 2, CAS.GetLibraryText("Quests", "BirthdayDinnerObjective01"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_PoorMom, CAS.GetLibraryText("Quests", "BirthdayDinnerObjective02"), CAS.GetLibraryText("Quests", "BirthdayDinnerObjective02"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_BeatsByWyl) { xQ.lxObjectives.Add(new Objective_GenericCounting(100, 1, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Anne, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._SideQuest_TheLonelyScarecrow) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Alchemist, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Tusk, 5, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes.Carrot, 10, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Alchemist, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Scarecrow, CAS.GetLibraryText("Quests", "ChickenSaviorObjective01"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Candy, CAS.GetLibraryText("Quests", "ChickenSaviorObjective01"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective01Short"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Hay, 4, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Root, 2, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_PumpkinSeeds, 5, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Candy, CAS.GetLibraryText("Quests", "ChickenSaviorObjective01"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Scarecrow, CAS.GetLibraryText("Quests", "ChickenSaviorObjective01"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective01Short"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_LabGuy, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_IcyGoo, 10, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_Pinecone, 10, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_OwnItems(ItemCodex.ItemTypes._Misc_YetiFur, 4, CAS.GetLibraryText("Quests", "CookingWitchCandyObjective01"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_LabGuy, CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective02"))); xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._TalkTo_Scarecrow, CAS.GetLibraryText("Quests", "ChickenSaviorObjective01"), CAS.GetLibraryText("Quests", "ChickenSaviorObjective01Short"))); xQ.bHideNextObjectiveGroups = true; xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(2); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(3); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(3); xQ.liObjectiveGroups.Add(1); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_FindCarpenterHammer) { xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_CarpenterHammer, 1, CAS.GetLibraryText("Quests", "ToolsForTheJobObjective01"), false)); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_FindStonecutterMaterials) { xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_StonecutterMaterials, 1, CAS.GetLibraryText("Quests", "ByTheStonesObjective01"), false)); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_GiantsEssenceForPlott) { xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_GiantSlimeEssence, 1, CAS.GetLibraryText("Quests", "GiantForTheTrialObjective01"), false)); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_HalloweedPollenForGardener) { xQ.lxObjectives.Add(new Objective_FindItems(ItemCodex.ItemTypes._Special_BloomoSeed, 1, CAS.GetLibraryText("Quests", "SeedyBusinessObjective01"), false)); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_GrindeaChallenge01) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Arcade_ReachThirdFloor, CAS.GetLibraryText("Quests", "WithEvenOddsObjective01"), CAS.GetLibraryText("Quests", "WithEvenOddsObjective01"))); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_GrindeaChallenge02) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Arcade_ReachFifthFloor, CAS.GetLibraryText("Quests", "WhatYouveGotObjective01"), CAS.GetLibraryText("Quests", "WhatYouveGotObjective01"))); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_ButterflyCatcher) { xQ.lxObjectives.Add(new Objective_RogueLikeTimer(18000, CAS.GetLibraryText("Quests", "FlyYouFoolObjective01"), CAS.GetLibraryText("Quests", "FlyYouFoolObjective01"), CAS.GetLibraryText("Quests", "FlyYouFoolObjective01Failed"), CAS.GetLibraryText("Quests", "FlyYouFoolObjective01Failed"))); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_OldmanRedGigaSlime) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Arcade_RedGigaSlimeDefeated, CAS.GetLibraryText("Quests", "TheRedKingObjective01"), CAS.GetLibraryText("Quests", "TheRedKingObjective01"))); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_HaddockRedFishQuest) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Arcade_RedFish, CAS.GetLibraryText("Quests", "FishingArcadeObjective01"), CAS.GetLibraryText("Quests", "FishingArcadeObjective01"))); xQ.liObjectiveGroups.Add(1); } else if (p_enID == QuestCodex.QuestID._RogueLikeQuest_BartenderFluQuest) { xQ.lxObjectives.Add(new Objective_SpecialObjective(Objective_SpecialObjective.UniqueID._Arcade_NurseFluShot, CAS.GetLibraryText("Quests", "SickOnTheJobObjective01"), CAS.GetLibraryText("Quests", "SickOnTheJobObjective01"))); xQ.liObjectiveGroups.Add(1); } xQ.xReward = xQ.xDescription.xReward; return xQ; }