public void ApplyItem() { if (!isFull) { return; } SubNumberOfItems(); pickUp.ApplyPickUp(); if (pickUp.isOneOff) { inventory.SubFromTotalWeight(pickUp.itemWeigth); if (numberOfItems > 0) { return; } ClearSlot(); return; } ChangeItemsSlotAndInventory(); if (numberOfItems > 0) { return; } ClearSlot(); }