other player methods
This commit is contained in:
@@ -18,3 +18,14 @@ class BrSimPlayer():
|
||||
rnd= _random.randint(0, 100)
|
||||
if rnd > self.agility: return True
|
||||
return False
|
||||
|
||||
def steal(self):
|
||||
#XXX can steal from death players or from sleeping players
|
||||
pass
|
||||
|
||||
def heal(self):
|
||||
#XXX if you have a wound and you have a medikit item, you can heal your wound or sickness
|
||||
pass
|
||||
|
||||
def get_inventory(self):
|
||||
return self.inventory
|
||||
|
||||
Reference in New Issue
Block a user