mob/proc/bsradar_sales()
var/cost = 1000000
switch(input("Want to buy this Radar(1 Mill zenni)?")in list("Black Star Dragon Radar","Never Mind"))
if("Never Mind")
return
if("Black Star Dragon Radar")
if(usr.zenni >= cost)
if(usr.inven_min < usr.inven_max)
usr.zenni -= cost
usr.inven_min ++
usr.contents += new/obj/Equipment/Consumable/Black_Star_Radar
usr << "<font color = white>Shop Keep:</font> Thanks for buying!"
return
else
usr << "No more room for items."
else
usr << "<font color = white>Shop Keep:</font> You cannot afford this!"
return
Problem description:
You can see the item in the list,but you when you click it,nothing happens...you don't loose money and you don't get the item