Skip to content

Commit

Permalink
Add more team data in the dump
Browse files Browse the repository at this point in the history
  • Loading branch information
IBBoard committed Feb 6, 2022
1 parent ed6dc0d commit cf21340
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dump-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ def next(self):

def print_team(team, debug):
prefix = "Home" if team.team_type == TeamType.HOME else "Away"
print(f"{prefix}: {team.name} ({team.race})")
if debug:
print(f"{prefix}: {team.name} ({team.race} - {team.coach_type.name.title()})")
else:
print(f"{prefix}: {team.name} ({team.race})")
print(f"\t{team.team_value}TV, {team.rerolls} rerolls, {team.apothecaries} apothecaries")
for idx, player in sorted(enumerate(team.get_players()), key=lambda x: x[1].number):
if debug:
print(f"\t{player.number} - {player.name} (idx {idx})")
Expand Down

0 comments on commit cf21340

Please sign in to comment.