From b9d9684238e2c9e62b6e335ba1b58e21788487d7 Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Wed, 29 Apr 2015 15:25:38 -0700 Subject: [PATCH] Fix Programmable Unloader circuit This machine is glitchy, one might even call it entirely broken, but I doubt an outdated circuit board is the intentional way to remove it. This commit repairs the programmable unloader circuit, so that they are actually buildable now. --- code/game/machinery/programmable_unloader.dm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/code/game/machinery/programmable_unloader.dm b/code/game/machinery/programmable_unloader.dm index 291b5849d2f..2af4c5e0fbf 100644 --- a/code/game/machinery/programmable_unloader.dm +++ b/code/game/machinery/programmable_unloader.dm @@ -230,11 +230,11 @@ open = 0 if(!unwrenched && !circuit_removed) src.stat &= ~MAINT - user << "You open the [src]'s maintenance panel." + user << "You close \the [src]'s maintenance panel." else open = 1 src.stat |= MAINT - user << "You close the [src]'s maintenance panel." + user << "You open \the [src]'s maintenance panel." if(istype(I,/obj/item/weapon/crowbar)) if(open) user << "\blue You begin to pry out the [src]'s circuits." @@ -257,6 +257,7 @@ return else ..(I,user) + if(istype(I,/obj/item/weapon/circuitboard/programmable)) if(!open) user << "You have to open the machine first!" @@ -553,9 +554,9 @@ origin_tech = "engineering=3;programming=6" frame_desc = "Requires 2 Manipulators, 1 Scanning Module, 1 Cable." req_components = list( - "/obj/item/weapon/stock_parts/scanning_module" = 1, - "/obj/item/weapon/stock_parts/manipulator" = 2, - "/obj/item/stack/cable_coil" = 1) + /obj/item/weapon/stock_parts/scanning_module = 1, + /obj/item/weapon/stock_parts/manipulator = 2, + /obj/item/stack/cable_coil = 1) //Customization of the machine var/datum/cargoprofile/default = new/datum/cargoprofile()