mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Fix build issue
This commit is contained in:
parent
8504bbd374
commit
5e6fb25e86
1 changed files with 10 additions and 5 deletions
|
@ -175,7 +175,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
effectDisplay: "The 1% milestone is now +2% and multiplicative"
|
||||
},
|
||||
shouldEarn: () => Decimal.gte(foundationProgress.value, 120),
|
||||
visibility: () => showIf(management.expanderElfMilestones[2].earned.value),
|
||||
visibility: () =>
|
||||
showIf(management.elfTraining.expandersElfTraining.milestones[2].earned.value),
|
||||
showPopups: shouldShowPopups
|
||||
}));
|
||||
const extraExpansionMilestone2 = createMilestone(() => ({
|
||||
|
@ -184,7 +185,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
effectDisplay: "Gain +10% metal for every 10% foundation completed"
|
||||
},
|
||||
shouldEarn: () => Decimal.gte(foundationProgress.value, 140),
|
||||
visibility: () => showIf(management.expanderElfMilestones[2].earned.value),
|
||||
visibility: () =>
|
||||
showIf(management.elfTraining.expandersElfTraining.milestones[2].earned.value),
|
||||
showPopups: shouldShowPopups
|
||||
}));
|
||||
const extraExpansionMilestone3 = createMilestone(() => ({
|
||||
|
@ -193,7 +195,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
effectDisplay: "Gain +10% oil for every 10% foundation completed"
|
||||
},
|
||||
shouldEarn: () => Decimal.gte(foundationProgress.value, 160),
|
||||
visibility: () => showIf(management.expanderElfMilestones[2].earned.value),
|
||||
visibility: () =>
|
||||
showIf(management.elfTraining.expandersElfTraining.milestones[2].earned.value),
|
||||
showPopups: shouldShowPopups
|
||||
}));
|
||||
const extraExpansionMilestone4 = createMilestone(() => ({
|
||||
|
@ -202,7 +205,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
effectDisplay: "Gain +10% plastic for every 10% foundation completed"
|
||||
},
|
||||
shouldEarn: () => Decimal.gte(foundationProgress.value, 180),
|
||||
visibility: () => showIf(management.expanderElfMilestones[2].earned.value),
|
||||
visibility: () =>
|
||||
showIf(management.elfTraining.expandersElfTraining.milestones[2].earned.value),
|
||||
showPopups: shouldShowPopups
|
||||
}));
|
||||
const extraExpansionMilestone5 = createMilestone(() => ({
|
||||
|
@ -211,7 +215,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
effectDisplay: "Double paper, boxes, and all cloth actions"
|
||||
},
|
||||
shouldEarn: () => Decimal.gte(foundationProgress.value, 200),
|
||||
visibility: () => showIf(management.expanderElfMilestones[2].earned.value),
|
||||
visibility: () =>
|
||||
showIf(management.elfTraining.expandersElfTraining.milestones[2].earned.value),
|
||||
showPopups: shouldShowPopups
|
||||
}));
|
||||
const milestones = {
|
||||
|
|
Loading…
Reference in a new issue