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(() => ({ createUpgrade(() => ({
resource: metal.metal, resource: metal.metal,
cost: () =>Decimal.pow(3, upgradeAmount.value).mul(1e55), cost: () =>Decimal.pow(3, upgradeAmount.value).mul(1e53),
display: { display: {
title: "Diamond-tipped drills", title: "Diamond-tipped drills",
description: "Drill power ^1.2" description: "Drill power ^1.2"
@ -1113,7 +1113,7 @@ const factory = createLayer(id, () => {
})), })),
createUpgrade(() => ({ createUpgrade(() => ({
resource: oil.oil, resource: oil.oil,
cost: () =>Decimal.pow(2, upgradeAmount.value).mul(1e23), cost: () =>Decimal.pow(2, upgradeAmount.value).mul(1e22),
display: { display: {
title: "Capitalism", title: "Capitalism",
description: "Console production is tripled" description: "Console production is tripled"
@ -1122,7 +1122,7 @@ const factory = createLayer(id, () => {
}))], }))],
[createUpgrade(() => ({ [createUpgrade(() => ({
resource: coal.coal, resource: coal.coal,
cost: () =>Decimal.pow(5, upgradeAmount.value).mul(1e136), cost: () =>Decimal.pow(5, upgradeAmount.value).mul(1e130),
display: { display: {
title: "Brighter work rooms", title: "Brighter work rooms",
description: "Unused electricity makes ticks faster" description: "Unused electricity makes ticks faster"

View file

@ -895,7 +895,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
createExponentialModifier(() => ({ createExponentialModifier(() => ({
exponent: 1.2, exponent: 1.2,
description: "Diamond-tipped drills", description: "Diamond-tipped drills",
enabled: factory.upgrades[0][3].bought.value enabled: factory.upgrades[0][3].bought
})) }))
]); ]);
const computedDrillPower = computed(() => drillPower.apply(0)); const computedDrillPower = computed(() => drillPower.apply(0));