tag @e[tag=ingame_items] add tesla_coil_hat

tag @s add tesla_coil_hat
tag @s add s
tag @s add armor
scoreboard players set @s shop 0
data modify entity @e[tag=cost,sort=nearest,limit=1] CustomName set value '["",{"text":"?","color":"dark_green"},{"text":"\\uF81d","color":"gray"}]'

data modify entity @e[tag=name,sort=nearest,limit=1] CustomName set value '[{"translate":"tesla_coil_hat.name","color":"gold","bold":true,"italic":false,"underlined":true}]'
data merge entity @e[type=item,tag=shop_d,sort=nearest,limit=1] {Item:{id:"leather_helmet",tag:{CustomModelData:None,display:{color:12105372}}}}
