chore: move skipClanKeyCrafting back to config.json
All checks were successful
Build / build (pull_request) Successful in 1m38s
All checks were successful
Build / build (pull_request) Successful in 1m38s
This commit is contained in:
parent
895e76b45e
commit
34bb7c2655
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user