private void StoreItem(BaseItemSlot itemSlot) { ItemPickUp copy_item_pickup = itemSlot.ITEM; if (storage_container.CanStore()) { if (inv_container.RemoveItem(itemSlot.INDEX)) { storage_container.StoreItem(copy_item_pickup); } } }
private void StoreItem(BaseItemSlot itemSlot) { ItemPickUp copy_item_pickup = itemSlot.ITEM; if (storage_container.CanStore()) { if (inv_container.RemoveItem(itemSlot.INDEX)) { storage_container.StoreItem(copy_item_pickup); } } }