verb
Drop()
for(var/obj/Potion/O in usr.contents)
if(O.ammount<=0)
del(O)
else
var/drop = input("How many potions do you wish to drop?")as num
if(O.ammount<drop)
usr<<"You don't have that many to drop."
return
if(drop<=0)
usr<<"You cannot do that."
return
if(O.ammount>=drop)
O.ammount-=drop
var/obj/Potion/B = new/obj/Potion
B.loc=locate(usr.x,usr.y-1,usr.z)
B.ammount=drop
view(usr)<<"[usr] drops [drop] potions."
O.name = "Potion"
O.name= "[O.name]: [O.ammount]"
if(O.ammount<=0)
del(O)
Problem description:Well if I drop all of the items in my inventory of one type i won't be able to pick it up. when i get another one of the same item from item test area,then i can pick it up (I made for testing that I can pick up items in one area...no buying so far)