When you have a modified pipe but you're running low on blades and the like, try doing the following. First, stand over a regular pipe and then switch between that pipe and the modified one in your possession. Once done, switch back again. You should now have another blade in your inventory. You can repeat the process until your inventory is full of shivs, nail bombs, and modified weapons.