other player methods

This commit is contained in:
andrea committed 2025-07-23 21:22:34 +02:00
1 parent 3f340fcd2c
commit bb396ae8d3
2 files changed
+13 -1

No files matched your search

+11
View File
@@ -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