Various Life Refactor Fixes (#13536)

* Disposal Movement Fix

* guardian fix

* SSD fix

* blob mobs

* wizard teleport fix
This commit is contained in:
Fox McCloud
2020-06-05 18:38:45 -04:00
committed by GitHub
parent ce83660145
commit 77ffb3f102
5 changed files with 20 additions and 17 deletions
+4 -3
View File
@@ -336,6 +336,10 @@
AdjustHallucinate(-2)
// Keep SSD people asleep
if(player_logged)
Sleeping(2)
/mob/living/carbon/handle_sleeping()
if(..())
if(mind?.vampire)
@@ -363,9 +367,6 @@
if(prob(10) && health && hal_screwyhud != SCREWYHUD_CRIT)
emote("snore")
// Keep SSD people asleep
if(player_logged)
Sleeping(2)
return sleeping
/mob/living/carbon/update_health_hud(shown_health_amount)
+8 -8
View File
@@ -582,7 +582,7 @@
D.expel(src) // no trunk connected, so expel immediately
return
loc = D.trunk
forceMove(D.trunk)
active = 1
dir = DOWN
spawn(1)
@@ -746,9 +746,9 @@
if(H2 && !H2.active)
H.merge(H2)
H.loc = P
H.forceMove(P)
else // if wasn't a pipe, then set loc to turf
H.loc = T
H.forceMove(T)
return null
return P
@@ -790,7 +790,7 @@
if(T.density) // dense ouput turf, so stop holder
H.active = 0
H.loc = src
H.forceMove(src)
return
if(T.intact && istype(T,/turf/simulated/floor)) //intact floor, pop the tile
var/turf/simulated/floor/F = T
@@ -1069,9 +1069,9 @@
var/obj/structure/disposalholder/H2 = locate() in P
if(H2 && !H2.active)
H.merge(H2)
H.loc = P
H.forceMove(P)
else // if wasn't a pipe, then set loc to turf
H.loc = T
H.forceMove(T)
return null
return P
@@ -1128,9 +1128,9 @@
if(H2 && !H2.active)
H.merge(H2)
H.loc = P
H.forceMove(P)
else // if wasn't a pipe, then set loc to turf
H.loc = T
H.forceMove(T)
return null
return P