Make item/attackby call ..(), multitool tool quality fix (#8145)

* Make item/attackby call ..(), multitool tool quality fix

* Just don't print item attack messages on attackby
This commit is contained in:
ShadowLarkens
2021-06-20 11:51:14 -09:00
committed by GitHub
parent 02ef007460
commit fd3f581656
3 changed files with 2 additions and 5 deletions
+1
View File
@@ -269,6 +269,7 @@
R.hud_used.update_robot_modules_display()
/obj/item/attackby(obj/item/weapon/W as obj, mob/user as mob)
. = ..()
if(istype(W, /obj/item/weapon/storage))
var/obj/item/weapon/storage/S = W
if(S.use_to_pickup)
@@ -29,6 +29,7 @@
var/obj/machinery/connectable //Used to connect machinery.
var/weakref_wiring //Used to store weak references for integrated circuitry. This is now the Omnitool.
toolspeed = 1
tool_qualities = list(TOOL_MULTITOOL)
/obj/item/device/multitool/attack_self(mob/living/user)
var/choice = alert("What do you want to do with \the [src]?","Multitool Menu", "Switch Mode", "Clear Buffers", "Cancel")