mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Various Life Refactor Fixes (#13536)
* Disposal Movement Fix * guardian fix * SSD fix * blob mobs * wizard teleport fix
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user