Refactors how flashes get targets and whatnot, so they no longer work from inside containers to outside. (#34171)

* Flash Refactor

* Update flash.dm

* Update flash.dm
This commit is contained in:
kevinz000
2018-01-16 06:30:03 -08:00
committed by CitadelStationBot
parent ade3ded854
commit da30215a48
3 changed files with 77 additions and 67 deletions
+2 -1
View File
@@ -373,7 +373,8 @@
if(get_eye_protection() < intensity && (override_blindness_check || !(has_disability(DISABILITY_BLIND))))
overlay_fullscreen("flash", type)
addtimer(CALLBACK(src, .proc/clear_fullscreen, "flash", 25), 25)
return 1
return TRUE
return FALSE
//called when the mob receives a loud bang
/mob/living/proc/soundbang_act()
+2 -2
View File
@@ -323,8 +323,8 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
/proc/is_blind(A)
if(ismob(A))
var/mob/B = A
return B.eye_blind
return 0
return B.eye_blind
return FALSE
/mob/proc/hallucinating()
return FALSE