tgstation/-tg-station — pull request #2455 by Rolan7 (2014-01-20 06:55:49+00:00)
Title: Issue 297 Gibbing in pipes fix

Gibbing in an object or mob now leaves the gibs inside. This solves issue #297 which was that gibs would explode out of the floor if someone chestburst while travelling through disposals. (The larva was already handled fine, just the gibs apparently pierced through the floor and pipes.)
The gibs continue travelling through the pipes, and shoot out the exit appropriately. I didn't have to implement that, in fact this whole thing changed very little code. I just made the gibs spawn in the pipe instead of the turf.

The most notable other effect is that someone who gibs in a closet results in a closet full of gibs, instead of gibs spraying out of the closet.

Other notes:
Tested with gibself and facehuggers, works the same with both.
Tested with humans and corgis. It should work for monkeys and robots too because it's the gibspawner code, which is common to all.
Tested with humans devoured by queens - no gibs escape, the gibs are technically left within the queen mob with no effect. I didn't test facehugger-induced gibbing inside a queen, but the larva's fate should be the same as before (presumably it is still in the queen's stomach).
There are existing icon update issues with people riding on mulebots, completely unrelated to this PR.