From e90224c63dfeb16874055b5cfffb74b5d5e66730 Mon Sep 17 00:00:00 2001 From: Mughur Date: Mon, 2 Jan 2023 16:46:53 +0200 Subject: [PATCH] CORP: Industry descriptions shows what each division uses and makes (#272) --- src/Corporation/IndustryData.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Corporation/IndustryData.tsx b/src/Corporation/IndustryData.tsx index 5820b18b6..00dc03769 100644 --- a/src/Corporation/IndustryData.tsx +++ b/src/Corporation/IndustryData.tsx @@ -284,7 +284,14 @@ export const IndustryDescriptions = (industry: IndustryType, corp: Corporation) const data = IndustriesData[industry]; return ( <> - ${data.description} + {data.description} +
+
+ Required Materials: {Object.keys(data.requiredMaterials).toString().replace(/,/gi, ", ")} +
+ Produces Materials: {data.producedMaterials ? data.producedMaterials.toString().replace(/,/gi, ", ") : "NONE"} +
+ Produces products: {data.product ? "YES" : "NO"}

Starting cost: