mirror of
https://github.com/jcreek/TheFarmerWasReplaced.git
synced 2026-07-13 19:13:45 +00:00
feat(*): Improve cactus harvesting efficiency with multiple drones
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user