Files
Bubberstation/code/game/objects/items/reflex_hammer.dm
throwawayuseless 1de158c137 Kneejerk: The Kneejerkening (#91342)
## About The Pull Request
OH BOY HERE I GO REDUCING MY GBP AGAIN
Adds a reflex hammer, used to test your kneejerk reflex. Makes it
printable from auto, med, and sci lathes, as with other basic medical
tools. It looks like this:

![reflexhammer](https://github.com/user-attachments/assets/5a965e17-9995-4092-ba29-a20e52880170)




(i stopped doing web edits are you happy)
## Why It's Good For The Game
This is a simple and useful way to measure brain health. Usually you'd
need either a rare toy, a null rod, or the one per map gavel. This makes
analog diagnosis easier and more fun!
## Changelog
🆑
add: Reflex Hammer, used to test your kneejerk reflex. Print one now,
from your local lathe!
/🆑

---------

Co-authored-by: ThrowawayUseless <notarealemail@emailservice.fake>
2025-05-25 20:48:22 -04:00

22 lines
941 B
Plaintext

/obj/item/reflexhammer
name = "reflex hammer"
desc = "A small plastic headed hammer, used to test for neurological damage."
icon = 'icons/obj/weapons/hammer.dmi'
icon_state = "reflex_hammer"
icon_angle = -135
force = 1
throwforce = 1
custom_materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.75, /datum/material/plastic=SMALL_MATERIAL_AMOUNT*0.5)
w_class = WEIGHT_CLASS_TINY
attack_verb_continuous = list("tests", "jerks", "bonks", "taps")
attack_verb_simple = list("test", "jerk", "bonk", "tap")
/obj/item/reflexhammer/Initialize(mapload)
. = ..()
AddElement(/datum/element/kneejerk)
/obj/item/reflexhammer/suicide_act(mob/living/user)
user.visible_message(span_suicide("[user] is beating [user.p_them()]self to death with [src]! Unfortunately, it's not a real hammer! It looks like [user.p_theyre()] trying to commit suicide!"))
playsound(loc, 'sound/items/gavel.ogg', 50, TRUE, -1)
return STAMINALOSS | SHAME