mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 17:41:44 +00:00
Implemented Joy, Faith, Snowball lv4-5
This commit is contained in:
parent
219a0d7cb0
commit
d76e99da83
3 changed files with 31 additions and 1 deletions
|
@ -88,6 +88,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
description: "400% Foundation Completed",
|
||||
enabled: workshop.milestones.extraExpansionMilestone2.earned
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.add(oil.buildHeavy.amount.value, 1).sqrt(),
|
||||
description: "Joy Level 4",
|
||||
enabled: management.elfTraining.smallfireElfTraining.milestones[3].earned
|
||||
})),
|
||||
createExponentialModifier(() => ({
|
||||
exponent: 1.1,
|
||||
description: "Mary Level 2",
|
||||
|
@ -102,6 +107,21 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
description: "Industrial Crucibles",
|
||||
enabled: () => Decimal.gte(industrialCrucible.amount.value, 1)
|
||||
})),
|
||||
createExponentialModifier(() => ({
|
||||
exponent: 1.1,
|
||||
description: "Joy Level 5",
|
||||
enabled: management.elfTraining.smallfireElfTraining.milestones[4].earned
|
||||
})),
|
||||
createExponentialModifier(() => ({
|
||||
exponent: 1.1,
|
||||
description: "Faith Level 5",
|
||||
enabled: management.elfTraining.bonfireElfTraining.milestones[4].earned
|
||||
})),
|
||||
createExponentialModifier(() => ({
|
||||
exponent: 1.1,
|
||||
description: "Snowball Level 5",
|
||||
enabled: management.elfTraining.kilnElfTraining.milestones[4].earned
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 2,
|
||||
description: "Efficient Crucibles",
|
||||
|
|
|
@ -731,6 +731,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
multiplier: () => Decimal.sqrt(management.totalElfLevels.value),
|
||||
description: "Jack Level 4",
|
||||
enabled: management.elfTraining.heatedCutterElfTraining.milestones[3].earned
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.add(buildHeavy2.amount.value, 1).sqrt(),
|
||||
description: "Faith Level 4",
|
||||
enabled: management.elfTraining.bonfireElfTraining.milestones[3].earned
|
||||
}))
|
||||
]);
|
||||
const computedOilSpeed = computed(() => oilSpeed.apply(0));
|
||||
|
@ -960,7 +965,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
<MainDisplay
|
||||
resource={oil}
|
||||
color={color}
|
||||
resourceStyle={{textShadow: 'grey 0px 0px 10px'}}
|
||||
resourceStyle={{ textShadow: "grey 0px 0px 10px" }}
|
||||
sticky={true}
|
||||
productionDisplay={jsx(() => (
|
||||
<>
|
||||
|
|
|
@ -269,6 +269,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
Decimal.div(workshop.foundationProgress.value, 10).floor().div(10).add(1),
|
||||
description: "800% Foundation Completed",
|
||||
enabled: workshop.milestones.extraExpansionMilestone4.earned
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: () => Decimal.add(oil.buildExtractor.amount.value, 1).sqrt(),
|
||||
description: "Snowball Level 4",
|
||||
enabled: management.elfTraining.kilnElfTraining.milestones[3].earned
|
||||
}))
|
||||
]);
|
||||
const computedPlasticGain = computed(() => plasticGain.apply(0));
|
||||
|
|
Loading…
Add table
Reference in a new issue