Prevents blob overminds, sentient diseases, etc. from dumping out boxes (#40823)

* nerf boxes

* uuh i think i see what you mean. hows this

* shuffles it over to mob.dm

* asdf

* hows this

* ooga

* i should probably rebase

* t

* cheaper and stronger unlike me

* aaaaa

* does the thing with the words
This commit is contained in:
MrDoomBringer
2018-10-26 16:03:09 -04:00
committed by AnturK
parent 78071b989c
commit 3d24bc0f08
5 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -233,7 +233,7 @@
/datum/component/storage/proc/quick_empty(mob/M)
var/atom/A = parent
if((!ishuman(M) && (A.loc != M)) || (M.stat != CONSCIOUS) || M.incapacitated())
if(!M.canUseStorage() || !A.Adjacent(M) || M.incapacitated())
return
if(locked)
to_chat(M, "<span class='warning'>[parent] seems to be locked!</span>")