Răsfoiți Sursa

shipbuilding: add more buyable mats

raylu 1 săptămână în urmă
părinte
comite
d33bd298df
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  1. 5 1
      ts/shipbuilding.ts

+ 5 - 1
ts/shipbuilding.ts

@@ -4,7 +4,9 @@ const buy = new Set([
 	// definitely buy
 	'C', 'FLX', 'H', 'H2O', 'HAL', 'HCP', 'HE', 'LST', 'MG', 'N', 'NA', 'NCS', 'NS', 'O', 'PE', 'PG', 'S', 'TCL', 'THF',
 	// maybe buy
-	'AU', 'BRM', 'CU', 'FE', 'LI', 'RG', 'ROM', 'SI', 'TI',
+	'AIR', 'AU', 'BE', 'BRM', 'CU', 'FAN', 'FC', 'FE', 'HCC', 'HD', 'LDI', 'LI', 'MFK', 'MWF', 'REA', 'RG', 'RGO', 'ROM', 'SFK', 'SI', 'STL', 'TI', 'TPU',
+	// import
+	'AAR', 'AWF', 'CAP', 'CF',
 	// skip
 	'LFE', 'LHP', 'MFE', 'SFE', 'SSC',
 ])
@@ -64,6 +66,8 @@ async function render() {
 		renderAnalysis(analysisNodes),
 		element('p', {textContent: `total cost: ${formatWhole(cost)}`}),
 		renderProduction(expertiseGroups, production, prices),
+		element('h2', {textContent: 'buy'}),
+		element('p', {textContent: Array.from(buy).join(', ')}),
 	);
 }