CORP: Industry descriptions shows what each division uses and makes (#272)

This commit is contained in:
Mughur 2023-01-02 16:46:53 +02:00 committed by GitHub
parent 7d98c680e5
commit e90224c63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -284,7 +284,14 @@ export const IndustryDescriptions = (industry: IndustryType, corp: Corporation)
const data = IndustriesData[industry];
return (
<>
${data.description}
{data.description}
<br />
<br />
Required Materials: {Object.keys(data.requiredMaterials).toString().replace(/,/gi, ", ")}
<br />
Produces Materials: {data.producedMaterials ? data.producedMaterials.toString().replace(/,/gi, ", ") : "NONE"}
<br />
Produces products: {data.product ? "YES" : "NO"}
<br />
<br />
Starting cost: <MoneyCost money={data.startingCost} corp={corp} />