コード例 #1
0
 public QuestAcceptRenderComponent(Quest xQuest, ContentManager Content)
 {
     this.fAlpha = 0f;
     this.xQuest = xQuest;
     this.txNameLeft = Content.Load<Texture2D>("GUI/HUD/Quest/Get/questname_left");
     this.txNameMid = Content.Load<Texture2D>("GUI/HUD/Quest/Get/questname_mid");
     this.txNameRight = Content.Load<Texture2D>("GUI/HUD/Quest/Get/questname_right");
     this.txTop = Content.Load<Texture2D>("GUI/HUD/Quest/Get/top");
     this.txMid = Content.Load<Texture2D>("GUI/HUD/Quest/Get/mid");
     this.txBot = Content.Load<Texture2D>("GUI/HUD/Quest/Get/bottom");
     if (xQuest.xDescription.enType == QuestDescription.QuestType.Main)
     {
         this.txType = InGameMenu.txJournal_Quests_Icons_Main;
     }
     else if (xQuest.xDescription.enType == QuestDescription.QuestType.Collect)
     {
         this.txType = InGameMenu.txJournal_Quests_Icons_Collect;
     }
     else if (xQuest.xDescription.enType == QuestDescription.QuestType.Deliver)
     {
         this.txType = InGameMenu.txJournal_Quests_Icons_Delivery;
     }
     else if (xQuest.xDescription.enType == QuestDescription.QuestType.Kill)
     {
         this.txType = InGameMenu.txJournal_Quests_Icons_Bounty;
     }
     else if (xQuest.xDescription.enType == QuestDescription.QuestType.KillMany)
     {
         this.txType = InGameMenu.txJournal_Quests_Icons_Hunting;
     }
     else
     {
         this.txType = InGameMenu.txJournal_Quests_Icons_Main;
     }
     this.font = FontManager.Reg7;
     this.fontName = InGameMenu.fontItemSorting;
     this.xTextBatch = new TextBatch(this.font, Utility.String_CutToSize(xQuest.xDescription.sDescription, 278, this.font), Color.White, 278, new float[0]);
     Program.game.xSoundSystem.PlayInterfaceCue("QuestNew");
 }
コード例 #2
0
ファイル: GUIStuff.cs プロジェクト: ancientgods/SoG
 public void SetQuestCompleted(Quest xQuestInstance)
 {
     this.iQuestCompletedCounter = 1;
     this.xThisQuestDescription = QuestCodex.GetQuestDescription(xQuestInstance.enQuestID);
     this.xThisQuestInstance = xQuestInstance;
     this.bAlreadyCompleted = false;
     this.bQuestAddedToCompleted = false;
 }
コード例 #3
0
ファイル: QuestCodex.cs プロジェクト: ancientgods/SoG
 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;
 }