scoreboard players set min rng 1
scoreboard players set max rng 6
function rng:interval
scoreboard players operation choose shop = out rng

execute if score choose shop matches 1 run function items:shop/display/potion/healing
execute if score choose shop matches 2 run function items:shop/display/potion/strong_healing
execute if score choose shop matches 3 run function items:shop/display/potion/swiftness
execute if score choose shop matches 4 run function items:shop/display/potion/regeneration
execute if score choose shop matches 5 run function items:shop/display/potion/strong_regeneration
execute if score choose shop matches 6 run function items:shop/display/potion/weakness

tag @s add potion
tag @s add restock
