execute if score hardmode hardmode matches 1 as @n[tag=zombmerchant,tag=!sellrecall,type=villager] at @s run function survivalplus:merchants/recalltrade
execute if score hardmode hardmode matches 1 as @n[tag=zombmerchant,tag=!sellrandomtp,type=villager] at @s run function survivalplus:merchants/randomtptrade
execute if score hardmode hardmode matches 1 as @n[tag=zombmerchant,tag=!selldupetome,type=villager] at @s if entity @e[tag=hmmerchant,distance=..10] run function survivalplus:merchants/dupetometrade
execute if score wither death matches 1 as @n[tag=zombmerchant,tag=!selllessspawn,type=villager] run data remove entity @s Offers.Recipes[{buy:{id:"minecraft:wither_skeleton_skull",components:{"minecraft:custom_data":{del:"tag"}}}}]
execute if score wither death matches 1 as @n[tag=zombmerchant,tag=!selllessspawn,type=villager] at @s run function survivalplus:merchants/lessspawntrade
advancement revoke @s only survivalplus:tools/interacttrinker