Fix nested digestion to move mobs/items up a belly when dead (#584)

This commit is contained in:
Eearslya Sleiarion
2016-09-24 14:13:26 -04:00
committed by Spades
parent 8c7faf88cc
commit 6708a5f6bd
+7 -4
View File
@@ -247,10 +247,13 @@
if (is_vore_predator(M))
for (var/bellytype in M.vore_organs)
var/datum/belly/belly = M.vore_organs[bellytype]
for (var/obj/SubPrey in belly.internal_contents)
SubPrey.forceMove(owner)
internal_contents += SubPrey
SubPrey << "As [M] melts away around you, you find yourself in [owner]'s [name]"
for (var/obj/thing in belly.internal_contents)
thing.forceMove(owner)
internal_contents += thing
for (var/mob/subprey in belly.internal_contents)
subprey.forceMove(owner)
internal_contents += subprey
subprey << "As [M] melts away around you, you find yourself in [owner]'s [name]"
//Drop all items into the belly.
if (config.items_survive_digestion)