1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-12-23 13:01:07 +01:00
aetheria/packwiz/1.20.1/kubejs/server_scripts/ad_astra/buttons.js

21 lines
571 B
JavaScript
Raw Normal View History

2024-06-23 21:46:51 +02:00
// Modifies the recipes for buttons to match the Gregified Integrations recipes
ServerEvents.recipes((event) => {
["ad_astra:glacian_button"].forEach((d) =>
gregifyButtonRecipe(event, "<identifier>:<name>", d)
);
[
"ad_astra:iron_plating_button",
"ad_astra:steel_plating_button",
"ad_astra:desh_plating_button",
"ad_astra:ostrum_plating_button",
"ad_astra:calorite_plating_button",
].forEach((d) =>
gregifyButtonRecipe(event, "<identifier>:<name>", d, [
`ad_astra:${idToType(d)}`,
"#forge:tools/hammers",
])
);
});