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

scoreboard players remove mcoins shop 6
