Skip to content

Commit e787bb7

Browse files
committed
paying_scum_id
1 parent 63e08c0 commit e787bb7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

code/modules/vending/sustenance.dm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
return
7474
return ..()
7575

76-
/obj/machinery/vending/sustenance/labor_camp/proceed_payment(obj/item/card/id/paying_id_card, mob/living/mob_paying, datum/data/vending_product/product_to_vend, price_to_use)
77-
if(!istype(paying_id_card, /obj/item/card/id/advanced/prisoner))
76+
/obj/machinery/vending/sustenance/labor_camp/proceed_payment(obj/item/card/id/advanced/prisoner/paying_scum_id, mob/living/mob_paying, datum/data/vending_product/product_to_vend, price_to_use)
77+
if(!istype(paying_scum_id, /obj/item/card/id/advanced/prisoner))
7878
//MASSMETA EDIT BEGIN (ru_vendors)
7979
//speak("I don't take bribes! Pay with labor points!")
8080

@@ -83,7 +83,7 @@
8383
return FALSE
8484
if(LAZYLEN(product_to_vend.returned_products))
8585
price_to_use = 0 //returned items are free
86-
if(price_to_use && !(paying_id_card.points >= price_to_use)) //not enough good prisoner points
86+
if(price_to_use && !(paying_scum_id.points >= price_to_use)) //not enough good prisoner points
8787
//MASSMETA EDIT BEGIN (ru_vendors)
8888
//speak("You do not possess enough points to purchase [product_to_vend.name].")
8989

@@ -92,7 +92,7 @@
9292
flick(icon_deny, src)
9393
return FALSE
9494

95-
paying_id_card.points -= price_to_use
95+
paying_scum_id.points -= price_to_use
9696
return TRUE
9797

9898
/obj/machinery/vending/sustenance/labor_camp/fetch_balance_to_use(obj/item/card/id/passed_id)

0 commit comments

Comments
 (0)