mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
remove the .value
This commit is contained in:
parent
b8f61a1e7a
commit
32709cfd78
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue