1. What happens if I successfully create an item, but don't put it anywhere? Do I need to destroy it or will the game take care of that for me when the function ends?

    If I make an item like this:

    Code:
    Item x = ItemManager.CreateByItemID(someID, someAmount);
    if (x != null)
        x.MoveToContainer(box, -1, true);
    What happens if the container is full, or I can't move it for some reason? Will that item be kicking around in purgatory, or will it go away when the function ends? Do I need to get rid of it?
     
  2. I am fairly sure that item will continue to exist, at least until restart. Even if I'm wrong, it'd probably be safest to just remove it if you can't move it to a container.