ID:1515766
 
(See the best response by Koshigia.)
Code:
FlowerTest
name="Flower Test"
verb/Give()
set src in oview(1)
for(var/obj/FlowerItems/PinkFlower/A in usr)
switch(input(usr,"I see you have a pink flower. Would you like to give it to me?",text) in list("Sure.","No."))
if("Sure.")
StoredPinkFlowers+=1
world<<"[StoredPinkFlowers]"
del(A)
if("No.")
return
New()
if(StoredPinkFlowers==1)
src.contents+=new/obj/Inventory/Shop/TestThing
..()


Problem description:If it equals zero. The item shows up, but when I change it to equal one. Even if it equals one it doesn't show up in the shop list.

Best response
If you intend to display a flower for sale after giving the shopkeeper a flower, you would then need to make sure that you are displaying the flower properly on the "buying" end. Show us that side of the code, and we may get further yet.