remove the .value

This commit is contained in:
unsoftcapped3 2022-12-23 04:17:59 +00:00
parent b8f61a1e7a
commit 32709cfd78
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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));