#data modify entity @s Item set value {id:"minecraft:paper",Count:1b,tag:{}}
#data modify entity @s Item set value {id:"minecraft:glowstone_dust",Count:1b,tag:{kyutrinket:1b,kyuspices:1b,display:{Name:"{\"text\":\"Suspicious Spices\"}",Lore:['[{"text":"Effect 1 - ","color":"dark_aqua"},{"text":"Saturation","color":"gold"}]','{"text":"All food items grant a tiny bit of extra saturation/hunger restoration.","color":"gold"}','{"text":"Zombie flesh in particular gains a massive boost,","color":"gold"}','{"text":"and the hunger effect it sometimes gives will be removed.","color":"gold"}','{"text":""}','[{"text":"Effect 2 - ","color":"dark_aqua"},{"text":"Regeneration","color":"light_purple"}]','{"text":"Golden apples will always heal an additional half a heart,","color":"light_purple"}','{"text":"and golden carrots have a small chance to heal you for half a heart.","color":"light_purple"}']},HideFlags:1,Enchantments:[{id:"minecraft:lure",lvl:2}]}}

data modify entity @s Item set value {id:"minecraft:paper",Count:1b,tag:{kyuspellupgrade:1b,kyuladderupgrade:1b,Enchantments:[{id:"minecraft:blast_protection",lvl:1s}],HideFlags:1,display:{Name:"{\"text\":\"Gilded Spell Sheet: Escape Ladder Upgrade \",\"color\":\"#FFFF0D\"}",Lore:['{"text":"Upgrades the \'Escape Ladder\' spell when held,","color":"#BDE7FC"}','{"text":"if the corresponding spell is already unlocked.","color":"#BDE7FC"}','{"text":""}','{"text":"Upgrade: Ladder now goes to the build height limit.","color":"#BA0404"}']}}}


execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Item crafted: Escape Ladder Upgrade.","color":"#8B59FF","italic":true}]

execute at @s run kill @e[limit=8,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:gold_ingot",Count:1b}}]