2024-06-15 23:46:34 +02:00
|
|
|
const AD_ASTRA_REMOVED_PLATE_RECIPES = ["steel", "iron"];
|
2024-06-14 22:11:11 +02:00
|
|
|
|
|
|
|
const AD_ASTRA_REMOVED_ROD_RECIPES = ["steel"];
|
|
|
|
|
|
|
|
const AD_ASTRA_REMOVED_NUGGET_RECIPES = ["steel"];
|
|
|
|
|
|
|
|
ServerEvents.recipes((event) => {
|
|
|
|
// Remove Ad Astra recipes for plates
|
|
|
|
AD_ASTRA_REMOVED_PLATE_RECIPES.forEach((metal) => {
|
|
|
|
event.remove({
|
|
|
|
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_ingots`,
|
|
|
|
});
|
|
|
|
event.remove({
|
|
|
|
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_blocks`,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// Remove Ad Astra recipes for gears
|
|
|
|
AD_ASTRA_REMOVED_ROD_RECIPES.forEach((metal) => {
|
|
|
|
event.remove({
|
|
|
|
id: `ad_astra:${metal}_rod`,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// Remove Ad Astra recipes for nuggets
|
|
|
|
AD_ASTRA_REMOVED_NUGGET_RECIPES.forEach((metal) => {
|
|
|
|
event.remove({
|
|
|
|
id: `ad_astra:${metal}_nugget`,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|