onEvent('recipes', (event) => {

    const grids = [
        { base: 'refinedstorage:grid', wireless: 'refinedstorage:wireless_grid'},
        { base: 'refinedstorage:fluid_grid', wireless: 'refinedstorage:wireless_fluid_grid'},
        { base: 'refinedstorage:crafting_monitor', wireless: 'refinedstorage:wireless_crafting_monitor'},
        { base: 'refinedstorage:crafting_grid', wireless: 'refinedstorageaddons:wireless_crafting_grid'},
    ];

    grids.forEach(grid => {
        event.shaped(grid.wireless, 
            [
                'ABA',
                'CDC',
                'AEA'
            ], 
            {
                A: '#forge:plates/stainless_steel',
                B: 'appliedenergistics2:wireless_receiver',
                C: 'botania:corporea_spark',
                D: grid.base,
                E: 'powah:battery_starter'
            }
        ).id(`kubejs:shaped/${grid.wireless.substring(grid.wireless.indexOf(':')+1)}`);
    });

});