neuralgia/kubejs/server_scripts/modern_markings/recipes.js
Redeix f7ec600f13
Modern markings integration (#1228)
* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

---------

Co-authored-by: Pyritie <pyritie@gmail.com>
2025-06-29 20:02:42 +01:00

30 lines
No EOL
1.1 KiB
JavaScript

const registerModernMarkingRecipes = (event) => {
event.remove({mod: 'ags_modernmarkings'})
event.shaped('16x ags_modernmarkings:wall_marking_hazard_diamond', [
' B ',
'AEC',
' D '
], {
A: '#forge:dyes/blue',
B: '#forge:dyes/red',
C: '#forge:dyes/yellow',
D: '#forge:dyes/white',
E: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1)
}).id('tfg:shaped/wall_marking_hazard_diamond')
event.recipes.gtceu.large_chemical_reactor('tfg:large_chemical_reactor/wall_marking_hazard_diamond')
.inputFluids(Fluid.of('tfc:blue_dye', 144), Fluid.of('tfc:red_dye', 144), Fluid.of('tfc:yellow_dye', 144), Fluid.of('tfc:white_dye', 144))
.itemInputs(ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1))
.itemOutputs('32x ags_modernmarkings:wall_marking_hazard_diamond')
.duration(240)
.EUt(GTValues.VA[GTValues.LV])
const markings = Ingredient.of('#ags_modernmarkings:markings').itemIds.toArray().map(String);
markings.forEach(item => {
event.stonecutting(item,
Ingredient.of('#ags_modernmarkings:markings').subtract(item)
).id(`tfg:stonecutter/${item.replace(/:/g, "/")}`)
})
};