Example #1
0
 public SkillPointReward(SkillPointReward.SkillPointType enType)
 {
     this.enType = enType;
 }
Example #2
0
 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;
 }