1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-09-20 05:13:20 +02:00
aetheria/packwiz/1.20.1/kubejs/server_scripts/thermal_gtc_integration.js

63 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-06-17 20:59:21 +02:00
ServerEvents.recipes((event) => {
const THERMAL_REMOVED_PLATE_RECIPES = [
"tin",
"lead",
"silver",
"nickel",
"bronze",
"invar",
"iron",
"gold",
"copper",
"electrum",
];
2024-06-14 19:06:44 +02:00
2024-06-17 20:59:21 +02:00
const THERMAL_REMOVED_GEAR_RECIPES = [
"tin",
"lead",
"silver",
"nickel",
"bronze",
"invar",
"iron",
"gold",
"copper",
"electrum",
"lapis",
"emerald",
//"quartz"
];
2024-06-14 19:06:44 +02:00
2024-06-17 20:59:21 +02:00
const THERMAL_REMOVED_NUGGET_RECIPES = [
"tin",
"lead",
"silver",
"nickel",
"bronze",
"electrum",
"invar",
"copper",
];
2024-06-14 19:06:44 +02:00
// Remove Thermal Foundation recipes for plates
THERMAL_REMOVED_PLATE_RECIPES.forEach((metal) => {
2024-06-14 19:06:44 +02:00
event.remove({
id: `thermal:machines/press/press_${metal}_ingot_to_plate`,
});
});
// Remove Thermal Foundation recipes for gears
THERMAL_REMOVED_GEAR_RECIPES.forEach((metal) => {
2024-06-14 19:06:44 +02:00
event.remove({
id: `thermal:parts/${metal}_gear`,
});
});
// Remove Thermal Foundation recipes for nuggets
THERMAL_REMOVED_NUGGET_RECIPES.forEach((metal) => {
2024-06-14 19:06:44 +02:00
event.remove({
id: `thermal:storage/${metal}_nugget_from_ingot`,
});
});
});