mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
You can now multitool telescreens to re-orient them
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user