mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 08:31:35 +00:00
Fix oil integration
This commit is contained in:
parent
34b96f6862
commit
756bcdc54c
1 changed files with 3 additions and 3 deletions
|
@ -278,7 +278,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const activePump = persistent<DecimalSource>(0);
|
const activePump = persistent<DecimalSource>(0);
|
||||||
const pumpCoal = computed(() => Decimal.pow(row2Upgrades[3].bought ? 4 : 5, activePump.value));
|
const pumpCoal = computed(() => Decimal.pow(row2Upgrades[3].bought.value ? 4 : 5, activePump.value));
|
||||||
const pumpOil = computed(() => Decimal.pow(activePump.value, 2).mul(activeHeavy.value).mul(Decimal.add(activeHeavy2.value, 1)).mul(activeExtractor.value).mul(depth.value).div(1e5));
|
const pumpOil = computed(() => Decimal.pow(activePump.value, 2).mul(activeHeavy.value).mul(Decimal.add(activeHeavy2.value, 1)).mul(activeExtractor.value).mul(depth.value).div(1e5));
|
||||||
const buildPump = createBuyable(() => ({
|
const buildPump = createBuyable(() => ({
|
||||||
resource: metal.metal,
|
resource: metal.metal,
|
||||||
|
@ -293,7 +293,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
<h3>Oil Pump</h3>
|
<h3>Oil Pump</h3>
|
||||||
<br />
|
<br />
|
||||||
Pump those oil from the ground.
|
Pump those oil from the ground.
|
||||||
<br />Gain oil based on the number of Heavy stuff active and well depth, but with 5× more coal usage.
|
<br />Gain oil based on the number of Heavy stuff active and well depth, but coal usage increases by {row2Upgrades[3].bought.value ? 4 : 5}×.
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
Currently:
|
Currently:
|
||||||
|
@ -703,7 +703,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
cost: 25000,
|
cost: 25000,
|
||||||
display: {
|
display: {
|
||||||
title: "Oil Integration",
|
title: "Oil Integration",
|
||||||
description: "Reduce Oil Well's oil consumption multipler from 5 to 4",
|
description: "Reduce Oil Well's coal consumption multipler from 5 to 4",
|
||||||
},
|
},
|
||||||
style: { color: colorText }
|
style: { color: colorText }
|
||||||
})),
|
})),
|
||||||
|
|
Loading…
Reference in a new issue