define players and items coordinates to be used on the map
This commit is contained in:
@@ -19,9 +19,14 @@ class BrSimPlayer():
|
||||
self.equipped_weapon= None
|
||||
self.gender= _random.sample(['m', 'f', '-'], 1)[0] # for now get a random gender
|
||||
self.reputation= 50 #Like RDR2 the player can be evil(0) or good(100). This should influence the sponsors and internal alliance
|
||||
self.coord_x= 0
|
||||
self.coord_y= 0
|
||||
|
||||
### control methods
|
||||
|
||||
def get_player_coordinates(self):
|
||||
return self.coord_x. self.coord_y
|
||||
|
||||
def get_name_and_stats(self):
|
||||
health= '♥️' * self.health or '☠️'
|
||||
strength= '⚔️' * self.damage
|
||||
|
||||
Reference in New Issue
Block a user