Everything else through the door (#19358)

This commit is contained in:
Vi3trice
2022-10-13 15:56:58 -04:00
committed by GitHub
parent 2410930b2b
commit 59dfdba201
134 changed files with 200 additions and 200 deletions
+3 -3
View File
@@ -482,7 +482,7 @@
qdel(H)
/obj/machinery/disposal/CanPass(atom/movable/mover, turf/target, height=0)
if(istype(mover,/obj/item) && mover.throwing)
if(isitem(mover) && mover.throwing)
var/obj/item/I = mover
if(istype(I, /obj/item/projectile))
return
@@ -556,7 +556,7 @@
for(var/atom/movable/AM in D)
AM.forceMove(src)
SEND_SIGNAL(AM, COMSIG_MOVABLE_DISPOSING, src, D)
if(istype(AM, /mob/living/carbon/human))
if(ishuman(AM))
var/mob/living/carbon/human/H = AM
if(HAS_TRAIT(H, TRAIT_FAT)) // is a human and fat?
has_fat_guy = 1 // set flag on holder
@@ -801,7 +801,7 @@
H.active = FALSE
H.forceMove(src)
return
if(T.intact && istype(T,/turf/simulated/floor)) //intact floor, pop the tile
if(T.intact && isfloorturf(T)) //intact floor, pop the tile
var/turf/simulated/floor/F = T
var/turf_typecache = F.floor_tile
if(F.remove_tile(null, TRUE, FALSE))
+1 -1
View File
@@ -310,7 +310,7 @@
if(WEST)
if(AM.loc.x != loc.x - 1) return
if(istype(AM, /obj))
if(isobj(AM))
var/obj/O = AM
O.loc = src
else if(istype(AM, /mob))