From 787474b28d171dba27d7c8cf5e1fc1a6151132b9 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 16 Dec 2020 06:14:37 +0000 Subject: [PATCH] Reorder tree farming jobs --- jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jobs.py b/jobs.py index aff68e9..b83a519 100644 --- a/jobs.py +++ b/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,