From 30a5e7d80a1861bb02404d132b06799e6abfe17b Mon Sep 17 00:00:00 2001 From: unsoftcapped3 <75136164+unsoftcapped3@users.noreply.github.com> Date: Sun, 18 Dec 2022 21:35:01 -0800 Subject: [PATCH] add buy max to fertilizer --- src/data/layers/elves.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/layers/elves.tsx b/src/data/layers/elves.tsx index 5a36884..dba0ca7 100644 --- a/src/data/layers/elves.tsx +++ b/src/data/layers/elves.tsx @@ -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({