From e14f479531315f74ce3016f4a2113eb5a9d83249 Mon Sep 17 00:00:00 2001 From: "Yi Yang @ Anteros" Date: Mon, 13 Nov 2023 11:33:53 +0800 Subject: [PATCH] (Aegis) Add cargo-data in docs --- industry/docgen/economy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/industry/docgen/economy.py b/industry/docgen/economy.py index 12dc523e..910af936 100644 --- a/industry/docgen/economy.py +++ b/industry/docgen/economy.py @@ -71,8 +71,8 @@ def gen_economy_doc(all_economies, string_manager): """ # Cargos -| Cargo | Class | Capacity Multiplier | Weight | -|-------|-------|---------------------|--------|""", +| Cargo | Class | Capacity Multiplier | Weight | Penalty1 | Penalty2 | Base Price | +|-------|-------|---------------------|--------|----------|----------|------------|""", file=f, ) for cargo in economy.cargos: @@ -81,7 +81,7 @@ def gen_economy_doc(all_economies, string_manager): cargolink = lambda x: f"[{x.name(string_manager)}](../cargos/{x.label.decode()}.html)" print( - f"| {cargolink(cargo)} | {cargo_class(cargo.cargo_class)} | {cargo.capacity_multiplier / 0x100} | {cargo.weight / 16} |", + f"| {cargolink(cargo)} | {cargo_class(cargo.cargo_class)} | {cargo.capacity_multiplier / 0x100} | {cargo.weight / 16} | {cargo.penalty1} | {cargo.penalty2} | {cargo.base_price} |", file=f, )