From 83b0032c237a1e1ced9b0f5f11f815e57b50c134 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 23 Jan 2026 21:25:17 -0500 Subject: [PATCH] Adjust sunflower placement logic for larger power thresholds and simplify harvesting. --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 6229939..111623b 100644 --- a/main.py +++ b/main.py @@ -91,11 +91,11 @@ if __name__ == "__main__": # only run this if our total power is below 5k. # why? because the rest doesn't use over 5k power. - while num_items(Items.Power) < 5000: + while num_items(Items.Power) < 50000: utils.move_to(0, 0) - grid = sunflowers.place(sectionSize, sectionSize) + grid = sunflowers.place(worldSize, worldSize) utils.move_to(0, 0) - sunflowers.harvest_grid(sectionSize, sectionSize, grid) + sunflowers.harvest_grid(grid) utils.move_to(0, 0) cactus.place(sectionSize, sectionSize)