forked from copygirl/heck
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
578 B
18 lines
578 B
// 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`); |
|
event.blasting(`6x ${nugget}`, `malum:${material}_node`); |
|
} |
|
});
|
|
|