From b26deb67075639af040c9aec5b0e8a0256f3487b Mon Sep 17 00:00:00 2001 From: ArcaneMusic Date: Sun, 12 Jul 2020 01:44:40 -0400 Subject: [PATCH] Makes vend-a-trays usable by bartenders, adds them to a technode. --- code/game/objects/structures/displaycase.dm | 2 +- code/modules/research/designs/machine_designs.dm | 6 ++++++ code/modules/research/techweb/all_nodes.dm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm index 55adb23602b..fd8a42329d4 100644 --- a/code/game/objects/structures/displaycase.dm +++ b/code/game/objects/structures/displaycase.dm @@ -570,4 +570,4 @@ /obj/structure/displaycase/forsale/kitchen desc = "A display case with an ID-card swiper. Use your ID to purchase the contents. Meant for the bartender and chef." - req_access = list(ACCESS_KITCHEN) + req_one_access = list(ACCESS_KITCHEN, ACCESS_BAR) diff --git a/code/modules/research/designs/machine_designs.dm b/code/modules/research/designs/machine_designs.dm index 1808538b772..2ff5c6270a6 100644 --- a/code/modules/research/designs/machine_designs.dm +++ b/code/modules/research/designs/machine_designs.dm @@ -616,3 +616,9 @@ build_path = /obj/item/circuitboard/machine/sheetifier category = list ("Misc. Machinery") +/datum/design/board/vendatray + name = "Vend-a-Tray" + desc = "The circuit board for a Vend-a-Tray." + id = "vendatray" + build_path = /obj/item/circuitboard/machine/vendatray + category = list ("Misc. Machinery") diff --git a/code/modules/research/techweb/all_nodes.dm b/code/modules/research/techweb/all_nodes.dm index 39727e86de0..44131062aea 100644 --- a/code/modules/research/techweb/all_nodes.dm +++ b/code/modules/research/techweb/all_nodes.dm @@ -348,7 +348,7 @@ display_name = "Electromagnetic Theory" description = "Study into usage of frequencies in the electromagnetic spectrum." prereq_ids = list("base") - design_ids = list("holosign", "holosignsec", "holosignengi", "holosignatmos", "inducer", "tray_goggles", "holopad") + design_ids = list("holosign", "holosignsec", "holosignengi", "holosignatmos", "inducer", "tray_goggles", "holopad", "vendatray") research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500) export_price = 5000