[MIRROR] Snail Shells are now properly deleted on gib. (#1706)

* Snail Shells are now properly deleted on gib. (#54968)

Snail shells, when gibbed, were previously dropping along with the rest of the snail's organs/equipment/etc.
This was causing issues, as the snailshell has the nodrop trait, and was getting permanently getting stuck to non-snails hands, unable to be removed forever.
This adds behavior to empty and then delete the snail shell's when dropped, and keeping people from getting 2 "snailhands" for all eternity.

* Snail Shells are now properly deleted on gib.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-11-17 00:49:18 +01:00
committed by GitHub
co-authored by ArcaneMusic
parent 437ab1bc03
commit b35e3e782c
@@ -55,6 +55,11 @@
max_integrity = 200
resistance_flags = FIRE_PROOF | ACID_PROOF
/obj/item/storage/backpack/snail/dropped(mob/user, silent)
. = ..()
emptyStorage()
qdel(src)
/obj/item/storage/backpack/snail/Initialize()
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, "snailshell")