From a4b3030e4a428cbdd751c58750099623151338b8 Mon Sep 17 00:00:00 2001 From: Shadow Date: Thu, 29 Aug 2019 19:14:21 -0500 Subject: [PATCH] mfw I forget to anchor --- code/game/objects/structures/crates_lockers/closets.dm | 5 ++--- .../simple_animal/hostile/mining/necropolis_tendril.dm | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index 4c62334f5d3..9f2f51d0046 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -19,6 +19,7 @@ var/storage_capacity = 30 //This is so that someone can't pack hundreds of items in a locker/crate then open it in a populated area to crash clients. var/material_drop = /obj/item/stack/sheet/metal var/material_drop_amount = 2 + var/mob_size = MOB_SIZE_LARGE /obj/structure/closet/New() ..() @@ -99,15 +100,13 @@ itemcount++ for(var/mob/M in loc) - if(M.mob_size <= MOB_SIZE_LARGE) // No more stuffing xeno empresses into lockers - return FALSE if(itemcount >= storage_capacity) break if(istype(M, /mob/dead/observer)) continue if(istype(M, /mob/living/simple_animal/bot/mulebot)) continue - if(M.buckled) + if(M.buckled || M.anchored) continue M.forceMove(src) diff --git a/code/modules/mob/living/simple_animal/hostile/mining/necropolis_tendril.dm b/code/modules/mob/living/simple_animal/hostile/mining/necropolis_tendril.dm index 75ff6299943..51778c40bbe 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/necropolis_tendril.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/necropolis_tendril.dm @@ -18,6 +18,7 @@ minbodytemp = 0 maxbodytemp = INFINITY move_resist = INFINITY + anchored = TRUE mob_size = MOB_SIZE_LARGE loot = list(/obj/effect/collapse, /obj/structure/closet/crate/necropolis/tendril) del_on_death = 1