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:2,buy:{id:blue_ice,count:3},sell:{id:prismarine_shard,components:{custom_data:{icegem:tag},attribute_modifiers:[{type:"armor",amount:1,slot:hand,id:"-1240251740262425-34804",operation:add_value}],item_name:{"text":"Ice Gem"},lore:[{"text":"Inflicts slowness","italic":false,"color":"gray"}],rarity:uncommon,enchantment_glint_override:1b,tooltip_display:{hidden_components:[attribute_modifiers]}}}}
tag @s add icegemtrinket
execute at @s run kill @n[type=item,tag=icegemtrinket]