mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
committed by
Chompstation Bot
parent
a34cc7a91c
commit
c97fc22813
@@ -458,13 +458,9 @@ GLOBAL_LIST_EMPTY(vending_products)
|
|||||||
|
|
||||||
if(!can_buy(R, usr))
|
if(!can_buy(R, usr))
|
||||||
return
|
return
|
||||||
|
|
||||||
vend_ready = FALSE // From this point onwards, vendor is locked to performing this transaction only, until it is resolved.
|
|
||||||
|
|
||||||
if(R.price <= 0)
|
if(R.price <= 0)
|
||||||
vend(R, usr)
|
vend(R, usr)
|
||||||
add_fingerprint(usr)
|
add_fingerprint(usr)
|
||||||
vend_ready = TRUE
|
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|
||||||
if(issilicon(usr)) //If the item is not free, provide feedback if a synth is trying to buy something.
|
if(issilicon(usr)) //If the item is not free, provide feedback if a synth is trying to buy something.
|
||||||
@@ -473,6 +469,9 @@ GLOBAL_LIST_EMPTY(vending_products)
|
|||||||
if(!ishuman(usr))
|
if(!ishuman(usr))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
vend_ready = FALSE // From this point onwards, vendor is locked to performing this transaction only, until it is resolved.
|
||||||
|
|
||||||
var/mob/living/carbon/human/H = usr
|
var/mob/living/carbon/human/H = usr
|
||||||
var/obj/item/weapon/card/id/C = H.GetIdCard()
|
var/obj/item/weapon/card/id/C = H.GetIdCard()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user