import { factorioPath, getJsonData } from "./helpers/file.helper.js"; import type { DataRawDump } from "./factorio-process-data.models.js"; //const modsPath = `${factorioPath}/mods`; const scriptOutputPath = `${factorioPath}/script-output`; const dataRawPath = `${scriptOutputPath}/data-raw-dump.json`; // const tempPath = "./scripts/temp"; // const tempIconsPath = `${tempPath}/icons`; const data = getJsonData(dataRawPath) as DataRawDump; Object.values(data["assembling-machine"]).forEach((machine) => console.log(machine.name));