Add boar luring
No decay accounted for yet
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user