Fixes powertool sprites, fixes unfastening atmospheric devices

This commit is contained in:
atermonera
2022-02-05 14:18:10 -08:00
parent e960a4c18e
commit 61e12c7839
14 changed files with 22 additions and 18 deletions

View File

@@ -73,4 +73,4 @@
if (level==1 && isturf(T) && !T.is_plating())
to_chat(user, "<span class='warning'>You must remove the plating first.</span>")
return TRUE
return default_deconstruction_wrench(user, W)
return default_deconstruction_wrench(W, user)

View File

@@ -163,5 +163,5 @@
/obj/machinery/atmospherics/unary/outlet_injector/attackby(var/obj/item/weapon/W as obj, var/mob/user as mob)
if (!W.get_tool_quality(TOOL_WRENCH))
return ..()
return default_deconstruction_wrench(user, W)
return default_deconstruction_wrench(W, user)

View File

@@ -425,7 +425,7 @@
if (node && node.level==1 && isturf(T) && !T.is_plating())
to_chat(user, "<span class='warning'>You must remove the plating first.</span>")
return TRUE
return default_deconstruction_wrench(user, W)
return default_deconstruction_wrench(W, user)
#undef DEFAULT_PRESSURE_DELTA

View File

@@ -273,7 +273,7 @@
if (node && node.level==1 && isturf(T) && !T.is_plating())
to_chat(user, "<span class='warning'>You must remove the plating first.</span>")
return TRUE
return default_deconstruction_wrench(user, W)
return default_deconstruction_wrench(W, user)
/obj/machinery/atmospherics/unary/vent_scrubber/examine(mob/user)