From 9a49a512ee457a23561cfb4ecde334911aef8f67 Mon Sep 17 00:00:00 2001 From: duncathan salt Date: Mon, 9 Oct 2017 12:38:33 -0600 Subject: [PATCH] Merge pull request #31387 from tgstation/Cyberboss-patch-3 Adds a hacked autolathe subtype --- code/game/machinery/autolathe.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm index 4894952a69..44c6812d05 100644 --- a/code/game/machinery/autolathe.dm +++ b/code/game/machinery/autolathe.dm @@ -388,6 +388,10 @@ else files.known_designs -= D.id +/obj/machinery/autolathe/hacked/Initialize() + . = ..() + adjust_hacked(TRUE) + //Called when the object is constructed by an autolathe //Has a reference to the autolathe so you can do !!FUN!! things with hacked lathes /obj/item/proc/autolathe_crafted(obj/machinery/autolathe/A)