mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] next grep, no spaces (#10548)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
16a213f699
commit
8d0febfbb6
@@ -285,12 +285,12 @@
|
||||
. = ..()
|
||||
|
||||
/**
|
||||
* Called when someone slaps the machine with a mining voucher
|
||||
*
|
||||
* Arguments:
|
||||
* * voucher - The voucher card item
|
||||
* * redeemer - The person holding it
|
||||
*/
|
||||
* Called when someone slaps the machine with a mining voucher
|
||||
*
|
||||
* Arguments:
|
||||
* * voucher - The voucher card item
|
||||
* * redeemer - The person holding it
|
||||
*/
|
||||
/obj/machinery/mineral/equipment_vendor/proc/redeem_voucher(obj/item/mining_voucher/voucher, mob/redeemer)
|
||||
var/selection = tgui_input_list(redeemer, "Pick your equipment", "Mining Voucher Redemption", list("Kinetic Accelerator", "Resonator", "Mining Drone", "Advanced Scanner", "Crusher"))
|
||||
if(!selection || !Adjacent(redeemer) || voucher.loc != redeemer)
|
||||
|
||||
Reference in New Issue
Block a user