Implement grow method and harvest function
This commit is contained in:
@@ -6,3 +6,7 @@ class FarmAgent:
|
||||
@staticmethod
|
||||
def get_manual():
|
||||
return "Инструкция: pH 6.0"
|
||||
|
||||
def harvest(self):
|
||||
ready = [c for c in self._module.cultures if c._stage == "Красный"]
|
||||
return len(ready)
|
||||
|
||||
Reference in New Issue
Block a user