Code: Select all
/obj/machinery/vending/proc/vend(datum/data/vending_product/R, mob/user)
Code: Select all
src.vend_ready = 0 //One thing at a time!!
if (R in coin_records)
if(!coin)
user << "\blue You need to insert a coin to get this item."
return
Steps to reproduce:
1. Open vendor.
2. Insert coin.
3. Remove coin.
4. Press vend on coin item.
5. You need to insert a coin to get this item
6. Congratz! Vendor is now stuck.