diff --git a/ZEreshkigal-AllinOneMod/config/config.json b/ZEreshkigal-AllinOneMod/config/config.json index 0445428..8202691 100644 --- a/ZEreshkigal-AllinOneMod/config/config.json +++ b/ZEreshkigal-AllinOneMod/config/config.json @@ -113,7 +113,8 @@ "IncreasedBossChance": false, "ExtendedRaid": false, "RemoveLabKeycard": false, - "ExtractionsExtended": false + "ExtractionsExtended": false, + "InsuranceOnAllMaps": false }, "other": { "CompatibilityMods": { diff --git a/ZEreshkigal-AllinOneMod/src/raids.js b/ZEreshkigal-AllinOneMod/src/raids.js index eca84cf..41e694b 100644 --- a/ZEreshkigal-AllinOneMod/src/raids.js +++ b/ZEreshkigal-AllinOneMod/src/raids.js @@ -171,6 +171,15 @@ class RaidsModifications { } } + //Make all maps have functional insurance + if (config.raids.InsuranceOnAllMaps === true) { + for (let i in locations) { + if (i !== "base") { + locations[i].base.Insurance = true; + } + } + } + //Make all bosses to 100% spawn if (config.raids.IncreasedBossChance === true) { Logger.info("AllinOne Mod: IncreasedBossChance activated");