remove dye resetting

This commit is contained in:
unsoftcapped3 2022-12-19 19:16:52 +00:00
parent 56f0096fd9
commit c1cc2e26e1

View file

@ -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: {