Implement 26.3 food consumption
This commit is contained in:
@@ -404,6 +404,11 @@ class Commands:
|
||||
self.g.job.state = self.g.job.sleep
|
||||
reply = 'ok'
|
||||
|
||||
## 1eat - eat one food item when hunger/health requires it
|
||||
if command == 'eat':
|
||||
self.g.job.state = self.g.job.eat
|
||||
reply = 'ok'
|
||||
|
||||
## 1gather wood - gathers wood from the world
|
||||
## 1gather sand - gathers sand from the world
|
||||
if command == 'gather' and data:
|
||||
|
||||
Reference in New Issue
Block a user