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 {buy:{id:emerald,count:6},sell:{id:rabbit_foot,components:{custom_data:{luck:tag},lore:[{"text":"Allows special drops from mobs","italic":false,"color":"gray"},{"text":"and other special things","italic":true,"color":"yellow"}],rarity:uncommon,enchantment_glint_override:1b}}}
tag @s add foottrinket
execute at @s run kill @n[type=item,tag=foottrinket]