mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-04-01 21:41:00 +00:00
remove dye resetting
This commit is contained in:
parent
56f0096fd9
commit
c1cc2e26e1
1 changed files with 4 additions and 20 deletions
|
@ -841,35 +841,19 @@ const layer = createLayer(id, () => {
|
||||||
createMilestone(() => ({
|
createMilestone(() => ({
|
||||||
display: {
|
display: {
|
||||||
requirement: "Gingersnap Level 3",
|
requirement: "Gingersnap Level 3",
|
||||||
effectDisplay: "Double all dye colors and cloth actions, but reset all dyes."
|
effectDisplay: "Double all dye colors and cloth actions"
|
||||||
},
|
},
|
||||||
visibility: () => showIf(clothElfMilestones[1].earned.value),
|
visibility: () => showIf(clothElfMilestones[1].earned.value),
|
||||||
shouldEarn: () => clothElfTraining.level.value >= 3,
|
shouldEarn: () => clothElfTraining.level.value >= 3
|
||||||
onComplete() {
|
|
||||||
(["red", "yellow", "blue", "orange", "green", "purple"] as const).forEach(
|
|
||||||
dyeColor => {
|
|
||||||
dyes.dyes[dyeColor].amount.value = 0;
|
|
||||||
dyes.dyes[dyeColor].buyable.amount.value = 0;
|
|
||||||
main.days[10].recentlyUpdated.value = true;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
})),
|
})),
|
||||||
createMilestone(() => ({
|
createMilestone(() => ({
|
||||||
display: {
|
display: {
|
||||||
requirement: "Gingersnap Level 4",
|
requirement: "Gingersnap Level 4",
|
||||||
effectDisplay:
|
effectDisplay:
|
||||||
"Raise secondary dyes' first effects to the 1.1 but reset primary dyes"
|
"Raise secondary dyes' first effects to the 1.1"
|
||||||
},
|
},
|
||||||
visibility: () => showIf(clothElfMilestones[2].earned.value && main.day.value >= 13),
|
visibility: () => showIf(clothElfMilestones[2].earned.value && main.day.value >= 13),
|
||||||
shouldEarn: () => clothElfTraining.level.value >= 4,
|
shouldEarn: () => clothElfTraining.level.value >= 4
|
||||||
onComplete() {
|
|
||||||
(["red", "yellow", "blue"] as const).forEach(dyeColor => {
|
|
||||||
dyes.dyes[dyeColor].amount.value = 0;
|
|
||||||
dyes.dyes[dyeColor].buyable.amount.value = 0;
|
|
||||||
main.days[10].recentlyUpdated.value = true;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
})),
|
})),
|
||||||
createMilestone(() => ({
|
createMilestone(() => ({
|
||||||
display: {
|
display: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue