mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Permit impact drills to work in IPC surgery and some minor tool fixes (#22840)
This permits the impact drills to work for surgeries where a screwdriver would work. For the regular uses that would be opening the hatches on prosthetic limbs and prosthetic organ repairs. This was done as machinists, who primarily do those surgeries, usually print an impact drill for themself anyway so it was an annoyance to have a screwdriver just for that one thing in their entire workshop. While at it, I also changed a few hardcoded tool checks elsewhere to not be as hardcoded.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
sound_player = /datum/sound_player/synthesizer
|
||||
|
||||
/obj/structure/synthesized_instrument/synthesizer/attackby(obj/item/attacking_item, mob/user, params)
|
||||
if (istype(attacking_item, /obj/item/wrench))
|
||||
if (attacking_item.tool_behaviour == TOOL_WRENCH)
|
||||
if (!anchored && !isinspace())
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
to_chat(usr, SPAN_NOTICE(" You begin to tighten \the [src] to the floor..."))
|
||||
|
||||
Reference in New Issue
Block a user