mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-31 07:31:37 +00:00
More build errors
This commit is contained in:
parent
7942f8f22c
commit
967ed4a7a0
3 changed files with 8 additions and 6 deletions
|
@ -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();
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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(() => [
|
||||
|
|
Loading…
Add table
Reference in a new issue