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

scoreboard players remove mcoins shop 3
