execute at @s run function survivalplus:tools/upgrade_effect
data remove entity @s Offers.Recipes[{buy:{id:"minecraft:rabbit_foot",components:{"minecraft:custom_data":{del:"tag"}}}}]
data modify entity @s Offers.Recipes append value {maxUses:3,buy:{id:copper_ingot,count:2},buyB:{id:lapis_lazuli,count:4},sell:{id:copper_ingot,components:{custom_data:{revive:tag},item_name:"Ankh Charm",lore:[{"text":"Set spawn on death","color":"gray","italic":false},{"text":"Curse of Vanishing","italic":false,"color":"red"}],rarity:uncommon,enchantment_glint_override:1b}}}
tag @s add husktrinket
execute at @s run kill @n[type=item,tag=husktrinket]