Fixes whetstone runtime

This commit is contained in:
Heroman
2022-09-04 11:27:32 +10:00
parent 62c6b9c50c
commit a07ada635f
@@ -9,7 +9,7 @@
w_class = ITEMSIZE_SMALL
var/repair_amount = 5
var/repair_time = 40
/obj/item/weapon/whetstone/attackby(obj/item/I, mob/user)
if(istype(I, /obj/item/stack/material))
var/obj/item/stack/material/M = I
@@ -43,7 +43,7 @@
. = ..()
. += "There [uses == 1 ? "is" : "are"] [uses] [material] [uses == 1 ? src.material.sheet_singular_name : src.material.sheet_plural_name] left for use."
/obj/item/weapon/material/sharpeningkit/Initialize()
/obj/item/weapon/material/sharpeningkit/New()
. = ..()
setrepair()
@@ -74,4 +74,4 @@
to_chat(user, "There's not enough spare sheets to sharpen [M]. You need [M.w_class*2] [M.material.sheet_plural_name].")
return
else
to_chat(user, "You can't sharpen [W] with [src]!")
to_chat(user, "You can't sharpen [W] with [src]!")