Reorder tree farming jobs

master
Tanner Collin 3 years ago
parent 325f2d6bc6
commit 787474b28d
  1. 4
      jobs.py

@ -971,7 +971,7 @@ class PlantTreeStates:
w = self.g.world
p = utils.pint(self.g.pos)
for opening in w.find_tree_openings(p):
for opening in w.find_tree_openings(p)[::-1]:
print('trying sapling opening', opening)
navpath = w.path_to_place(p, opening)
if navpath:
@ -1502,8 +1502,8 @@ class JobStates:
def farm_wood(self):
machines = [
self.gather_wood_states,
self.plant_tree_states,
self.clear_leaves_states,
self.plant_tree_states,
self.grab_sapling_states,
self.sleep_with_bed_states,
self.cache_items_states,

Loading…
Cancel
Save