From 756bcdc54cad79bd38fa88181bd9d4ad5d08277e Mon Sep 17 00:00:00 2001 From: ducdat0507 <62660527+ducdat0507@users.noreply.github.com> Date: Thu, 8 Dec 2022 21:22:41 +0700 Subject: [PATCH] Fix oil integration --- src/data/layers/oil.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/layers/oil.tsx b/src/data/layers/oil.tsx index 5452e2b..c0653a7 100644 --- a/src/data/layers/oil.tsx +++ b/src/data/layers/oil.tsx @@ -278,7 +278,7 @@ const layer = createLayer(id, function (this: BaseLayer) { })); const activePump = persistent(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 buildPump = createBuyable(() => ({ resource: metal.metal, @@ -293,7 +293,7 @@ const layer = createLayer(id, function (this: BaseLayer) {

Oil Pump


Pump those oil from the ground. -
Gain oil based on the number of Heavy stuff active and well depth, but with 5× more coal usage. +
Gain oil based on the number of Heavy stuff active and well depth, but coal usage increases by {row2Upgrades[3].bought.value ? 4 : 5}×.

Currently: @@ -703,7 +703,7 @@ const layer = createLayer(id, function (this: BaseLayer) { cost: 25000, display: { 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 } })),