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:bone,count:1},buyB:{id:ghast_tear,count:4},sell:{id:bone,components:{custom_data:{bloodbone:tag,corpserun:tag},item_name:{"text":"Bloody Bone","italic":false},lore:[{"text":"Gain Blood Moon buffs","italic":false,"color":"gray"},{"text":"Gain buffs upon respawning","italic":false,"color":"gray"}],rarity:uncommon,enchantment_glint_override:1b}}}
tag @s add bloodbonetrinket
execute at @s run kill @n[type=item,tag=bloodbonetrinket]