From cf21340f78b8e32baf2d873a8588a67ada402e2a Mon Sep 17 00:00:00 2001 From: IBBoard Date: Sun, 6 Feb 2022 20:52:14 +0000 Subject: [PATCH] Add more team data in the dump --- dump-data.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dump-data.py b/dump-data.py index 77135bf..d5b6d24 100644 --- a/dump-data.py +++ b/dump-data.py @@ -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})")