diff --git a/code/game/objects/items/reflex_hammer.dm b/code/game/objects/items/reflex_hammer.dm new file mode 100644 index 00000000000..58241e5c3d5 --- /dev/null +++ b/code/game/objects/items/reflex_hammer.dm @@ -0,0 +1,21 @@ +/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 diff --git a/code/modules/research/designs/autolathe/medsci_designs.dm b/code/modules/research/designs/autolathe/medsci_designs.dm index e0b03384044..7d0318396a3 100644 --- a/code/modules/research/designs/autolathe/medsci_designs.dm +++ b/code/modules/research/designs/autolathe/medsci_designs.dm @@ -11,6 +11,18 @@ ) departmental_flags = DEPARTMENT_BITFLAG_MEDICAL +/datum/design/reflexhammer + name = "Reflex Hammer" + id = "reflex_hammer" + build_type = PROTOLATHE | AWAY_LATHE | AUTOLATHE + materials = list(/datum/material/iron=SMALL_MATERIAL_AMOUNT*0.75, /datum/material/plastic=SMALL_MATERIAL_AMOUNT*0.5) + build_path = /obj/item/reflexhammer + category = list( + RND_CATEGORY_INITIAL, + RND_CATEGORY_TOOLS + RND_SUBCATEGORY_TOOLS_MEDICAL + ) + departmental_flags = DEPARTMENT_BITFLAG_MEDICAL | DEPARTMENT_BITFLAG_SCIENCE + /datum/design/stethoscope name = "Stethoscope" id = "stethoscope" diff --git a/code/modules/research/techweb/nodes/medbay_nodes.dm b/code/modules/research/techweb/nodes/medbay_nodes.dm index 1c079b66762..b590b9997f0 100644 --- a/code/modules/research/techweb/nodes/medbay_nodes.dm +++ b/code/modules/research/techweb/nodes/medbay_nodes.dm @@ -30,6 +30,7 @@ "pillbottle", "xlarge_beaker", "jerrycan", + "reflex_hammer", ) experiments_to_unlock = list( /datum/experiment/autopsy/human, diff --git a/icons/obj/weapons/hammer.dmi b/icons/obj/weapons/hammer.dmi index 2b4e0cc8204..7298e358aaa 100644 Binary files a/icons/obj/weapons/hammer.dmi and b/icons/obj/weapons/hammer.dmi differ diff --git a/tgstation.dme b/tgstation.dme index 0129716f3b6..048cf88da06 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -2640,6 +2640,7 @@ #include "code\game\objects\items\pneumaticCannon.dm" #include "code\game\objects\items\powerfist.dm" #include "code\game\objects\items\puzzle_pieces.dm" +#include "code\game\objects\items\reflex_hammer.dm" #include "code\game\objects\items\religion.dm" #include "code\game\objects\items\rollertable_dock.dm" #include "code\game\objects\items\scrolls.dm"