From 9570f5eebd6611c4b7a99cddeae066d2cf116c7a Mon Sep 17 00:00:00 2001 From: Adrer Date: Fri, 5 Jul 2024 19:57:11 +0200 Subject: [PATCH] [FIX] RPED can now put beakers into machine frames (#26121) * Replica syndicate space suit sprites * Revert "Replica syndicate space suit sprites" This reverts commit 1fb5cf68ac72fe50f08de690502db36e205ee014. * RPED can now put beakers into machine frames as well --------- Co-authored-by: adrermail@gmail.com --- code/game/machinery/constructable_frame.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm index 5c879c2a0b2..dde8834a2de 100644 --- a/code/game/machinery/constructable_frame.dm +++ b/code/game/machinery/constructable_frame.dm @@ -155,6 +155,9 @@ for(var/obj/item/stock_parts/co in replacer) part_list += co + for(var/obj/item/reagent_containers/glass/beaker/be in replacer) + part_list += be + for(var/path in req_components) while(req_components[path] > 0 && (locate(path) in part_list)) var/obj/item/part = (locate(path) in part_list) @@ -163,7 +166,7 @@ req_components[path]-- part_list -= part - for(var/obj/item/stock_parts/part in added_components) + for(var/obj/item/part in added_components) components += part to_chat(user, "[part.name] applied.") replacer.play_rped_sound()