Additional Work on NIFs

Squashed commits:

[9563a9a] All the stuff I forgot to commit
This commit is contained in:
Arokha Sieyes
2017-06-03 00:55:01 -04:00
parent f7c24fb9d0
commit 58ee6891f2
21 changed files with 1368 additions and 7 deletions

View File

@@ -81,7 +81,15 @@
playsound(src.loc, 'sound/weapons/flash.ogg', 100, 1)
var/flashfail = 0
if(iscarbon(M))
//VOREStation Add - NIF
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.nif && H.nif.flag_check(NIF_V_FLASHPROT,NIF_FLAGS_VISION))
flashfail = 1
H.nif.notify("High intensity light detected, and blocked!",TRUE)
//VOREStation Add End
if(iscarbon(M) && !flashfail) //VOREStation Add - NIF
var/mob/living/carbon/C = M
if(C.stat != DEAD)
var/safety = C.eyecheck()