[MIRROR] Fixes spray cans and pipes fitting inside of tablets. [MDB IGNORE] (#13701)

* Fixes spray cans and pipes fitting inside of tablets. (#67057)

They were subtypes of crayons and cigarettes which allowed them to be fit inside. To fix this, the tablet can only hold tiny items and spray cans and pipes have been changed from tiny items to small.

* Fixes spray cans and pipes fitting inside of tablets.

Co-authored-by: ReinaCoder <83892995+ReinaCoder@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-18 20:03:19 +01:00
committed by GitHub
co-authored by ReinaCoder
parent 8306992d76
commit 8765c990c2
3 changed files with 4 additions and 0 deletions
@@ -52,6 +52,8 @@
. = ..()
if(is_type_in_list(W, contained_item))
if(W.w_class >= WEIGHT_CLASS_SMALL) // Anything equal to or larger than small won't work
return
if(inserted_item)
to_chat(user, span_warning("There is already \a [inserted_item] in \the [src]!"))
else