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,
"baroFullyStocked": false,
"unlockAllProfitTakerStages": false,
"skipClanKeyCrafting": false,
"noDojoRoomBuildStage": false,
"noDecoBuildStage": false,
"fastDojoRoomDestruction": false,

View File

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

View File

@ -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 = {

View File

@ -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",

View File

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

View File

@ -703,6 +703,10 @@
<input class="form-check-input" type="checkbox" id="unlockAllProfitTakerStages" />
<label class="form-check-label" for="unlockAllProfitTakerStages" data-loc="cheats_unlockAllProfitTakerStages"></label>
</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">
<input class="form-check-input" type="checkbox" id="noDojoRoomBuildStage" />
<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" />
<label class="form-check-label" for="instantResourceExtractorDrones" data-loc="cheats_instantResourceExtractorDrones"></label>
</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">
<input class="form-check-input" type="checkbox" id="claimingBlueprintRefundsIngredients" />
<label class="form-check-label" for="claimingBlueprintRefundsIngredients" data-loc="cheats_claimingBlueprintRefundsIngredients"></label>