Use the shovel.
Then try and pick up one of the items you've dug up with the sword.
Nothing happens.
[885] Scripted items can't be picked up by the sword
This is because script-created items are the same as special items in that they don't disappear. You can't collect those kinds of items with the sword. Additionally, the hitbox for them is wrong. Either way, this is a bug as well as a limitation, as I don't know of a script command that will let you tell the game to make a normal (disappearing) item.
Hrm...
D'yuthink we might be able to have the option to set them to be perishables then?
Give them a DeadState variable simmilar to weapons maybe?
So, say, they're spawned with DeadState 0 by default, making them a special screen item, then if you set them to a DeadState value > 0, they become perishables that last for that many frames?
Dunno if that'd be possible, but it is a bit of an oversight.
Fixed!
Ah, thanks =)
EDIT:
When you change an item into a generic sprite with IP_DUMMY, it still dissapears from the screen when you pick up the screen's special item.
I'd assume this is undesirable.