From 44feef65723851d1c8d43f06aa55451c939ca8e8 Mon Sep 17 00:00:00 2001 From: Citinited Date: Tue, 4 Jul 2017 04:55:49 +0100 Subject: [PATCH] You can now multitool telescreens to re-orient them --- code/game/machinery/computer/camera.dm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/code/game/machinery/computer/camera.dm b/code/game/machinery/computer/camera.dm index f22ad07b211..9fa447d25a0 100644 --- a/code/game/machinery/computer/camera.dm +++ b/code/game/machinery/computer/camera.dm @@ -78,6 +78,25 @@ else ..() +/obj/machinery/computer/security/telescreen/attackby(obj/item/I, mob/user, params) + if(ismultitool(I)) + var/direction = input(user, "Which direction?", "Select direction!") as null|anything in list("North", "East", "South", "West", "Centre") + if(!direction) + return + pixel_x = 0 + pixel_y = 0 + switch(direction) + if("North") + pixel_y = 32 + if("East") + pixel_x = 32 + if("South") + pixel_y = -32 + if("West") + pixel_x = -32 + else + ..() + /obj/machinery/computer/security/emag_act(user as mob) if(!emagged) emagged = 1