neuralgia/kubejs/server_scripts/tfc_grooming_station/recipes.js
Pyritie 2e10938e1c
Refactor of material recipes (#2732)
* refactor

* phew

* drive-by fix

* all done I think

* cleaned up some lines that didn't do anything, added more comments, removed log spam
2026-01-14 21:36:52 +00:00

21 lines
553 B
JavaScript

// priority: 0
"use strict";
const registerTFCGroomingStationRecipes = (event) => {
global.TFC_EQUIPMENT_METALS.forEach(materialName => {
const trough = `tfcgroomer:${materialName}_grooming_station`;
event.recipes.gtceu.shaped(trough, [
'ABA',
'AAA',
'C C'
], {
A: `#forge:plates/${materialName}`,
B: '#forge:tools/hammers',
C: 'tfc:wattle'
}).addMaterialInfo().id(`tfcgroomer:${materialName}_grooming_station`)
addMaterialRecyclingNoTagPrefix(event, trough, GTMaterials.get(materialName), 'grooming_station', 5);
})
}