Reorder tree farming jobs
This commit is contained in:
		
							
								
								
									
										4
									
								
								jobs.py
									
									
									
									
									
								
							
							
						
						
									
										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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user