mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 22:12:38 +00:00
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:
@@ -71,14 +71,14 @@
|
||||
var/mob/living/carbon/C = M
|
||||
var/datum/dionastats/DS = C.get_dionastats()
|
||||
DS.stored_energy += 10
|
||||
flick("e_flash", M.flash)
|
||||
M.flash_eyes()
|
||||
M.Weaken(5)
|
||||
M.eye_blind = 5
|
||||
return
|
||||
|
||||
var/safety = M:eyecheck(TRUE)
|
||||
if(safety <= 0)
|
||||
flick("e_flash", M.flash)
|
||||
M.flash_eyes()
|
||||
M.confused = 10
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/internal/eyes/E = H.get_eyes()
|
||||
@@ -191,7 +191,7 @@
|
||||
var/mob/living/carbon/M = loc
|
||||
var/safety = M.eyecheck(TRUE)
|
||||
if(safety < FLASH_PROTECTION_MODERATE)
|
||||
flick("e_flash", M.flash)
|
||||
M.flash_eyes()
|
||||
for(var/mob/O in viewers(M, null))
|
||||
O.show_message("<span class='disarm'>[M] is blinded by the flash!</span>")
|
||||
..()
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
//Flashing everyone
|
||||
if(eye_safety < FLASH_PROTECTION_MODERATE)
|
||||
flick("e_flash", M.flash)
|
||||
M.flash_eyes()
|
||||
M.Weaken(10)
|
||||
//Vaurca damage 15/01/16
|
||||
var/mob/living/carbon/human/H = M
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
if (flash)
|
||||
for(var/mob/living/carbon/human/M in viewers(T, null))
|
||||
if(M.eyecheck(TRUE) < FLASH_PROTECTION_MODERATE)
|
||||
flick("e_flash", M.flash)
|
||||
M.flash_eyes()
|
||||
else
|
||||
spark(T, 3, alldirs) //give spawning some flair if there's no flash
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
playsound(T, 'sound/effects/phasein.ogg', 100, 1)
|
||||
for(var/mob/living/carbon/human/M in viewers(T, null))
|
||||
if(M.eyecheck(TRUE) < FLASH_PROTECTION_MODERATE)
|
||||
flick("e_flash", M.flash)
|
||||
M.flash_eyes()
|
||||
|
||||
for(var/i=1, i<=deliveryamt, i++)
|
||||
var/obj/machinery/portable_atmospherics/hydroponics/soil/invisible/x = new spawner_type(T, new /datum/seed/koisspore())
|
||||
|
||||
Reference in New Issue
Block a user