chore: move skipClanKeyCrafting back to config.json (#2690)
All checks were successful
Build / build (push) Successful in 1m7s
Build Docker image / docker-amd64 (push) Successful in 51s
Build Docker image / docker-arm64 (push) Successful in 1m5s

Reviewed-on: #2690
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-08-24 15:36:59 -07:00 committed by Sainan
parent 895e76b45e
commit 28b8fb3e78
6 changed files with 8 additions and 9 deletions

View File

@ -22,6 +22,7 @@
"baroAlwaysAvailable": false, "baroAlwaysAvailable": false,
"baroFullyStocked": false, "baroFullyStocked": false,
"unlockAllProfitTakerStages": false, "unlockAllProfitTakerStages": false,
"skipClanKeyCrafting": false,
"noDojoRoomBuildStage": false, "noDojoRoomBuildStage": false,
"noDecoBuildStage": false, "noDecoBuildStage": false,
"fastDojoRoomDestruction": false, "fastDojoRoomDestruction": false,

View File

@ -1451,7 +1451,6 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
noVendorPurchaseLimits: Boolean, noVendorPurchaseLimits: Boolean,
noDeathMarks: Boolean, noDeathMarks: Boolean,
noKimCooldowns: Boolean, noKimCooldowns: Boolean,
skipClanKeyCrafting: Boolean,
claimingBlueprintRefundsIngredients: Boolean, claimingBlueprintRefundsIngredients: Boolean,
instantResourceExtractorDrones: Boolean, instantResourceExtractorDrones: Boolean,
noResourceExtractorDronesDamage: Boolean, noResourceExtractorDronesDamage: Boolean,

View File

@ -30,6 +30,7 @@ export interface IConfig extends IConfigRemovedOptions {
baroAlwaysAvailable?: boolean; baroAlwaysAvailable?: boolean;
baroFullyStocked?: boolean; baroFullyStocked?: boolean;
unlockAllProfitTakerStages?: boolean; unlockAllProfitTakerStages?: boolean;
skipClanKeyCrafting?: boolean;
noDojoRoomBuildStage?: boolean; noDojoRoomBuildStage?: boolean;
noDojoDecoBuildStage?: boolean; noDojoDecoBuildStage?: boolean;
fastDojoRoomDestruction?: boolean; fastDojoRoomDestruction?: boolean;
@ -119,8 +120,7 @@ export const configRemovedOptionsKeys = [
"syndicateMissionsRepeatable", "syndicateMissionsRepeatable",
"instantFinishRivenChallenge", "instantFinishRivenChallenge",
"instantResourceExtractorDrones", "instantResourceExtractorDrones",
"noResourceExtractorDronesDamage", "noResourceExtractorDronesDamage"
"skipClanKeyCrafting"
] as const; ] as const;
type IConfigRemovedOptions = { type IConfigRemovedOptions = {

View File

@ -690,7 +690,7 @@ export const checkClanAscensionHasRequiredContributors = async (guild: TGuildDat
}; };
export const giveClanKey = (inventory: TInventoryDatabaseDocument, inventoryChanges?: IInventoryChanges): void => { export const giveClanKey = (inventory: TInventoryDatabaseDocument, inventoryChanges?: IInventoryChanges): void => {
if (inventory.skipClanKeyCrafting) { if (config.skipClanKeyCrafting) {
const levelKeyChanges = [ const levelKeyChanges = [
{ {
ItemType: "/Lotus/Types/Keys/DojoKey", ItemType: "/Lotus/Types/Keys/DojoKey",

View File

@ -45,7 +45,6 @@ export interface IAccountCheats {
noVendorPurchaseLimits?: boolean; noVendorPurchaseLimits?: boolean;
noDeathMarks?: boolean; noDeathMarks?: boolean;
noKimCooldowns?: boolean; noKimCooldowns?: boolean;
skipClanKeyCrafting?: boolean;
claimingBlueprintRefundsIngredients?: boolean; claimingBlueprintRefundsIngredients?: boolean;
instantResourceExtractorDrones?: boolean; instantResourceExtractorDrones?: boolean;
noResourceExtractorDronesDamage?: boolean; noResourceExtractorDronesDamage?: boolean;

View File

@ -703,6 +703,10 @@
<input class="form-check-input" type="checkbox" id="unlockAllProfitTakerStages" /> <input class="form-check-input" type="checkbox" id="unlockAllProfitTakerStages" />
<label class="form-check-label" for="unlockAllProfitTakerStages" data-loc="cheats_unlockAllProfitTakerStages"></label> <label class="form-check-label" for="unlockAllProfitTakerStages" data-loc="cheats_unlockAllProfitTakerStages"></label>
</div> </div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="skipClanKeyCrafting" />
<label class="form-check-label" for="skipClanKeyCrafting" data-loc="cheats_skipClanKeyCrafting"></label>
</div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" id="noDojoRoomBuildStage" /> <input class="form-check-input" type="checkbox" id="noDojoRoomBuildStage" />
<label class="form-check-label" for="noDojoRoomBuildStage" data-loc="cheats_noDojoRoomBuildStage"></label> <label class="form-check-label" for="noDojoRoomBuildStage" data-loc="cheats_noDojoRoomBuildStage"></label>
@ -884,10 +888,6 @@
<input class="form-check-input" type="checkbox" id="instantResourceExtractorDrones" /> <input class="form-check-input" type="checkbox" id="instantResourceExtractorDrones" />
<label class="form-check-label" for="instantResourceExtractorDrones" data-loc="cheats_instantResourceExtractorDrones"></label> <label class="form-check-label" for="instantResourceExtractorDrones" data-loc="cheats_instantResourceExtractorDrones"></label>
</div> </div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="skipClanKeyCrafting" />
<label class="form-check-label" for="skipClanKeyCrafting" data-loc="cheats_skipClanKeyCrafting"></label>
</div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" id="claimingBlueprintRefundsIngredients" /> <input class="form-check-input" type="checkbox" id="claimingBlueprintRefundsIngredients" />
<label class="form-check-label" for="claimingBlueprintRefundsIngredients" data-loc="cheats_claimingBlueprintRefundsIngredients"></label> <label class="form-check-label" for="claimingBlueprintRefundsIngredients" data-loc="cheats_claimingBlueprintRefundsIngredients"></label>