execute if entity @s[tag=nitSiteEast] run place template nitco:fortress/doompump ~1 ~-6 ~-7

execute if entity @s[tag=nitSiteWest] run place template nitco:fortress/doompump ~-15 ~-6 ~-7

execute if entity @s[tag=nitSiteNorth] run place template nitco:fortress/doompump ~-7 ~-6 ~-15

execute if entity @s[tag=nitSiteSouth] run place template nitco:fortress/doompump ~-7 ~-6 ~1

function nitco:siteplanner/new_sites_check
advancement grant @a[distance=..20] only nitco:nitco/ach5.2 build-doompump

execute as @e[tag=nitDoomOp,limit=1,sort=nearest] at @s run function nitco:recurs/doom_operator