execute at @s run tp @s ~ ~-1 ~
execute at @s[tag=!SaveTorch] run fill ~-79 ~ ~-79 ~79 ~ ~79 redstone_torch replace torch
execute as @s[predicate=suhc:overworld] run execute at @s[tag=!SaveTorch] run execute unless entity @e[type=marker,distance=..120,tag=BirchTavernMarkerMid] run fill ~-79 ~ ~-79 ~79 ~ ~79 obsidian replace lava
execute as @s[predicate=!suhc:overworld] run execute at @s run fill ~-79 ~ ~-79 ~79 ~ ~79 obsidian replace lava
execute at @s run fill ~-79 ~ ~-79 ~79 ~ ~79 air replace glowstone
execute at @s run fill ~-79 ~ ~-79 ~79 ~ ~79 air replace fire

scoreboard players add @s QDK2 1
execute as @s[scores={QDK2=..40}] run function zzzzdonotuse:randomevent/darknessfill
kill @s[scores={QDK2=40..}]

