mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
fix bucket
This commit is contained in:
parent
32709cfd78
commit
17aa5b1c59
2 changed files with 21 additions and 6 deletions
|
@ -162,7 +162,12 @@ const factory = createLayer(id, () => {
|
|||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 1.4,
|
||||
description: "2000 toys",
|
||||
description: "1500 toys",
|
||||
enabled: toys.milestones.milestone6.earned
|
||||
})),
|
||||
createMultiplicativeModifier(() => ({
|
||||
multiplier: 1.4,
|
||||
description: "6000 toys",
|
||||
enabled: toys.milestones.milestone6.earned
|
||||
}))
|
||||
]);
|
||||
|
@ -537,7 +542,7 @@ const factory = createLayer(id, () => {
|
|||
}
|
||||
},
|
||||
outputs: {
|
||||
shovel: {
|
||||
bucket: {
|
||||
amount: 1
|
||||
}
|
||||
},
|
||||
|
@ -1059,7 +1064,7 @@ const factory = createLayer(id, () => {
|
|||
})),
|
||||
createUpgrade(() => ({
|
||||
resource: paper.paper,
|
||||
cost: () =>Decimal.pow(10, upgradeAmount.value).mul(1e90),
|
||||
cost: () =>Decimal.pow(5, upgradeAmount.value).mul(1e90),
|
||||
display: {
|
||||
title: "News Ticker",
|
||||
description: "Paper boosts tick speed"
|
||||
|
@ -1068,7 +1073,7 @@ const factory = createLayer(id, () => {
|
|||
})),
|
||||
createUpgrade(() => ({
|
||||
resource: toys.trucks,
|
||||
cost: () =>Decimal.pow(1.25, upgradeAmount.value).mul(1000),
|
||||
cost: () =>Decimal.pow(1.2, upgradeAmount.value).mul(1000),
|
||||
display: {
|
||||
title: "Haul wood in trucks",
|
||||
description: "Trucks multiply wood gain"
|
||||
|
@ -1086,7 +1091,7 @@ const factory = createLayer(id, () => {
|
|||
}))],
|
||||
[createUpgrade(() => ({
|
||||
resource: toys.woodenBlocks,
|
||||
cost: () =>Decimal.pow(1.25, upgradeAmount.value).mul(1000),
|
||||
cost: () =>Decimal.pow(1.2, upgradeAmount.value).mul(2000),
|
||||
display: {
|
||||
title: "Larger wood pieces",
|
||||
description: "Wooden block producers produce 3x as much"
|
||||
|
|
|
@ -288,6 +288,15 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
visibility: () =>
|
||||
showIf(milestone6.earned.value && main.days[factory.advancedDay - 1].opened.value)
|
||||
})) as GenericMilestone;
|
||||
const milestone8 = createMilestone(() => ({
|
||||
display: {
|
||||
requirement: "6000 toys",
|
||||
effectDisplay: "Running out of energy? Let's increase the limit! Multiply energy capacity by 1.4"
|
||||
},
|
||||
shouldEarn: () => Decimal.gte(toySum.value, 6000),
|
||||
visibility: () =>
|
||||
showIf(milestone6.earned.value && main.days[factory.advancedDay - 1].opened.value)
|
||||
})) as GenericMilestone;
|
||||
const milestones = {
|
||||
milestone1,
|
||||
milestone2,
|
||||
|
@ -295,7 +304,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
milestone4,
|
||||
milestone5,
|
||||
milestone6,
|
||||
milestone7
|
||||
milestone7,
|
||||
milestone8
|
||||
};
|
||||
const { collapseMilestones, display: milestonesDisplay } =
|
||||
createCollapsibleMilestones(milestones);
|
||||
|
|
Loading…
Reference in a new issue