This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { opendir, mkdir, writeFile } from "node:fs/promises"; | |
import path from "node:path"; | |
// usage: put this script under the root folder of MysticalAgriculture project source and run it using Node.js v18 | |
// generated recipes will be under `thermal_integration/recipes` folder. | |
function generateInsolatorRecipe(name) { | |
const potentialEmptyTags = ["silicon", "rubber"]; | |
const potentialEmptyIngotTags = [ | |
"uranium", |