obj/item
apple
icon='food.dmi'
icon_state="apple"
price=100
verb
Plant()
usr<<"You plant a tree!"
new/turf/tree(usr.loc)
del(src)
So frustrating..I'm a beginner coder and am in need of help. So, I thought that the ^code^ should plant a tree where the player is standing, and it does. The problem is that the apple in the player's inventory that is used as a seed won't go away when planted. Does anyone know what I am doing wrong?