diff --git a/code/datums/elements/rust.dm b/code/datums/elements/rust.dm index 928c7f2f60be1..d53a43a99e628 100644 --- a/code/datums/elements/rust.dm +++ b/code/datums/elements/rust.dm @@ -58,6 +58,10 @@ user.balloon_alert(user, "You start scraping off the rust...") if(!do_after(user, 2 SECONDS * item.toolspeed, target = source)) return - user.balloon_alert(user, "Sucessfully scraped off the rust!") + if(istype(item, /obj/item/wirebrush/advanced)) + var/obj/item/wirebrush/advanced/brush = item + brush.irradiate(user) + else + user.balloon_alert(user, "Sucessfully scraped off the rust!") Detach(source) return diff --git a/code/game/objects/items/tools/wirebrush.dm b/code/game/objects/items/tools/wirebrush.dm index 003723beb9a0f..9b05d50cbb5bd 100644 --- a/code/game/objects/items/tools/wirebrush.dm +++ b/code/game/objects/items/tools/wirebrush.dm @@ -39,9 +39,7 @@ . = ..() . += "There is a warning label that indicates extended use of [src] may result in loss of hair, yellowing skin, and death." -/obj/item/wirebrush/advanced/pre_attack(atom/A, mob/living/user) - . = ..() - +/obj/item/wirebrush/advanced/proc/irradiate(mob/living/user) if(!istype(user)) return