Batch crop farming and stop on unreachable barrels

This commit is contained in:
Tanner
2026-11-05 23:37:10 +00:00
parent ef7bf1d7da
commit 09035793e2
5 changed files with 63 additions and 7 deletions
+2 -6
View File
@@ -242,13 +242,9 @@ class GrabSuppliesStates:
self.checked_supplies = []
return
else:
print('No path, blacklisting barrel')
time.sleep(0.1)
print('Barrel is unreachable; ending supply task')
self.bad_barrels.append(self.barrel)
if len(self.bad_barrels) > 3:
self.state = self.cleanup
else:
self.state = self.choose_barrel
self.state = self.cleanup
def going_to_barrel(self):
if utils.pint(self.g.pos) == self.opening: