scoreboard players set min rng 1
scoreboard players set max rng 2
execute if score active shop matches 1 run scoreboard players add max rng 1
function rng:interval

execute if score out rng matches 1 run summon item ~ ~ ~ {Item:{id:"ender_pearl",Count:1b}}
execute if score out rng matches 2 run function game:room/5_room_end/drops/potions
execute if score out rng matches 3 run function items:shop/summon/meta_coin
