oil upgrades 1 and 4 effects

This commit is contained in:
unsoftcapped3 2022-12-14 05:11:07 +00:00
parent 2f2d622e49
commit 1e2b3f1b12
2 changed files with 17 additions and 1 deletions

View file

@ -90,6 +90,22 @@ const layer = createLayer(id, function (this: BaseLayer) {
description: `${options.name} Chambers`
}))
];
if (options.color === "yellow" && oil.row3Upgrades[0].bought.value){
modifiers.push(
createMultiplicativeModifier(() => ({
multiplier(){return Decimal.add(dyes.red.amount.value,1).log10().pow(0.75)},
description: "Dye Synergy I"
}))
)
}
if (options.color === "red" && oil.row3Upgrades[3].bought.value){
modifiers.push(
createMultiplicativeModifier(() => ({
multiplier(){return Decimal.add(dyes.blue.amount.value,1).log10()},
description: "Dye Synergy II"
}))
)
}
if (options.color === "red" || options.color === "yellow") {
modifiers.push(
createMultiplicativeModifier(() => ({

View file

@ -686,7 +686,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
cost: 1e15,
display: {
title: "The Ultimate Metal Dye",
description: "Product of primary dyes makes everything that costs metal cost less metal"
description: "Sum of primary dyes boosts auto smelt speed"
},
visibility: () => showIf(management.elfTraining.oilElfTraining.milestones[4].earned.value),
style: { color: colorText }