From 3db918717bc2dfe47c8ad8e8d785bd1d9df2bdb6 Mon Sep 17 00:00:00 2001 From: Selis <12716288+ItsSelis@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:22:46 +0100 Subject: [PATCH] New -> Init for Vending Machines (#16566) --- code/modules/economy/vending_machines_vr.dm | 32 ++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/code/modules/economy/vending_machines_vr.dm b/code/modules/economy/vending_machines_vr.dm index c62361aee99..41e3645f003 100644 --- a/code/modules/economy/vending_machines_vr.dm +++ b/code/modules/economy/vending_machines_vr.dm @@ -1,40 +1,40 @@ //Tweaked existing vendors -/obj/machinery/vending/hydroseeds/New() +/obj/machinery/vending/hydroseeds/Initialize() + . = ..() products += list(/obj/item/seeds/shrinkshroom = 3,/obj/item/seeds/megashroom = 3) - ..() -/obj/machinery/vending/security/New() +/obj/machinery/vending/security/Initialize() + . = ..() products += list(/obj/item/gun/energy/taser = 8,/obj/item/gun/energy/stunrevolver = 4, /obj/item/reagent_containers/spray/pepper = 6,/obj/item/taperoll/police = 6, /obj/item/clothing/glasses/omnihud/sec = 6) contraband += list(/obj/item/implanter/compliance = 1) - ..() -/obj/machinery/vending/tool/New() +/obj/machinery/vending/tool/Initialize() + . = ..() products += list(/obj/item/reagent_containers/spray/windowsealant = 5) - ..() -/obj/machinery/vending/engivend/New() +/obj/machinery/vending/engivend/Initialize() + . = ..() products += list(/obj/item/clothing/glasses/omnihud/eng = 6) contraband += list(/obj/item/rms = 5) - ..() -/obj/machinery/vending/medical/New() +/obj/machinery/vending/medical/Initialize() + . = ..() products += list(/obj/item/storage/box/khcrystal = 4,/obj/item/backup_implanter = 3, /obj/item/clothing/glasses/omnihud/med = 4, /obj/item/glasses_kit = 1, /obj/item/storage/quickdraw/syringe_case = 4) - ..() -/obj/machinery/vending/wallmed1/New() +/obj/machinery/vending/wallmed1/Initialize() + . = ..() products += list(/obj/item/bodybag/cryobag = 2) - ..() -/obj/machinery/vending/wallmed2/New() +/obj/machinery/vending/wallmed2/Initialize() + . = ..() products += list(/obj/item/bodybag/cryobag = 3) - ..() -/obj/machinery/vending/wallmed1/public/New() +/obj/machinery/vending/wallmed1/public/Initialize() + . = ..() products += list(/obj/item/bodybag/cryobag = 4) - ..() // Food Machines (for event/away maps)