Files
mina 70744cfd93 script polishes
- removed crafting cover in recipes as it's uncraftable (ironic)
- fixed incorrect item names in storage drawer recipes
2023-12-22 22:56:44 +00:00

21 lines
646 B
JavaScript

ServerEvents.recipes((event) => {
const patpros = [
["lv", "steel", 1],
["mv", "aluminium", 2],
["hv", "stainless_steel", 3],
["ev", "titanium", 4],
];
patpros.forEach((tier) => {
let interProv = (materialType, blockType) => {
event.shaped(`${tier[2]}x ${blockType}`, ["PGP", "ACF", "PGP"], {
P: `#forge:plates/${tier[1]}`,
G: materialType,
A: "ae2:annihilation_core",
F: "ae2:formation_core",
C: `gtceu:${tier[0]}_conveyor_module`,
});
};
interProv("#forge:glass", "ae2:interface");
interProv("minecraft:crafting_table", "ae2:pattern_provider");
});
});