More build errors

This commit is contained in:
thepaperpilot 2022-12-13 23:29:13 -06:00
parent 7942f8f22c
commit 967ed4a7a0
3 changed files with 8 additions and 6 deletions

View file

@ -1153,8 +1153,8 @@ const layer = createLayer(id, () => {
})),
createAdditiveModifier(() => ({
addend() {
return Decimal.add(dyes.dyes.orange.amount, dyes.dyes.purple.amount)
.add(dyes.dyes.green.amount)
return Decimal.add(dyes.dyes.orange.amount.value, dyes.dyes.purple.amount.value)
.add(dyes.dyes.green.amount.value)
.add(1)
.cbrt();
},

View file

@ -162,8 +162,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
})),
createMultiplicativeModifier(() => ({
multiplier: () =>
Decimal.add(dyes.dyes.red.amount, dyes.dyes.blue.amount)
.add(dyes.dyes.yellow.amount)
Decimal.add(dyes.dyes.red.amount.value, dyes.dyes.blue.amount.value)
.add(dyes.dyes.yellow.amount.value)
.add(1)
.log10(),
description: "The Ultimate Metal Dye",

View file

@ -24,7 +24,8 @@ import metal from "./metal";
import {
createSequentialModifier,
createAdditiveModifier,
createMultiplicativeModifier
createMultiplicativeModifier,
Modifier
} from "game/modifiers";
import { main } from "data/projEntry";
import { globalBus } from "game/events";
@ -37,6 +38,7 @@ import paper from "./paper";
import dyes from "./dyes";
import management from "./management";
import workshop from "./workshop";
import { WithRequired } from "util/common";
const id = "oil";
const day = 9;
@ -809,7 +811,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
description: "Faith Level 4",
enabled: management.elfTraining.bonfireElfTraining.milestones[3].earned
}))
]);
]) as WithRequired<Modifier, "description" | "revert">;
const computedOilSpeed = computed(() => oilSpeed.apply(0));
const oilConsumption = createSequentialModifier(() => [