mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 08:31:35 +00:00
oil upgrades 1 and 4 effects
This commit is contained in:
parent
2f2d622e49
commit
1e2b3f1b12
2 changed files with 17 additions and 1 deletions
|
@ -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(() => ({
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue