Emag functionality on firelocks (#13443)

* emag functionality on firedoors

* emag functionality on firedoors

* emag funtionality on firedoors

* tweaks?
This commit is contained in:
ShoMek
2017-01-18 03:27:30 -03:00
committed by Probe1
parent 50580432be
commit c9fe02ef14
2 changed files with 14 additions and 0 deletions

View File

@@ -237,6 +237,20 @@ var/global/list/alert_overlays_global = list()
force_open(user, C)
return
if( isEmag(C) )
if ( density==1 )
flick("door_spark", src)
spawn(6)
force_open(user, C)
spawn(8)
blocked = TRUE
update_icon()
return
else
blocked = TRUE
update_icon()
return
if(blocked)
to_chat(user, "<span class='warning'>\The [src] is welded solid!</span>")
return