Add config flag to enable insurance on all maps
This commit is contained in:
parent
4d93c19223
commit
30823e6336
@ -113,7 +113,8 @@
|
||||
"IncreasedBossChance": false,
|
||||
"ExtendedRaid": false,
|
||||
"RemoveLabKeycard": false,
|
||||
"ExtractionsExtended": false
|
||||
"ExtractionsExtended": false,
|
||||
"InsuranceOnAllMaps": false
|
||||
},
|
||||
"other": {
|
||||
"CompatibilityMods": {
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user