Fullscreen overlay rework, full-black unconsciousness overlay, overlay fadeout animations + more. (#10053)

Ported the clickcatcher from tg/bay. You can now click black spots to turn. Isn't that handy, especially with vision cones.

    Reworked fullscreen overlays into an easier and better system, courtesy of PsiOmegaDelta.

    Similiarly, added fadeout animations to all pain overlays, plus unconsciousness.

    Fixed the vampire frenzy overlay never showing.

    Unconsciousness is now FULL darkness.

    Flashing mobs is now an inbuilt proc.
This commit is contained in:
Matt Atlas
2020-10-02 07:53:14 +02:00
committed by GitHub
parent f633ee8e18
commit 556f1aa86f
52 changed files with 415 additions and 243 deletions

View File

@@ -25,7 +25,7 @@
for(var/mob/living/carbon/M in viewers(T, flash_range))
if(M.eyecheck() < FLASH_PROTECTION_MODERATE)
M.confused = rand(5,15)
flick("e_flash", M.flash)
M.flash_eyes()
else if(affected_limb && M == A)
M.confused = rand(2, 7)
flick("flash", M.flash)