|
|
@@ -28,9 +28,10 @@ def main() -> None:
|
|
|
print()
|
|
|
|
|
|
company_report = integration.pmmg_monthly_report()[company['CompanyId']]
|
|
|
- for mat in company_report.keys():
|
|
|
+ for mat, production in company_report.items():
|
|
|
expertise = experts.get(mat)
|
|
|
- print(mat, expertise, ', '.join(cogc_planets.get(expertise, []))) # pyright: ignore[reportArgumentType, reportCallIssue]
|
|
|
+ print(f'{mat:3} {production["amount"]:8,.0f} {expertise or '':19}',
|
|
|
+ ', '.join(cogc_planets.get(expertise, []))) # pyright: ignore[reportArgumentType, reportCallIssue]
|
|
|
|
|
|
def iter_planet_cogc() -> typing.Iterator[tuple[Planet, Expertise | None]]:
|
|
|
all_planets: typing.Collection[Planet] = cache.get('https://universemap.taiyibureau.de/planet_data.json',
|