Merge pull request #10853 from Ty-Omaha/ssd-miasma

SSD Miasma
This commit is contained in:
variableundefined
2019-03-16 09:22:46 +08:00
committed by GitHub
7 changed files with 8 additions and 4 deletions
@@ -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)
@@ -0,0 +1,4 @@
/mob/living/carbon/human/Logout()
..()
if(mind.active && stat != DEAD)
overlays += image('icons/effects/effects.dmi', icon_state = "zzz_glow")
-1
View File
@@ -7,7 +7,6 @@
//If they're SSD, remove it so they can wake back up.
player_logged = 0
//Vents
if(ventcrawler)
to_chat(src, "<span class='notice'>You can ventcrawl! Use alt+click on vents to quickly travel about the station.</span>")
+1 -1
View File
@@ -9,4 +9,4 @@
if(mind.active)
Sleeping(2)
player_logged = 1
last_logout = world.time
last_logout = world.time
-2
View File
@@ -16,7 +16,5 @@
send2irc(config.admin_notify_irc, "[key_name(src)] logged out - No active admins, [admincounter[2]] non-admin staff, [admincounter[3]] inactive staff.")
..()
callHook("mob_logout", list("client" = client, "mob" = src))
return 1