execute if score nodereveal nodereveal matches 0 if score generation generation matches 1 run summon marker ~ ~ ~ {Tags:["room_node"],CustomName:'{"text":"Room Node"}'}
execute if score nodereveal nodereveal matches 0 if score generation generation matches 1 run setblock ~ ~ ~ air

execute if score nodereveal nodereveal matches 1 if score generation generation matches 1 unless entity @e[type=marker,tag=room_node,distance=..1] run summon marker ~ ~ ~ {Tags:["room_node"],CustomName:'{"text":"Room Node"}'}
#execute if score nodereveal nodereveal matches 1 run setblock ~ ~ ~ diamond_block