Add warnings and logging for InsuranceOnAllMaps

This commit is contained in:
Bepis 2021-11-03 17:33:33 +11:00
parent 7baa927645
commit d4eb094f49
Signed by: bepis
GPG Key ID: 3516B17D3102022E

View File

@ -52,6 +52,9 @@ class Warnings {
if (typeof config.raids.ExtractionsExtended !== "boolean") {
OtherModitication.CustomWarning("AIO Mod", errors.raids.ExtractionsExtended)
}
if (typeof config.raids.InsuranceOnAllMaps !== "boolean") {
OtherModitication.CustomWarning("AIO Mod", errors.raids.InsuranceOnAllMaps)
}
if (config.items.MoreStack !== false && typeof config.items.MoreStack !== "number") {
OtherModitication.CustomWarning("AIO Mod", errors.items.MoreStack)
}
@ -360,6 +363,9 @@ class Warnings {
if (config.raids.ExtractionsExtended === true) {
Logger.info("AllInOne Mod: ExtractionsExtended activated")
}
if (config.raids.InsuranceOnAllMaps === true) {
Logger.info("AllInOne Mod: InsuranceOnAllMaps activated")
}
if (config.player.DisableSkillFatigue === true) {
Logger.info("AllinOne Mod: DisableSkillFatigue activated");
}