Add config flag to enable insurance on all maps

This commit is contained in:
Bepis 2021-11-03 15:04:26 +11:00
parent 4d93c19223
commit 30823e6336
Signed by: bepis
GPG Key ID: 3516B17D3102022E
2 changed files with 11 additions and 1 deletions

View File

@ -113,7 +113,8 @@
"IncreasedBossChance": false,
"ExtendedRaid": false,
"RemoveLabKeycard": false,
"ExtractionsExtended": false
"ExtractionsExtended": false,
"InsuranceOnAllMaps": false
},
"other": {
"CompatibilityMods": {

View File

@ -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");