#Project created by the koncept
#file refinement

execute if score cree77 random_item_bingo matches 21 if score item_bingo_echo_shard check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_item_bingo matches 21 if score item_bingo_echo_shard check_restart_replay matches 0 run function koncept.bingo:bingo/item/hardcore/echo_shard

execute if score cree77 random_item_bingo matches 22 if score item_bingo_enchanted_book check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_item_bingo matches 22 if score item_bingo_enchanted_book check_restart_replay matches 0 run function koncept.bingo:bingo/item/hardcore/enchanted_book

execute if score cree77 random_item_bingo matches 23 if score item_bingo_end_crystal check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_item_bingo matches 23 if score item_bingo_end_crystal check_restart_replay matches 0 run function koncept.bingo:bingo/item/hardcore/end_crystal

execute if score cree77 random_item_bingo matches 24..25 run function koncept.bingo:bingo/file_selection/hardcore/cluster/music_disc

scoreboard objectives remove random_item_bingo
scoreboard objectives add random_item_bingo dummy

execute if score cree77 bingo.random_start matches 1 run function koncept.bingo:bingo/random_start1

