From f9799c95ed982703076f51de65de94f776d3ad54 Mon Sep 17 00:00:00 2001 From: unsoftcapped3 <75136164+unsoftcapped3@users.noreply.github.com> Date: Fri, 23 Dec 2022 06:58:15 +0000 Subject: [PATCH] remove unnecessary lines --- src/data/layers/sleigh.tsx | 51 +++----------------------------------- 1 file changed, 4 insertions(+), 47 deletions(-) diff --git a/src/data/layers/sleigh.tsx b/src/data/layers/sleigh.tsx index 780dfe9..4593cfd 100644 --- a/src/data/layers/sleigh.tsx +++ b/src/data/layers/sleigh.tsx @@ -2,49 +2,25 @@ * @module * @hidden */ -import HotkeyVue from "components/Hotkey.vue"; import Spacer from "components/layout/Spacer.vue"; -import Modal from "components/Modal.vue"; -import { createCollapsibleMilestones, createCollapsibleModifierSections } from "data/common"; +import { createCollapsibleMilestones} from "data/common"; import { main } from "data/projEntry"; import { createBar } from "features/bars/bar"; -import { createClickable } from "features/clickables/clickable"; -import { - addHardcap, - addSoftcap, - createIndependentConversion, - createPolynomialScaling -} from "features/conversion"; import { jsx, showIf } from "features/feature"; -import { createHotkey } from "features/hotkey"; import { createMilestone } from "features/milestones/milestone"; -import { createResource, displayResource } from "features/resources/resource"; import { BaseLayer, createLayer } from "game/layers"; -import { - createAdditiveModifier, - createExponentialModifier, - createMultiplicativeModifier, - createSequentialModifier, - Modifier -} from "game/modifiers"; -import { noPersist, persistent } from "game/persistence"; -import Decimal, { DecimalSource, format, formatTime, formatWhole } from "util/bignum"; -import { Direction, WithRequired } from "util/common"; +import Decimal, { DecimalSource, format, formatWhole } from "util/bignum"; +import { Direction} from "util/common"; import { render } from "util/vue"; -import { computed, ref, unref, watchEffect } from "vue"; -import elves from "./elves"; -import factory from "./factory"; +import { computed, watchEffect } from "vue"; import management from "./management"; -import toys from "./toys"; import trees from "./trees"; -import wrappingPaper from "./wrapping-paper"; import metal from "./metal"; import plastic from "./plastic" import { createBuyable, GenericBuyable } from "features/buyable"; import { Resource } from "features/resources/resource"; import { isArray } from "@vue/shared"; - const id = "sleigh"; const day = 22; const layer = createLayer(id, function (this: BaseLayer) { @@ -134,25 +110,6 @@ const layer = createLayer(id, function (this: BaseLayer) { ) })); - /*const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [ - { - title: "Max Foundation", - modifier: maxFoundation, - base: 100 - } - ]); - const showModifiersModal = ref(false); - const modifiersModal = jsx(() => ( - (showModifiersModal.value = value)} - v-slots={{ - header: () =>

{name} Modifiers

, - body: generalTab - }} - /> - ));*/ - watchEffect(() => { if (main.day.value === day && Decimal.gte(sleighProgress.value.value, 100)) { main.completeDay();