/// <summary>
 /// Resets entity to initial state.
 /// </summary>
 public void Reset()
 {
     equipTable.Clear();
     items.Clear();
     wagonItems.Clear();
     otherItems.Clear();
     SetEntityDefaults();
 }
        /// <summary>
        /// Transfers all items from another collection.
        /// Items will be removed from source collection and placed in this collection.
        /// UIDs will be retained.
        /// </summary>
        /// <param name="source">Source collection to transfer from.</param>
        public void TransferAll(EntityItems source)
        {
            if (source == null)
            {
                return;
            }

            foreach (DaggerfallUnityItem item in source.items.Values)
            {
                AddItem(item);
            }

            source.Clear();
        }