Skip to content

Commit

Permalink
(Aegis) set cargos to no-fill
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 19, 2023
1 parent 6789822 commit 698b8a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions industry/docgen/economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ def gen_economy_doc(all_economies, string_manager):
---
# Flowchart
{{% mermaid %}}
flowchart LR;""",
flowchart LR;
classDef cargo fill:none""",
file=f,
)
for industry in economy.industries:
print(f"INDUSTRY_{industry.translation_name}[{industry.name(string_manager)}];", file=f)
for cargo in economy.cargos:
print(f"CARGO_{cargo.label.decode()}(({cargo.name(string_manager)}));", file=f)
print(f"CARGO_{cargo.label.decode()}:::cargo(({cargo.name(string_manager)}));", file=f)
for industry, flow in economy.graph.items():
for cargo in flow.accepts:
print(f"CARGO_{cargo.label.decode()} --> INDUSTRY_{industry.translation_name};", file=f)
Expand Down

0 comments on commit 698b8a7

Please sign in to comment.