mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
TG: Fixed issue 549 . Missing sprite caused Odysseus mechs to vanish during
construction Fixed issue 542 . Fingerprints are now left on door controls and mass driver controls. Executed the rogue disposal pipe in robotics maintenance. Revision: r3776 Author: ericgfw...@hotmail.com
This commit is contained in:
@@ -175,6 +175,7 @@ obj/machinery/access_button
|
||||
icon_state = "access_button_off"
|
||||
|
||||
attack_hand(mob/user)
|
||||
src.add_fingerprint(usr)
|
||||
if(!allowed(user))
|
||||
user << "\red Access Denied"
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
return src.attack_hand(user)
|
||||
|
||||
/obj/machinery/door_control/attack_hand(mob/user as mob)
|
||||
src.add_fingerprint(usr)
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
@@ -69,6 +70,7 @@
|
||||
|
||||
use_power(5)
|
||||
icon_state = "doorctrl1"
|
||||
add_fingerprint(user)
|
||||
|
||||
if(normaldoorcontrol)
|
||||
for(var/obj/machinery/door/airlock/D in range(range))
|
||||
@@ -119,7 +121,6 @@
|
||||
spawn(15)
|
||||
if(!(stat & NOPOWER))
|
||||
icon_state = "doorctrl0"
|
||||
src.add_fingerprint(usr)
|
||||
|
||||
/obj/machinery/door_control/power_change()
|
||||
..()
|
||||
@@ -142,10 +143,12 @@
|
||||
|
||||
/obj/machinery/driver_button/attack_hand(mob/user as mob)
|
||||
|
||||
src.add_fingerprint(usr)
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
if(active)
|
||||
return
|
||||
add_fingerprint(user)
|
||||
|
||||
use_power(5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user