using AssortValidator.Common.Models; using System; using System.Collections.Generic; using static AssortValidator.Common.Models.Assort; namespace AssortValidator.Common.Helpers { public static class QuestAssortMappingHelper { private static readonly Dictionary> mappings = new() { { "59689ee586f7740d1570bbd5", new List() { new QuestAssortMapping { QuestType = QuestEnum.SanitaryStandardsP1, ItemTplId = "590c661e86f7741e566b646a", Level = 1, Trader = Trader.Therapist, IsMoneyBarter = false } } }, // car first aid { "5c0bde0986f77479cf22c2f8", new List() { new QuestAssortMapping { QuestType = QuestEnum.AShooterBornInHeaven, ItemTplId = "5c127c4486f7745625356c13", Level = 3, Trader = Trader.Mechanic, IsMoneyBarter = false } } }, { "5967725e86f774601a446662", new List() { new QuestAssortMapping { QuestType = QuestEnum.ShakingUpTeller, ItemTplId = "59c0ec5b86f77435b128bfca", Level = 2, Trader = Trader.Skier, IsMoneyBarter = false } } }, // Hexagon 12K 12ga sound suppressor { "5a27b7d686f77460d847e6a6", new List() { new QuestAssortMapping { QuestType = QuestEnum.ScrapMetal, ItemTplId = "5926bb2186f7744b1c6c6e60", Trader = Trader.Peacekeeper, Level = 2, IsMoneyBarter = true, SubItemCount = 7 } } }, // HK MP5 9x19 submachine gun (Navy 3 Round Burst) { "5ae327c886f7745c7b3f2f3f", new List() { new QuestAssortMapping { QuestType = QuestEnum.GunsmithP10, ItemTplId = "5447a9cd4bdc2dbd208b4567", Trader = Trader.Mechanic, Level = 3, IsMoneyBarter = false } } }, // Colt M4A1 5.56x45 assault rifle (variant SOPMOD I) { "5c0bbaa886f7746941031d82", new List() { new QuestAssortMapping { QuestType = QuestEnum.Bullshit, ItemTplId = "5c1127d0d174af29be75cf68", Trader = Trader.Skier, Level = 3, IsMoneyBarter = false }, // 12/70 RIP 5 shell ammo box new QuestAssortMapping { QuestType = QuestEnum.Bullshit, ItemTplId = "606587252535c57a13424cfd", Trader = Trader.Skier, Level = 3, IsMoneyBarter = true }} //mutant mk47 }, { "5d25e4ca86f77409dd5cdf2c", new List { new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 3, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 4}, new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 3, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 5}, new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 4, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 10}, new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 4, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 13} } }, { "5ae449d986f774453a54a7e1", new List { new QuestAssortMapping { QuestType = QuestEnum.Supervisor, ItemTplId= "5ab8e79e86f7742d8b372e78", Level = 3, IsMoneyBarter = true, Trader = Trader.Ragman } } }, { "6193850f60b34236ee0483de", new List { new QuestAssortMapping {QuestType = QuestEnum.LongRoad, ItemTplId = "588892092459774ac91d4b11", Level = 3, IsMoneyBarter = true, Trader=Trader.Skier } } } }; public static List GetQuestAssortMappingDetails(string questId) { return mappings[questId]; } } public class QuestAssortMapping { public QuestEnum QuestType { get; set; } public string ItemTplId { get; set; } public Trader Trader { get; set; } public bool IsMoneyBarter { get; set; } public int Level { get; set; } public CurrencyEnum? CurrencyTypeId { get; set; } public int? SubItemCount { get; set; } } }