feat(*): Improve cactus harvesting efficiency with multiple drones

This commit is contained in:
Josh Creek
2025-12-24 13:00:22 +00:00
parent ae3b0759cb
commit 096378b6ac
2 changed files with 30 additions and 9 deletions
+2 -4
View File
@@ -21,14 +21,12 @@ def harvest_sunflowers_wrapper():
# which are needed as we're passing an argument into the function
sunflowers.harvest_sunflowers(sunflowers_array)
clear()
while True:
run_loop(num_loops, 'hay', hay.harvest_hay_with_multiple_drones)
run_loop(num_loops, 'wood', wood.harvest_wood)
run_loop(num_loops * 20, 'carrots', carrots.harvest_carrots_with_multiple_drones)
run_loop(num_loops, 'pumpkins', pumpkins.harvest_pumpkins_with_multiple_drones)
sunflowers.initial_planting_performed = False
run_loop(num_loops * 50, 'sunflowers', harvest_sunflowers_wrapper)
run_loop(1, 'cacti', cacti.spawn_drones)
run_loop(1, 'sunflowers', harvest_sunflowers_wrapper)
run_loop(1, 'cacti', cacti.harvest_cacti_with_multiple_drones)
run_loop(10, "maze", mazes.navigate_maze)