mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user