kill @s[tag=nitDeathMark]
execute as @e[type=minecraft:villager,distance=..2,tag=!smithed.entity] run data merge entity @e[type=villager,distance=..2,limit=1] {VillagerData:{profession:cartographer,level:2,type:"plains"},Invulnerable:1,PersistenceRequired:1,NoAI:1,CustomName:'{"text":"Harold"}',ActiveEffects:[{Id:10,Amplifier:0,Duration:999999}],Offers:{Recipes:[{buy:{id:potion,Count:1,tag:{Potion:"minecraft:water"}},buyB:{id:bread,Count:1},sell:{id:"minecraft:music_disc_13",Count:1,tag:{nitk_uniqueItem:1b,HideFlags:1,display:{Lore:['{"text":"A mysterious artifact","color":"gray","italic":false}','{"text":"brought back from the grave.","color":"gray","italic":false}'],Name:'{"text":"Undead Soul","color":"aqua","italic":false}'},Enchantments:[{id:"minecraft:protection",lvl:0}]}},rewardExp:0b,maxUses:1}]}}
execute as @e[type=minecraft:villager,distance=..2,tag=!smithed.entity] run tag @e[tag=nitHaroldCage] add nitDeathMark