chore: move skipClanKeyCrafting back to config.json #2690
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
@ -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 = {
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user