mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Everything else through the door (#19358)
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user