mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Minor code improvements for ectoscopic sniffer (#94456)
## About The Pull Request title ## Changelog 🆑 fix: Fixed smacking ectoscopic sniffer after you unwrenched it. code: Minor code improvements for ectoscopic sniffer. /🆑
This commit is contained in:
@@ -61,15 +61,18 @@
|
||||
tool.play_tool_sound(src, 15)
|
||||
set_anchored(!anchored)
|
||||
balloon_alert(user, "sniffer [anchored ? "anchored" : "unanchored"]")
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
/obj/machinery/ecto_sniffer/screwdriver_act(mob/living/user, obj/item/screwdrivertool)
|
||||
if(default_deconstruction_screwdriver(user, "ecto_sniffer_open", "ecto_sniffer", screwdrivertool))
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
/obj/machinery/ecto_sniffer/screwdriver_act(mob/living/user, obj/item/I)
|
||||
. = ..()
|
||||
if(!.)
|
||||
return default_deconstruction_screwdriver(user, "ecto_sniffer_open", "ecto_sniffer", I)
|
||||
|
||||
/obj/machinery/ecto_sniffer/crowbar_act(mob/living/user, obj/item/tool)
|
||||
if(!default_deconstruction_crowbar(tool))
|
||||
return ..()
|
||||
if(default_deconstruction_crowbar(tool))
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
/obj/machinery/ecto_sniffer/Destroy()
|
||||
ectoplasmic_residues = null
|
||||
|
||||
Reference in New Issue
Block a user