diff --git a/config-vanilla.json b/config-vanilla.json index f52b2a9a..4ecb5aec 100644 --- a/config-vanilla.json +++ b/config-vanilla.json @@ -22,6 +22,7 @@ "baroAlwaysAvailable": false, "baroFullyStocked": false, "unlockAllProfitTakerStages": false, + "skipClanKeyCrafting": false, "noDojoRoomBuildStage": false, "noDecoBuildStage": false, "fastDojoRoomDestruction": false, diff --git a/src/models/inventoryModels/inventoryModel.ts b/src/models/inventoryModels/inventoryModel.ts index ce32cef2..ca526ac4 100644 --- a/src/models/inventoryModels/inventoryModel.ts +++ b/src/models/inventoryModels/inventoryModel.ts @@ -1451,7 +1451,6 @@ const inventorySchema = new Schema( noVendorPurchaseLimits: Boolean, noDeathMarks: Boolean, noKimCooldowns: Boolean, - skipClanKeyCrafting: Boolean, claimingBlueprintRefundsIngredients: Boolean, instantResourceExtractorDrones: Boolean, noResourceExtractorDronesDamage: Boolean, diff --git a/src/services/configService.ts b/src/services/configService.ts index f257b453..dabb8af7 100644 --- a/src/services/configService.ts +++ b/src/services/configService.ts @@ -30,6 +30,7 @@ export interface IConfig extends IConfigRemovedOptions { baroAlwaysAvailable?: boolean; baroFullyStocked?: boolean; unlockAllProfitTakerStages?: boolean; + skipClanKeyCrafting?: boolean; noDojoRoomBuildStage?: boolean; noDojoDecoBuildStage?: boolean; fastDojoRoomDestruction?: boolean; @@ -119,8 +120,7 @@ export const configRemovedOptionsKeys = [ "syndicateMissionsRepeatable", "instantFinishRivenChallenge", "instantResourceExtractorDrones", - "noResourceExtractorDronesDamage", - "skipClanKeyCrafting" + "noResourceExtractorDronesDamage" ] as const; type IConfigRemovedOptions = { diff --git a/src/services/guildService.ts b/src/services/guildService.ts index 06a970dc..cd7ee147 100644 --- a/src/services/guildService.ts +++ b/src/services/guildService.ts @@ -690,7 +690,7 @@ export const checkClanAscensionHasRequiredContributors = async (guild: TGuildDat }; export const giveClanKey = (inventory: TInventoryDatabaseDocument, inventoryChanges?: IInventoryChanges): void => { - if (inventory.skipClanKeyCrafting) { + if (config.skipClanKeyCrafting) { const levelKeyChanges = [ { ItemType: "/Lotus/Types/Keys/DojoKey", diff --git a/src/types/inventoryTypes/inventoryTypes.ts b/src/types/inventoryTypes/inventoryTypes.ts index 7ccec2c7..b348576b 100644 --- a/src/types/inventoryTypes/inventoryTypes.ts +++ b/src/types/inventoryTypes/inventoryTypes.ts @@ -45,7 +45,6 @@ export interface IAccountCheats { noVendorPurchaseLimits?: boolean; noDeathMarks?: boolean; noKimCooldowns?: boolean; - skipClanKeyCrafting?: boolean; claimingBlueprintRefundsIngredients?: boolean; instantResourceExtractorDrones?: boolean; noResourceExtractorDronesDamage?: boolean; diff --git a/static/webui/index.html b/static/webui/index.html index b578e625..0a00b23b 100644 --- a/static/webui/index.html +++ b/static/webui/index.html @@ -703,6 +703,10 @@ +
+ + +
@@ -884,10 +888,6 @@
-
- - -