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:
committed by
CitadelStationBot
parent
ade3ded854
commit
da30215a48
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user