allows for building a meal vendor with fixes

This commit is contained in:
DynaJ0ule
2022-11-22 03:38:55 -05:00
parent 282588c9a0
commit 1ad2e7e035
2 changed files with 14 additions and 5 deletions
@@ -246,6 +246,14 @@
/obj/machinery/vending/cigarette = "ShadyCigs Deluxe",
/obj/machinery/vending/games = "\improper Good Clean Fun",
/obj/machinery/vending/autodrobe = "AutoDrobe",
/obj/machinery/vending/assist = "Vendomat",
/obj/machinery/vending/engivend = "Engi-Vend",
/obj/machinery/vending/tool ="YouTool",
/obj/machinery/vending/sustenance = "Sustenance Vendor",
/obj/machinery/vending/dinnerware = "Plasteel Chef's Dinnerware Vendor",
/obj/machinery/vending/cart = "PTech",
/obj/machinery/vending/hydronutrients = "NutriMax",
/obj/machinery/vending/hydroseeds = "MegaSeed Servitor",
/obj/machinery/vending/wardrobe/sec_wardrobe = "SecDrobe",
/obj/machinery/vending/wardrobe/medi_wardrobe = "MediDrobe",
/obj/machinery/vending/wardrobe/engi_wardrobe = "EngiDrobe",
@@ -266,7 +274,9 @@
/obj/machinery/vending/clothing = "ClothesMate",
/obj/machinery/vending/medical = "NanoMed Plus",
/obj/machinery/vending/wallmed = "NanoMed",
/obj/machinery/vending/kink = "\improper KinkMate")
/obj/machinery/vending/kink = "\improper KinkMate",
/obj/machinery/vending/mealdor = "Meal Vendor",
/obj/machinery/vending/gato = "GATO Vending Machine")
/obj/item/circuitboard/machine/vendor/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/screwdriver))
@@ -278,9 +288,8 @@
if(!choiceposition)
return
var/typepath = GLOB.vending_machines[choiceposition]
var/namepath = vending_names_paths[choiceposition]
set_type(typepath)
to_chat(user, "<span class='notice'>You set the board to \"[vending_names_paths[namepath]]\".</span>")
to_chat(user, "<span class='notice'>You set the board to \"[choice]\".</span>")
else
return ..()
@@ -1022,4 +1031,4 @@
/obj/item/stack/sheet/glass = 2,
/obj/item/stock_parts/capacitor = 1,
/obj/item/stack/cable_coil = 5,
/obj/item/reagent_containers/glass/beaker = 6) //So it can hold lots of chems
/obj/item/reagent_containers/glass/beaker = 6) //So it can hold lots of chems