'use strict';
onEvent('recipes', (event) => {
    if (global.isNormalMode == false) {
        return;
    }

    const recipes = [
        {
            output: Item.of('emendatusenigmatica:signalum_dust', 4),
            inputs: [
                '#forge:dusts/silver',
                '#forge:dusts/copper',
                '#forge:dusts/copper',
                '#forge:dusts/copper',
                '#forge:dusts/redstone',
                '#forge:dusts/redstone',
                '#forge:dusts/redstone',
                '#forge:dusts/redstone'
            ],
            id: 'emendatusenigmatica:alloy_dust/signalum'
        }
    ];

    recipes.forEach((recipe) => {
        event.shapeless(recipe.output, recipe.inputs).id(recipe.id);
    });
});
