2022-01-19 20:22:59 +00:00
|
|
|
|
using AssortValidator.Common.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using static AssortValidator.Common.Models.Assort;
|
|
|
|
|
|
|
|
|
|
namespace AssortValidator.Common.Helpers
|
|
|
|
|
{
|
|
|
|
|
public static class QuestAssortMappingHelper
|
|
|
|
|
{
|
|
|
|
|
private static readonly Dictionary<string, List<QuestAssortMapping>> mappings = new()
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"59689ee586f7740d1570bbd5",
|
|
|
|
|
new List<QuestAssortMapping>() { new QuestAssortMapping { QuestType = QuestEnum.SanitaryStandardsP1, ItemTplId = "590c661e86f7741e566b646a", Level = 1, Trader = Trader.Therapist, IsMoneyBarter = false } }
|
|
|
|
|
}, // car first aid
|
|
|
|
|
{
|
|
|
|
|
"5c0bde0986f77479cf22c2f8",
|
|
|
|
|
new List<QuestAssortMapping>() { new QuestAssortMapping { QuestType = QuestEnum.AShooterBornInHeaven, ItemTplId = "5c127c4486f7745625356c13", Level = 3, Trader = Trader.Mechanic, IsMoneyBarter = false } }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"5967725e86f774601a446662",
|
|
|
|
|
new List<QuestAssortMapping>() { new QuestAssortMapping { QuestType = QuestEnum.ShakingUpTeller, ItemTplId = "59c0ec5b86f77435b128bfca", Level = 2, Trader = Trader.Skier, IsMoneyBarter = false } }
|
|
|
|
|
|
|
|
|
|
}, // Hexagon 12K 12ga sound suppressor
|
|
|
|
|
{
|
|
|
|
|
"5a27b7d686f77460d847e6a6",
|
|
|
|
|
new List<QuestAssortMapping>() { 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<QuestAssortMapping>() { 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<QuestAssortMapping>()
|
|
|
|
|
{ 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
|
|
|
|
|
|
|
|
|
|
},
|
2022-01-23 11:36:43 +00:00
|
|
|
|
{
|
|
|
|
|
"5d25e4ca86f77409dd5cdf2c",
|
|
|
|
|
new List<QuestAssortMapping>
|
|
|
|
|
{ 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},
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-01-19 20:22:59 +00:00
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static List<QuestAssortMapping> 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; }
|
|
|
|
|
|
2022-01-23 11:36:43 +00:00
|
|
|
|
public int? SubItemCount { get; set; }
|
2022-01-19 20:22:59 +00:00
|
|
|
|
}
|
|
|
|
|
}
|