mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
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:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user