This commit is contained in:
2020-12-19 08:56:17 +00:00
parent cdd71d2610
commit 25cc638465
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -788,7 +788,8 @@ class SleepWithBedStates:
threats = w.find_threats(p, 30)
if threats:
print('Waking up due to threats')
print('Waking up due to threats:')
print(threats)
self.g.game.leave_bed()
self.state = self.break_bed
elif self.g.time < 100:
@@ -1434,7 +1435,8 @@ class CheckThreatsStates:
threats = w.find_threats(p, 40)
if threats:
print('Found', len(threats), 'threats, fleeing')
print('Found', len(threats), 'threats, fleeing:')
print(threats)
self.state = self.find_safety
else:
print('Aborting, no threats')