Skip to content

Instantly share code, notes, and snippets.

View Cha14ka's full-sized avatar

Cha14ka Cha14ka

View GitHub Profile
@shanoaice
shanoaice / generate-thermal_insolator-mysticalag-recipes.mjs
Last active March 12, 2025 22:51
Generate Thermal Expansion's Insulator Machine Recipes for Mystical Agriculture
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",