From 09a68f2bcfd9eabf842f7b58f5c65615703b4e40 Mon Sep 17 00:00:00 2001
From: SgtHunk <68669754+SgtHunk@users.noreply.github.com>
Date: Mon, 21 Nov 2022 22:30:30 -0300
Subject: [PATCH] Gibbers now have a small chance to be a MEAT GRINDER (#71401)
## About The Pull Request
Title, gibbers have a 5% chance to be a meat grinder, which changes it's
name and description. Also changes mentions of "Gibber" in its code to
[src] for more consistency.
Why It's Good For The Game:
https://user-images.githubusercontent.com/68669754/202934270-bbd907b6-a1b4-4942-a897-a781e0894369.mp4
## Changelog
:cl:
add: A gibber, upon creation, might be a meat grinder. This does nothing
meaningful, but at least one of your finger bones will still be intact.
/:cl:
---
code/modules/food_and_drinks/machinery/gibber.dm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/code/modules/food_and_drinks/machinery/gibber.dm b/code/modules/food_and_drinks/machinery/gibber.dm
index cc8f342d423..4f4685ffd05 100644
--- a/code/modules/food_and_drinks/machinery/gibber.dm
+++ b/code/modules/food_and_drinks/machinery/gibber.dm
@@ -15,6 +15,12 @@
/obj/machinery/gibber/Initialize(mapload)
. = ..()
+ if(prob(5))
+ name = "meat grinder"
+ desc = "Okay, if I... if I chop you up in a meat grinder, and the only thing that comes out, that's left of you, is your eyeball, \
+ you'r- you're PROBABLY DEAD! You're probably going to - not you, I'm just sayin', like, if you- if somebody were to, like, \
+ push you into a meat grinder, and, like, your- one of your finger bones is still intact, they're not gonna pick it up and go, \
+ Well see, yeah it wasn't deadly, it wasn't an instant kill move! You still got, like, this part of your finger left!"
add_overlay("grjam")
/obj/machinery/gibber/RefreshParts()
@@ -34,7 +40,7 @@
. += span_notice("The status display reads: Outputting [meat_produced] meat slab(s) after [gibtime*0.1] seconds of processing.")
for(var/obj/item/stock_parts/manipulator/M in component_parts)
if(M.rating >= 2)
- . += span_notice("Gibber has been upgraded to process inorganic materials.")
+ . += span_notice("[src] has been upgraded to process inorganic materials.")
/obj/machinery/gibber/update_overlays()
. = ..()
@@ -76,7 +82,7 @@
if(user.pulling && isliving(user.pulling))
var/mob/living/L = user.pulling
if(!iscarbon(L))
- to_chat(user, span_warning("This item is not suitable for the gibber!"))
+ to_chat(user, span_warning("This item is not suitable for [src]!"))
return
var/mob/living/carbon/C = L
if(C.buckled ||C.has_buckled_mobs())
@@ -89,13 +95,13 @@
to_chat(user, span_warning("Subject may not have abiotic items on!"))
return
- user.visible_message(span_danger("[user] starts to put [C] into the gibber!"))
+ user.visible_message(span_danger("[user] starts to put [C] into [src]!"))
add_fingerprint(user)
if(do_after(user, gibtime, target = src))
if(C && user.pulling == C && !C.buckled && !C.has_buckled_mobs() && !occupant)
- user.visible_message(span_danger("[user] stuffs [C] into the gibber!"))
+ user.visible_message(span_danger("[user] stuffs [C] into [src]!"))
C.forceMove(src)
set_occupant(C)
update_appearance()