scoreboard objectives add dungeon dummy
scoreboard objectives add rooms_from_spawn dummy
scoreboard objectives add room_state dummy
scoreboard objectives add generation dummy
scoreboard objectives add clock dummy

scoreboard players set max_rooms dungeon 20
scoreboard players set min_rooms dungeon 12
scoreboard players set %_less_per_room dungeon 2
scoreboard players set %_of_room dungeon 50

execute unless score floor dungeon matches ..0 unless score floor dungeon matches 0.. run scoreboard players set floor dungeon 1
execute unless score global clock matches ..0 unless score global clock matches 0.. run scoreboard players set global clock 0
execute unless score clear_max clock matches ..0 unless score clear_max clock matches 0.. run scoreboard players set clear_max clock 10
execute unless score room_max clock matches ..0 unless score room_max clock matches 0.. run scoreboard players set room_max clock 10
