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.

<details> 
<summary>Why It's Good For The Game:</summary>
<br>


https://user-images.githubusercontent.com/68669754/202934270-bbd907b6-a1b4-4942-a897-a781e0894369.mp4

</details>

## Changelog

🆑
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.
/🆑
This commit is contained in:
SgtHunk
2022-11-22 01:30:30 +00:00
committed by GitHub
parent 99e341b0dc
commit 09a68f2bcf
@@ -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 <b>[meat_produced]</b> meat slab(s) after <b>[gibtime*0.1]</b> 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()