SSD miasma v3

This commit is contained in:
Ty-Omaha
2019-02-09 08:56:58 -05:00
parent 8ed8b85f80
commit b7c69b4af5
7 changed files with 11 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
/mob/living/carbon/human/Login()
if(player_logged)
overlays -= image('icons/effects/effects.dmi', icon_state = "zzz_glow")
..()
if(dna.species && dna.species.ventcrawler)

View File

@@ -0,0 +1,4 @@
/mob/living/carbon/human/Logout()
..()
if(mind.active)
overlays += image('icons/effects/effects.dmi', icon_state = "zzz_glow")

View File

@@ -0,0 +1,3 @@
/mob/living/carbon/human/Logout()
..()
overlays += image('icons/effects/effects.dmi', icon_state = "zzz_glow")

View File

@@ -6,8 +6,6 @@
update_sight()
//If they're SSD, remove it so they can wake back up.
if(player_logged && istype(src, /mob/living/carbon/human))
overlays -= image('icons/effects/effects.dmi', icon_state = "zzz_glow")
player_logged = 0
//Vents
if(ventcrawler)

View File

@@ -9,6 +9,4 @@
if(mind.active)
Sleeping(2)
player_logged = 1
last_logout = world.time
if(istype(src, /mob/living/carbon/human)) //only human carbon SSD warnings
overlays += image('icons/effects/effects.dmi', icon_state = "zzz_glow")
last_logout = world.time