My bad, my bad.
This commit is contained in:
@@ -171,6 +171,7 @@
|
|||||||
if(++mobs_stored >= mob_storage_capacity)
|
if(++mobs_stored >= mob_storage_capacity)
|
||||||
return FALSE
|
return FALSE
|
||||||
L.stop_pulling()
|
L.stop_pulling()
|
||||||
|
|
||||||
else if(istype(AM, /obj/structure/closet))
|
else if(istype(AM, /obj/structure/closet))
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|
||||||
@@ -179,14 +180,16 @@
|
|||||||
|
|
||||||
else if(isobj(AM))
|
else if(isobj(AM))
|
||||||
if((!allow_dense && AM.density) || AM.anchored || AM.has_buckled_mobs())
|
if((!allow_dense && AM.density) || AM.anchored || AM.has_buckled_mobs())
|
||||||
return TRUE
|
return FALSE
|
||||||
if(isitem(AM) && HAS_TRAIT(AM, TRAIT_NODROP))
|
if(isitem(AM) && !HAS_TRAIT(AM, TRAIT_NODROP))
|
||||||
return TRUE
|
return TRUE
|
||||||
else if(!allow_objects && !istype(AM, /obj/effect/dummy/chameleon))
|
else if(!allow_objects && !istype(AM, /obj/effect/dummy/chameleon))
|
||||||
return FALSE
|
return FALSE
|
||||||
else
|
else
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|
||||||
|
return TRUE
|
||||||
|
|
||||||
/obj/structure/closet/proc/close(mob/living/user)
|
/obj/structure/closet/proc/close(mob/living/user)
|
||||||
if(!opened || !can_close(user))
|
if(!opened || !can_close(user))
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user