From efe68506b87f60e1cbb793eae9f92ed54f5845d6 Mon Sep 17 00:00:00 2001 From: Refringe Date: Tue, 22 Aug 2023 23:30:03 -0400 Subject: [PATCH] Adds a `force` option to the botSpawn configuration. --- config/config.json5 | 6 +++++- src/config/getConfig.ts | 13 +++++++++++-- src/config/validateConfig.ts | 5 +++++ src/types.ts | 1 + 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/config/config.json5 b/config/config.json5 index 24f3150..f407ac3 100644 --- a/config/config.json5 +++ b/config/config.json5 @@ -4,7 +4,7 @@ // Enables verbose logging for debugging. And I mean *verbose*... It will log *everything*; raid times, train // schedules, and every existing and newly created bot spawn wave in the system. - debug: false, + debug: true, }, raidTimes: { @@ -47,6 +47,10 @@ // known conflicts with other mods. adjustWaves: true, + // Want to force this mod to extend the bot spawn waves, even if it detects a conflict with another mod? + // Set this to `true` and roll the dice! OH YEAHHHHH! (Not responsible for any issues that arise from this.) + force: false, + // Maximum number of bots that can be alive at once. Reduce if performance issues arise. maximumBots: 28, diff --git a/src/config/getConfig.ts b/src/config/getConfig.ts index 4866adb..c9745db 100644 --- a/src/config/getConfig.ts +++ b/src/config/getConfig.ts @@ -32,6 +32,15 @@ export async function getConfig(container: DependencyContainer): Promise