Add boar luring

No decay accounted for yet
This commit is contained in:
Nate Bowman
2026-11-06 19:13:57 -05:00
parent c6550fb007
commit e67085aab7
4 changed files with 40 additions and 5 deletions

View File

@@ -55,6 +55,15 @@ class Gameplay():
(old_task, new_task, count,)))
def lure_huntable_with_villager(self,
action_time,
previous_task,
walking_time=30):
self._check_time(action_time)
self.actions[action_time].append((self.world.lure_huntable_with_villager,
(previous_task, walking_time)))
def _check_time(self, action_time):
# TODO will it work if we do something at current time?
if self.world.current_time > action_time: