Fixes being able to insert hand emote items (kisses, slappers, etc) into storage (#65169)

Gives hand emote items (kisses, slappers, etc) `TRAIT_NO_STORAGE_INSERT`
Makes evidence bags respect `TRAIT_NO_STORAGE_INSERT`
This commit is contained in:
John Willard
2022-03-05 19:39:00 -06:00
committed by GitHub
parent c16f48aa2a
commit 3936229f86
9 changed files with 62 additions and 64 deletions
+4
View File
@@ -32,6 +32,10 @@
to_chat(user, span_warning("No matter what way you try, you can't get [I] to fit inside [src]."))
return TRUE //begone infinite storage ghosts, begone from me
if(HAS_TRAIT(I, TRAIT_NO_STORAGE_INSERT))
to_chat(user, span_warning("No matter what way you try, you can't get [I] to fit inside [src]."))
return TRUE
if(istype(I, /obj/item/evidencebag))
to_chat(user, span_warning("You find putting an evidence bag in another evidence bag to be slightly absurd."))
return TRUE //now this is podracing