new: new grateful status that can override sad/bored/lonely if units with a strong bond are nearby

This commit is contained in:
Simone Margaritelli
2019-10-23 18:19:43 +02:00
parent 277906a673
commit 36c3ea5bbc
8 changed files with 144 additions and 94 deletions

View File

@ -290,6 +290,11 @@ class View(object):
self.set('status', self._voice.on_miss(who))
self.update()
def on_grateful(self):
self.set('face', faces.GRATEFUL)
self.set('status', self._voice.on_grateful())
self.update()
def on_lonely(self):
self.set('face', faces.LONELY)
self.set('status', self._voice.on_lonely())