#execute as @e[limit=1,sort=nearest,nbt={Item:{id:knowledge_book}},tag=!itemguard] run data merge entity @s {Glowing:1b,Tags:[itemguard,special],Item:{tag:{necrotome:tag,Recipes:[stick],display:{Name:'[{"text":"Necronomicon","italic":false,"color":"light_purple"}]',Lore:['[{"text":"Deals 40 damage to all mobs in a short range","italic":false,"color":"gray"}]']},Enchantments:[{}]}}}
execute at @e[limit=1,sort=nearest,nbt={Item:{id:knowledge_book}},tag=!itemguard] run function survivalplus:giant_deal/convert/converteffect
execute at @e[limit=1,sort=nearest,nbt={Item:{id:knowledge_book}},tag=!itemguard] run summon item ~ ~ ~ {Glowing:1b,Tags:[itemguard,special],Item:{id:knowledge_book,components:{"minecraft:custom_data":{necrotome:tag},"minecraft:recipes":["survivalplus:tomes/necro"],"minecraft:item_name":{"text":"Necronomicon","italic":false,"color":"light_purple"},"minecraft:lore":[[{"text":"Deals 40 damage to all mobs in a short range","italic":false,"color":"gray"}]],"minecraft:enchantment_glint_override":1b}}}
kill @e[limit=1,sort=nearest,nbt={Item:{id:knowledge_book}},tag=!itemguard]