2024-06-14 22:11:11 +02:00
|
|
|
const THERMAL_REMOVED_PLATE_RECIPES = [
|
2024-06-14 19:06:44 +02:00
|
|
|
"tin",
|
|
|
|
"lead",
|
|
|
|
"silver",
|
|
|
|
"nickel",
|
|
|
|
"bronze",
|
|
|
|
"invar",
|
|
|
|
"iron",
|
|
|
|
"gold",
|
|
|
|
"copper",
|
|
|
|
"electrum",
|
|
|
|
];
|
|
|
|
|
2024-06-14 22:11:11 +02:00
|
|
|
const THERMAL_REMOVED_GEAR_RECIPES = [
|
2024-06-14 19:06:44 +02:00
|
|
|
"tin",
|
|
|
|
"lead",
|
|
|
|
"silver",
|
|
|
|
"nickel",
|
|
|
|
"bronze",
|
|
|
|
"invar",
|
|
|
|
"iron",
|
|
|
|
"gold",
|
|
|
|
"copper",
|
|
|
|
"electrum",
|
|
|
|
"lapis",
|
|
|
|
"emerald",
|
|
|
|
//"quartz"
|
|
|
|
];
|
|
|
|
|
2024-06-14 22:11:11 +02:00
|
|
|
const THERMAL_REMOVED_NUGGET_RECIPES = [
|
2024-06-14 19:06:44 +02:00
|
|
|
"tin",
|
|
|
|
"lead",
|
|
|
|
"silver",
|
|
|
|
"nickel",
|
|
|
|
"bronze",
|
|
|
|
"electrum",
|
|
|
|
"invar",
|
|
|
|
"copper",
|
|
|
|
];
|
|
|
|
|
|
|
|
ServerEvents.recipes((event) => {
|
|
|
|
// Remove Thermal Foundation recipes for plates
|
2024-06-14 22:11:11 +02:00
|
|
|
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
|
2024-06-14 22:11:11 +02:00
|
|
|
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
|
2024-06-14 22:11:11 +02:00
|
|
|
THERMAL_REMOVED_NUGGET_RECIPES.forEach((metal) => {
|
2024-06-14 19:06:44 +02:00
|
|
|
event.remove({
|
|
|
|
id: `thermal:storage/${metal}_nugget_from_ingot`,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|