$data modify storage workshop handicraft.id set value $(id)
$data modify storage workshop handicraft.rarity set value $(rarity)
$data modify storage workshop handicraft.set_1 set value $(set_1)
$data modify storage workshop handicraft.cost_1 set value $(cost_1)
$data modify storage workshop handicraft.set_2 set value $(set_2)
$data modify storage workshop handicraft.cost_2 set value $(cost_2)

scoreboard players set .workshop_craft room 10
playsound block.anvil.use master @a ~ ~ ~ 10 1 1