mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +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(() => ({
|
||||
display: {
|
||||
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),
|
||||
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;
|
||||
}
|
||||
);
|
||||
}
|
||||
shouldEarn: () => clothElfTraining.level.value >= 3
|
||||
})),
|
||||
createMilestone(() => ({
|
||||
display: {
|
||||
requirement: "Gingersnap Level 4",
|
||||
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),
|
||||
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;
|
||||
});
|
||||
}
|
||||
shouldEarn: () => clothElfTraining.level.value >= 4
|
||||
})),
|
||||
createMilestone(() => ({
|
||||
display: {
|
||||
|
|
Loading…
Reference in a new issue