function items_py:holder/armor/c/times_appeared/count_shop_active
scoreboard players operation scaled_chestplate times_appeared = min times_appeared
scoreboard players set #scaled_chestplate shop 1
tag @s remove scaled_chestplate

scoreboard players remove mcoins shop 4
