import crafttweaker.item.IItemTransformer;
#modloaded refinedstorage

for i in 0 to 4 {
    var refinedDisk = <refinedstorage:storage_disk>.definition.makeStack(i);
    var refinedFluidDisk = <refinedstorage:fluid_storage_disk>.definition.makeStack(i);
    var rebornDisk = <rebornstorage:storagecell>.definition.makeStack(i);
    var rebornFluidDisk = <rebornstorage:storagecellfluid>.definition.makeStack(i);

    recipes.addShapeless(<refinedstorage:storage_part>.definition.makeStack(i), [refinedDisk.transformReplace(<refinedstorage:storage_housing>)]);
    recipes.addShapeless(<refinedstorage:fluid_storage_part>.definition.makeStack(i), [refinedFluidDisk.transformReplace(<refinedstorage:storage_housing>)]);
    recipes.addShapeless(<rebornstorage:storagepart>.definition.makeStack(i), [rebornDisk.transformReplace(<refinedstorage:storage_housing>)]);
    recipes.addShapeless(<rebornstorage:storagepart>.definition.makeStack(i + 4), [rebornFluidDisk.transformReplace(<refinedstorage:storage_housing>)]);
}


# More Refined Storage Disks and Parts
for i in 0 to 3 {
    recipes.addShapeless(<morerefinedstorage:storagepart>.definition.makeStack(i), [<morerefinedstorage:storagecell>.definition.makeStack(i)]);
}