remove unnecessary lines

This commit is contained in:
unsoftcapped3 2022-12-23 06:58:15 +00:00
parent 9ba136b8b1
commit f9799c95ed

View file

@ -2,49 +2,25 @@
* @module * @module
* @hidden * @hidden
*/ */
import HotkeyVue from "components/Hotkey.vue";
import Spacer from "components/layout/Spacer.vue"; import Spacer from "components/layout/Spacer.vue";
import Modal from "components/Modal.vue"; import { createCollapsibleMilestones} from "data/common";
import { createCollapsibleMilestones, createCollapsibleModifierSections } from "data/common";
import { main } from "data/projEntry"; import { main } from "data/projEntry";
import { createBar } from "features/bars/bar"; 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 { jsx, showIf } from "features/feature";
import { createHotkey } from "features/hotkey";
import { createMilestone } from "features/milestones/milestone"; import { createMilestone } from "features/milestones/milestone";
import { createResource, displayResource } from "features/resources/resource";
import { BaseLayer, createLayer } from "game/layers"; import { BaseLayer, createLayer } from "game/layers";
import { import Decimal, { DecimalSource, format, formatWhole } from "util/bignum";
createAdditiveModifier, import { Direction} from "util/common";
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 { render } from "util/vue"; import { render } from "util/vue";
import { computed, ref, unref, watchEffect } from "vue"; import { computed, watchEffect } from "vue";
import elves from "./elves";
import factory from "./factory";
import management from "./management"; import management from "./management";
import toys from "./toys";
import trees from "./trees"; import trees from "./trees";
import wrappingPaper from "./wrapping-paper";
import metal from "./metal"; import metal from "./metal";
import plastic from "./plastic" import plastic from "./plastic"
import { createBuyable, GenericBuyable } from "features/buyable"; import { createBuyable, GenericBuyable } from "features/buyable";
import { Resource } from "features/resources/resource"; import { Resource } from "features/resources/resource";
import { isArray } from "@vue/shared"; import { isArray } from "@vue/shared";
const id = "sleigh"; const id = "sleigh";
const day = 22; const day = 22;
const layer = createLayer(id, function (this: BaseLayer) { 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(() => (
<Modal
modelValue={showModifiersModal.value}
onUpdate:modelValue={(value: boolean) => (showModifiersModal.value = value)}
v-slots={{
header: () => <h2>{name} Modifiers</h2>,
body: generalTab
}}
/>
));*/
watchEffect(() => { watchEffect(() => {
if (main.day.value === day && Decimal.gte(sleighProgress.value.value, 100)) { if (main.day.value === day && Decimal.gte(sleighProgress.value.value, 100)) {
main.completeDay(); main.completeDay();