// priority: 0 onEvent("recipes", event => { let material_to_nugget = { zinc: "create:zinc_nugget", tin: "thermal:tin_nugget", lead: "thermal:lead_nugget", silver: "thermal:silver_nugget", nickel: "thermal:nickel_nugget", aluminum: "immersiveengineering:nugget_aluminum", uranium: "immersiveengineering:nugget_uranium", }; for (let [material, nugget] of Object.entries(material_to_nugget)) { event.smelting(`6x ${nugget}`, `malum:${material}_node`).xp(0.25); event.blasting(`6x ${nugget}`, `malum:${material}_node`).xp(0.25); } });