Reorder tree farming jobs
This commit is contained in:
parent
325f2d6bc6
commit
787474b28d
4
jobs.py
4
jobs.py
|
@ -971,7 +971,7 @@ class PlantTreeStates:
|
||||||
w = self.g.world
|
w = self.g.world
|
||||||
p = utils.pint(self.g.pos)
|
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)
|
print('trying sapling opening', opening)
|
||||||
navpath = w.path_to_place(p, opening)
|
navpath = w.path_to_place(p, opening)
|
||||||
if navpath:
|
if navpath:
|
||||||
|
@ -1502,8 +1502,8 @@ class JobStates:
|
||||||
def farm_wood(self):
|
def farm_wood(self):
|
||||||
machines = [
|
machines = [
|
||||||
self.gather_wood_states,
|
self.gather_wood_states,
|
||||||
self.plant_tree_states,
|
|
||||||
self.clear_leaves_states,
|
self.clear_leaves_states,
|
||||||
|
self.plant_tree_states,
|
||||||
self.grab_sapling_states,
|
self.grab_sapling_states,
|
||||||
self.sleep_with_bed_states,
|
self.sleep_with_bed_states,
|
||||||
self.cache_items_states,
|
self.cache_items_states,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user