Restores Derelict's vault doors hacking immunity (#87604)

## About The Pull Request

Title; it was handled by `attackby()` and became deprecated at some
point, something something attack chain
Also gave it feedback because might as well

## Why It's Good For The Game

Fixes #79926

## Changelog

🆑
fix: the Derelict vault doors are once again unhackable
qol: the Derelict vault doors provide chat feedback when you try to hack
them so you can stop poking them with your tools
/🆑
This commit is contained in:
Sealed101
2024-11-01 13:14:11 +01:00
committed by GitHub
parent f12bdcb86e
commit ebf25acd9e
3 changed files with 13 additions and 13 deletions
@@ -162,12 +162,12 @@
use_power = NO_POWER_USE
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
id_tag = "derelictvault"
has_access_panel = FALSE
///Overrides screwdriver attack to prevent all deconstruction and hacking.
/obj/machinery/door/airlock/vault/derelict/attackby(obj/item/C, mob/user, params)
if(C.tool_behaviour == TOOL_SCREWDRIVER)
return
..()
///Overrides screwdriver act to prevent all deconstruction and hacking. Override for extra tuff fluff
/obj/machinery/door/airlock/vault/derelict/screwdriver_act(mob/living/user, obj/item/tool)
to_chat(user, span_danger("The robust make of [src] makes it impossible to access the panel in any way!"))
return ITEM_INTERACT_SUCCESS
/obj/structure/fluff/oldturret
name = "broken turret"