Disposals delete remains (#18707)

* Disposals delete remains

Disposal chutes now delete any digestion remains when they flush, making them a safe place to throw them away.

As for why we want this option: New players often do not know how to handle digestion remains, not knowing you can destroy them in-hand. Understandably, they just bin them, but this gets them into trouble with exposing others to messy skulls. Alternatively, it also allows players to spice up their scenes a bit by just dumping skulls casually without the risk of squicking anyone!

* Corrects typed loop
This commit is contained in:
SatinIsle
2025-11-07 23:25:40 +01:00
committed by GitHub
parent 61781b2097
commit 6fed61b762
@@ -380,6 +380,11 @@
if(flushing)
return
// We don't ever want digestion remains going through disposals, but people understandably thing they're doing right by trashing them
// So let's just delete them instead!
for(var/obj/item/digestion_remains/flushed_item in src)
qdel(flushed_item)
flushing = TRUE
flick("[icon_state]-flush", src)
// wait for animation to finish