From 1e549c9d7f23ca7b3dccddc9552f799eba2a3d69 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 14 Jan 2022 11:04:06 +0000 Subject: [PATCH] Fix base.json generator --- DumpCleaner/Models/Location.cs | 70 +++++++++++++++++++ .../Helpers/QuestRequirements.cs | 2 +- 2 files changed, 71 insertions(+), 1 deletion(-) diff --git a/DumpCleaner/Models/Location.cs b/DumpCleaner/Models/Location.cs index 09b6e21..eebd038 100644 --- a/DumpCleaner/Models/Location.cs +++ b/DumpCleaner/Models/Location.cs @@ -1,5 +1,75 @@ // read contents of input folder public class Location { + public bool Enabled { get; set; } + public bool Locked { get; set; } + public bool Insurance { get; set; } + public bool SafeLocation { get; set; } + public string Name { get; set; } + public string Description { get; set; } + public object Scene { get; set; } + public decimal Area { get; set; } + public int RequiredPlayerLevel { get; set; } + public int MinPlayers { get; set; } + public int MaxPlayers { get; set; } + public int exit_count { get; set; } + public int exit_access_time { get; set; } + public int exit_time { get; set; } + public object Preview { get; set; } + public int IconX { get; set; } + public int IconY { get; set; } + public List filter_ex { get; set; } + public List waves { get; set; } + public List limits { get; set; } + public int AveragePlayTime { get; set; } + public int AveragePlayerLevel { get; set; } + public int escape_time_limit { get; set; } + public string Rules { get; set; } + public bool IsSecret { get; set; } + public List doors { get; set; } + public int tmp_location_field_remove_me { get; set; } + public int MinDistToExitPoint { get; set; } + public int MaxDistToFreePoint { get; set; } + public int MinDistToFreePoint { get; set; } + public int MaxBotPerZone { get; set; } + public string OpenZones { get; set; } + public bool OcculsionCullingEnabled { get; set; } + public double GlobalLootChanceModifier { get; set; } + public bool OldSpawn { get; set; } + public bool NewSpawn { get; set; } + public int BotMax { get; set; } + public int BotStart { get; set; } + public int BotStop { get; set; } + public int BotMaxTimePlayer { get; set; } + public int BotSpawnTimeOnMin { get; set; } + public int BotSpawnTimeOnMax { get; set; } + public int BotSpawnTimeOffMin { get; set; } + public int BotSpawnTimeOffMax { get; set; } + public int BotMaxPlayer { get; set; } + public int BotEasy { get; set; } + public int BotNormal { get; set; } + public int BotHard { get; set; } + public int BotImpossible { get; set; } + public int BotAssault { get; set; } + public int BotMarksman { get; set; } + public string DisabledScavExits { get; set; } + public List AccessKeys { get; set; } + public int UnixDateTime { get; set; } + public int users_gather_seconds { get; set; } + public int users_spawn_seconds_n { get; set; } + public int users_spawn_seconds_n2 { get; set; } + public int users_summon_seconds { get; set; } + public int sav_summon_seconds { get; set; } + public int matching_min_seconds { get; set; } + public List MinMaxBots { get; set; } + public object BotLocationModifier { get; set; } + public List exits { get; set; } + public bool DisabledForScav { get; set; } + public List BossLocationSpawn { get; set; } + public List SpawnPointParams { get; set; } + public List maxItemCountInLocation { get; set; } public string Id { get; set; } + public string _Id { get; set; } + public List Loot { get; set; } + public List Banners { get; set; } } diff --git a/QuestValidator.Common/Helpers/QuestRequirements.cs b/QuestValidator.Common/Helpers/QuestRequirements.cs index 6c7fd11..e13daa3 100644 --- a/QuestValidator.Common/Helpers/QuestRequirements.cs +++ b/QuestValidator.Common/Helpers/QuestRequirements.cs @@ -36,7 +36,7 @@ namespace QuestValidator.Common.Helpers { Quest.PostmanPatP1 , GetQuestData(Quest.PostmanPatP1).AddPrerequisiteQuest(Quest.IceCreamCones, QuestStatus.Success)}, { Quest.PostmanPatP2 , GetQuestData(Quest.PostmanPatP2).AddPrerequisiteQuest(Quest.PostmanPatP1, QuestStatus.Success)}, { Quest.ShakingUpTeller , GetQuestData(Quest.ShakingUpTeller).AddPrerequisiteQuest(Quest.IceCreamCones, QuestStatus.Success)}, - { Quest.Shortage , GetQuestData(Quest.Shortage)}, + { Quest.Shortage , GetQuestData(Quest.Shortage)}, { Quest.SanitaryStandardsP1 , GetQuestData(Quest.SanitaryStandardsP1).AddPrerequisiteQuest(Quest.Shortage, QuestStatus.Success)}, { Quest.OperationAquarius , GetQuestData(Quest.OperationAquarius).AddPrerequisiteQuest(Quest.Shortage, QuestStatus.Success)}, { Quest.OperationAquariusP2 , GetQuestData(Quest.OperationAquariusP2).AddPrerequisiteQuest(Quest.OperationAquarius, QuestStatus.Success)},