#Project created by the koncept

#Random selection
scoreboard objectives add random_cluster dummy

execute store result score cree77 random_cluster run random value 1..18

#file refinement

execute if score cree77 random_cluster matches 1 if score block_bingo_cobbled_deepslate_stairs check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 1 if score block_bingo_cobbled_deepslate_stairs check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/cobbled_deepslate_stairs

execute if score cree77 random_cluster matches 2 if score block_bingo_cobbled_deepslate_wall check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 2 if score block_bingo_cobbled_deepslate_wall check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/cobbled_deepslate_wall

execute if score cree77 random_cluster matches 3 if score block_bingo_cracked_deepslate_tiles check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 3 if score block_bingo_cracked_deepslate_tiles check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/cracked_deepslate_tiles

execute if score cree77 random_cluster matches 4 if score block_bingo_deepslate check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 4 if score block_bingo_deepslate check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate

execute if score cree77 random_cluster matches 5 if score block_bingo_deepslate_brick_slab check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 5 if score block_bingo_deepslate_brick_slab check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_brick_slab

execute if score cree77 random_cluster matches 6 if score block_bingo_deepslate_brick_stairs check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 6 if score block_bingo_deepslate_brick_stairs check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_brick_stairs

execute if score cree77 random_cluster matches 7 if score block_bingo_deepslate_brick_wall check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 7 if score block_bingo_deepslate_brick_wall check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_brick_wall

execute if score cree77 random_cluster matches 8 if score block_bingo_deepslate_tile_slab check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 8 if score block_bingo_deepslate_tile_slab check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_tile_slab

execute if score cree77 random_cluster matches 9 if score block_bingo_deepslate_tile_stairs check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 9 if score block_bingo_deepslate_tile_stairs check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_tile_stairs

execute if score cree77 random_cluster matches 10 if score block_bingo_deepslate_tile_wall check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 10 if score block_bingo_deepslate_tile_wall check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_tile_wall

execute if score cree77 random_cluster matches 11 if score block_bingo_deepslate_tiles check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 11 if score block_bingo_deepslate_tiles check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/deepslate_tiles

execute if score cree77 random_cluster matches 12 if score block_bingo_polished_deepslate check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 12 if score block_bingo_polished_deepslate check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/polished_deepslate

execute if score cree77 random_cluster matches 13 if score block_bingo_polished_deepslate_slab check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 13 if score block_bingo_polished_deepslate_slab check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/polished_deepslate_slab

execute if score cree77 random_cluster matches 14 if score block_bingo_polished_deepslate_stairs check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 14 if score block_bingo_polished_deepslate_stairs check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/polished_deepslate_stairs

execute if score cree77 random_cluster matches 15 if score block_bingo_polished_deepslate_wall check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 15 if score block_bingo_polished_deepslate_wall check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/polished_deepslate_wall

execute if score cree77 random_cluster matches 16 if score block_bingo_chiseled_deepslate check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 16 if score block_bingo_chiseled_deepslate check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/chiseled_deepslate

execute if score cree77 random_cluster matches 17 if score block_bingo_cobbled_deepslate check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 17 if score block_bingo_cobbled_deepslate check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/cobbled_deepslate

execute if score cree77 random_cluster matches 18 if score block_bingo_cobbled_deepslate_slab check_restart_replay matches 1 run scoreboard players set cree77 bingo.random_start 1
execute if score cree77 random_cluster matches 18 if score block_bingo_cobbled_deepslate_slab check_restart_replay matches 0 run function koncept.bingo:bingo/block/standart/cobbled_deepslate_slab

scoreboard objectives remove random_cluster

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