Adds parent calls to almost all tool_acts (#45582)

* Adds parent calls to almost all tool_acts

* actually compiles
This commit is contained in:
nemvar
2019-08-03 22:25:57 -07:00
committed by Rob Bailey
parent 21cd58ec20
commit e587b970da
73 changed files with 114 additions and 24 deletions
+2 -3
View File
@@ -38,6 +38,7 @@
return TRUE
/obj/structure/plasticflaps/wirecutter_act(mob/living/user, obj/item/W)
. = ..()
if(!anchored)
user.visible_message("<span class='warning'>[user] cuts apart [src].</span>", "<span class='notice'>You start to cut apart [src].</span>", "You hear cutting.")
if(W.use_tool(src, user, 50, volume=100))
@@ -47,9 +48,7 @@
var/obj/item/stack/sheet/plastic/five/P = new(loc)
P.add_fingerprint(user)
qdel(src)
return TRUE
else
return TRUE
return TRUE
/obj/structure/plasticflaps/proc/check_anchored_state(check_anchored)
if(anchored != check_anchored)