add buy max to fertilizer

This commit is contained in:
unsoftcapped3 2022-12-18 21:35:01 -08:00 committed by GitHub
parent 7fbeaa8212
commit 30a5e7d80a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -741,7 +741,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
description:
"Noel will automatically purchase fertilized soil you can afford, without actually spending any ash.",
buyable: coal.moreFertilizer,
cooldownModifier: fertilizerCooldown
cooldownModifier: fertilizerCooldown,
buyMax: () => management.elfTraining.heatedPlanterElfTraining.milestones[2].earned.value
});
const coalElves = [heatedCuttersElf, heatedPlantersElf, fertilizerElf];
const smallFireElf = createElf({