Procházet zdrojové kódy

integration: ignore some AL recipes

raylu před 1 měsícem
rodič
revize
d35e9ee188
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      integration.py

+ 2 - 0
integration.py

@@ -21,6 +21,8 @@ def main() -> None:
 			if mat in (i['material_ticker'] for i in recipe['inputs']) and len(recipe['outputs']) == 1)
 	output_mats = {}
 	for recipe in sorted(wrought, key=lambda r: r['outputs'][0]['material_ticker']):
+		if recipe['recipe_name'] in ['3xSIO 1xAL=>1xSI', '4xTS 1xO 1xAL=>1xSI', '6xAL 1xHE=>1xDRF']:
+			continue
 		(output,) = recipe['outputs']
 		(input,) = (i for i in recipe['inputs'] if i['material_ticker'] == mat)
 		ratio = input['material_amount'] / output['material_amount']