From 15612039502206cbfb916ada628236f3ca83397c Mon Sep 17 00:00:00 2001 From: Geoengi <139566513+Geoengi@users.noreply.github.com> Date: Sat, 13 Dec 2025 02:07:45 +0000 Subject: [PATCH] Adds Effects to the Death of Customer Robots and Mech Wreckages (#94391) ## About The Pull Request A first, small change so that robot customers and mech wreckages produce robot debris upon being killed/destroyed, rather than simply deleting themselves. Customers, in specific, will undergo a similar gibbing process as real borgs: sparking and scattering robot debris without the animation. Wreckages, instead, will make a large noise, shake the camera of close people, and collapse into a single robot debris (as it was already mostly destroyed by this point). ## Why It's Good For The Game The destruction of these two entities is otherwise underwhelming when they disappear into the aether with little fanfare. Also provides the chef and janitor with another thing to get mad about when John Assistant throws sharp sticks at the kitchen's customers. ## Changelog :cl: add: Robot customers and mech wreckage destruction are messier. Bring a mop! /:cl: --------- Co-authored-by: san7890 --- code/modules/mob/living/basic/space_fauna/robot_customer.dm | 5 +++++ code/modules/vehicles/mecha/mecha_wreckage.dm | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/code/modules/mob/living/basic/space_fauna/robot_customer.dm b/code/modules/mob/living/basic/space_fauna/robot_customer.dm index c880be1fdb9..7ffe1fadd6a 100644 --- a/code/modules/mob/living/basic/space_fauna/robot_customer.dm +++ b/code/modules/mob/living/basic/space_fauna/robot_customer.dm @@ -118,3 +118,8 @@ order = attending_venue.order_food_line(wanted_item) . += span_notice("Their order was: \"[order].\"") + +/mob/living/basic/robot_customer/death() + new /obj/effect/gibspawner/robot(drop_location()) + + return ..() diff --git a/code/modules/vehicles/mecha/mecha_wreckage.dm b/code/modules/vehicles/mecha/mecha_wreckage.dm index dc0414e8606..485c6ee8281 100644 --- a/code/modules/vehicles/mecha/mecha_wreckage.dm +++ b/code/modules/vehicles/mecha/mecha_wreckage.dm @@ -42,6 +42,11 @@ if(AI) QDEL_NULL(AI) QDEL_LIST(crowbar_salvage) + src.visible_message(span_danger("[src]'s superstructure folds in on itself, collapsing into a heap of unsalvageable scrap!")) + playsound(src, 'sound/effects/meteorimpact.ogg', 100, TRUE) + for(var/mob/living/witness in range(2, src)) + shake_camera(witness, 2, 1) + new /obj/effect/decal/cleanable/blood/gibs/robot_debris(get_turf(src)) return ..() /obj/structure/mecha_wreckage/examine(mob/user)