new: face expression when a new unit is detected depends on the units bond level
This commit is contained in:
1 parent
f00c861844
commit
032e183ff7
3 files changed
+7
-1
No files matched your search
@@ -55,6 +55,9 @@ class Peer(object):
|
||||
def first_encounter(self):
|
||||
return self.encounters == 1
|
||||
|
||||
def is_good_friend(self, config):
|
||||
return self.encounters >= config['personality']['bond_encounters_factor']
|
||||
|
||||
def face(self):
|
||||
return self.adv.get('face', faces.FRIEND)
|
||||
|
||||
|
||||
Reference in new issue
Block a user