function items_py:holder/passive/b/times_appeared/count_shop_active
scoreboard players operation mana_condenser times_appeared = min times_appeared
scoreboard players set #mana_condenser shop 1
tag @s remove mana_condenser

scoreboard players remove mcoins shop 9
