From 32709cfd78e6ebf0e41278434a36c03a22da862a Mon Sep 17 00:00:00 2001 From: unsoftcapped3 <75136164+unsoftcapped3@users.noreply.github.com> Date: Fri, 23 Dec 2022 04:17:59 +0000 Subject: [PATCH] remove the .value --- src/data/layers/factory.tsx | 6 +++--- src/data/layers/oil.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/layers/factory.tsx b/src/data/layers/factory.tsx index 10056dd..e127681 100644 --- a/src/data/layers/factory.tsx +++ b/src/data/layers/factory.tsx @@ -1077,7 +1077,7 @@ const factory = createLayer(id, () => { })), createUpgrade(() => ({ resource: metal.metal, - cost: () =>Decimal.pow(3, upgradeAmount.value).mul(1e55), + cost: () =>Decimal.pow(3, upgradeAmount.value).mul(1e53), display: { title: "Diamond-tipped drills", description: "Drill power ^1.2" @@ -1113,7 +1113,7 @@ const factory = createLayer(id, () => { })), createUpgrade(() => ({ resource: oil.oil, - cost: () =>Decimal.pow(2, upgradeAmount.value).mul(1e23), + cost: () =>Decimal.pow(2, upgradeAmount.value).mul(1e22), display: { title: "Capitalism", description: "Console production is tripled" @@ -1122,7 +1122,7 @@ const factory = createLayer(id, () => { }))], [createUpgrade(() => ({ resource: coal.coal, - cost: () =>Decimal.pow(5, upgradeAmount.value).mul(1e136), + cost: () =>Decimal.pow(5, upgradeAmount.value).mul(1e130), display: { title: "Brighter work rooms", description: "Unused electricity makes ticks faster" diff --git a/src/data/layers/oil.tsx b/src/data/layers/oil.tsx index 9b1d346..5d8e692 100644 --- a/src/data/layers/oil.tsx +++ b/src/data/layers/oil.tsx @@ -895,7 +895,7 @@ const layer = createLayer(id, function (this: BaseLayer) { createExponentialModifier(() => ({ exponent: 1.2, description: "Diamond-tipped drills", - enabled: factory.upgrades[0][3].bought.value + enabled: factory.upgrades[0][3].bought })) ]); const computedDrillPower = computed(() => drillPower.apply(0));