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
View File
@@ -30,6 +30,7 @@
add_overlay("bomb_assembly")
/obj/item/onetankbomb/wrench_act(mob/living/user, obj/item/I)
..()
to_chat(user, "<span class='notice'>You disassemble [src]!</span>")
if(bombassembly)
bombassembly.forceMove(drop_location())
@@ -43,6 +44,7 @@
return TRUE
/obj/item/onetankbomb/welder_act(mob/living/user, obj/item/I)
..()
. = FALSE
if(status)
to_chat(user, "<span class='notice'>[bombtank] already has a pressure hole!</span>")
+1
View File
@@ -14,6 +14,7 @@
return ..()
/obj/item/assembly/shock_kit/wrench_act(mob/living/user, obj/item/I)
..()
to_chat(user, "<span class='notice'>You disassemble [src].</span>")
if(part1)
part1.forceMove(drop_location())
+1
View File
@@ -71,6 +71,7 @@
. = TRUE
/obj/item/assembly/voice/multitool_act(mob/living/user, obj/item/I)
..()
mode %= modes.len
mode++
to_chat(user, "<span class='notice'>You set [src] into [modes[mode]] mode.</span>")