#id1
execute as @a if items entity @s container.* coal[custom_data={artifact:sharp_glass}] run function main:mechanics/artifacts/chat {"name":"Sharp Glass","color":"green","score":"sharp_glass","set":"null","rarity":green}
#id2
execute as @a if items entity @s container.* coal[custom_data={artifact:lump_of_meat}] run function main:mechanics/artifacts/id/green/id2/activation
execute as @a if items entity @s container.* coal[custom_data={artifact:lump_of_meat}] run function main:mechanics/artifacts/chat {"name":"Lump of Meat","color":"green","score":"lump_of_meat","set":"null","rarity":green}
#id3
execute as @a if items entity @s container.* coal[custom_data={artifact:sharpener}] run function main:mechanics/artifacts/chat {"name":"Sharpener","color":"green","score":"sharpener","set":"null","rarity":green}
#id4
execute as @a if items entity @s container.* coal[custom_data={artifact:armor_plating}] run function main:mechanics/artifacts/chat {"name":"Armor Plating","color":"green","score":"armor_plating","set":"null","rarity":green}
#id5
execute as @a if items entity @s container.* coal[custom_data={artifact:magnifying_glass}] run function main:mechanics/artifacts/chat {"name":"Magnifying Glass","color":"green","score":"magnifying_glass","set":"null","rarity":green}

schedule function main:mechanics/artifacts/check/green/2 2t