local x = inventory:findItem("Fresh Egg")
if x then
printf("DEBUG: Fresh Egg in bag")
x:delete(); yrest(1789);
end
x = inventory:findItem("Sack of Feed")
if x then
printf("DEBUG: Sack of Feed in bag")
x:delete(); yrest(1789);
end
I see my debug message, but the item isn't deleted at all. Any suggestions?
if you try to delete the item yourself do you need to type DELETE in the text box, some items are like that and I don't know if the item:delete() would do that for you.
Remember no matter you do in life to always have a little fun while you are at it