data modify entity @n[tag=addingmeter] Item.components."minecraft:lore" append value {"text":"Depth Meter equipped",color:gray,italic:0b}
data modify entity @n[tag=addingmeter] Item.components."minecraft:custom_data" merge from entity @s Item.components."minecraft:custom_data"
tag @e remove addingmeter
function survivalplus:tools/upgrade_effect_small
kill @s