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(() => ({
|
createMultiplicativeModifier(() => ({
|
||||||
multiplier: 1.4,
|
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
|
enabled: toys.milestones.milestone6.earned
|
||||||
}))
|
}))
|
||||||
]);
|
]);
|
||||||
|
@ -537,7 +542,7 @@ const factory = createLayer(id, () => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
outputs: {
|
outputs: {
|
||||||
shovel: {
|
bucket: {
|
||||||
amount: 1
|
amount: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1059,7 +1064,7 @@ const factory = createLayer(id, () => {
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: paper.paper,
|
resource: paper.paper,
|
||||||
cost: () =>Decimal.pow(10, upgradeAmount.value).mul(1e90),
|
cost: () =>Decimal.pow(5, upgradeAmount.value).mul(1e90),
|
||||||
display: {
|
display: {
|
||||||
title: "News Ticker",
|
title: "News Ticker",
|
||||||
description: "Paper boosts tick speed"
|
description: "Paper boosts tick speed"
|
||||||
|
@ -1068,7 +1073,7 @@ const factory = createLayer(id, () => {
|
||||||
})),
|
})),
|
||||||
createUpgrade(() => ({
|
createUpgrade(() => ({
|
||||||
resource: toys.trucks,
|
resource: toys.trucks,
|
||||||
cost: () =>Decimal.pow(1.25, upgradeAmount.value).mul(1000),
|
cost: () =>Decimal.pow(1.2, upgradeAmount.value).mul(1000),
|
||||||
display: {
|
display: {
|
||||||
title: "Haul wood in trucks",
|
title: "Haul wood in trucks",
|
||||||
description: "Trucks multiply wood gain"
|
description: "Trucks multiply wood gain"
|
||||||
|
@ -1086,7 +1091,7 @@ const factory = createLayer(id, () => {
|
||||||
}))],
|
}))],
|
||||||
[createUpgrade(() => ({
|
[createUpgrade(() => ({
|
||||||
resource: toys.woodenBlocks,
|
resource: toys.woodenBlocks,
|
||||||
cost: () =>Decimal.pow(1.25, upgradeAmount.value).mul(1000),
|
cost: () =>Decimal.pow(1.2, upgradeAmount.value).mul(2000),
|
||||||
display: {
|
display: {
|
||||||
title: "Larger wood pieces",
|
title: "Larger wood pieces",
|
||||||
description: "Wooden block producers produce 3x as much"
|
description: "Wooden block producers produce 3x as much"
|
||||||
|
|
|
@ -288,6 +288,15 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
visibility: () =>
|
visibility: () =>
|
||||||
showIf(milestone6.earned.value && main.days[factory.advancedDay - 1].opened.value)
|
showIf(milestone6.earned.value && main.days[factory.advancedDay - 1].opened.value)
|
||||||
})) as GenericMilestone;
|
})) 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 = {
|
const milestones = {
|
||||||
milestone1,
|
milestone1,
|
||||||
milestone2,
|
milestone2,
|
||||||
|
@ -295,7 +304,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
milestone4,
|
milestone4,
|
||||||
milestone5,
|
milestone5,
|
||||||
milestone6,
|
milestone6,
|
||||||
milestone7
|
milestone7,
|
||||||
|
milestone8
|
||||||
};
|
};
|
||||||
const { collapseMilestones, display: milestonesDisplay } =
|
const { collapseMilestones, display: milestonesDisplay } =
|
||||||
createCollapsibleMilestones(milestones);
|
createCollapsibleMilestones(milestones);
|
||||||
|
|
Loading…
Reference in a new issue