From 60d5093cd10f7ce74adbde9564a1d556053ccf47 Mon Sep 17 00:00:00 2001 From: TheDratutiHyDa <118916774+TheDratutiHyDa@users.noreply.github.com> Date: Fri, 10 Jan 2025 20:06:30 +0300 Subject: [PATCH] Update clown_items.dm --- .../game/objects/items/weapons/clown_items.dm | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/code/game/objects/items/weapons/clown_items.dm b/code/game/objects/items/weapons/clown_items.dm index e4dbab30f0d..be21a1f18ee 100644 --- a/code/game/objects/items/weapons/clown_items.dm +++ b/code/game/objects/items/weapons/clown_items.dm @@ -92,19 +92,23 @@ target.clean_blood() return -/obj/item/weapon/reagent_containers/food/snacks/soap/syndie/afterattack(atom/target, mob/user, proximity, params) - if(!proximity || ishuman(target)) return - if(user.client && (target in user.client.screen)) - to_chat(user, "You need to take that [target.name] off before cleaning it.") - else if(istype(target,/obj/effect/decal/cleanable)) - to_chat(user, "You scrub \the [target.name] out.") - if(target.fingerprints) - target.fingerprints = null - if(target.suit_fibers) - target.suit_fibers = null - target.clean_blood() - to_chat(user, "You FULLY clean \the [target.name].") - return +obj/item/weapon/reagent_containers/food/snacks/soap/afterattack(atom/target, mob/user, proximity, params) + if(!proximity || ishuman(target)) return + if(user.client && (target in user.client.screen)) + to_chat(user, "You need to take that [target.name] off before cleaning it.") + else if(istype(target,/obj/effect/decal/cleanable)) + to_chat(user, "You scrub \the [target.name] out.") + qdel(target) + else + if(target.fingerprints) + target.fingerprints = null + if(target.suit_fibers) + target.suit_fibers = null + target.clean_blood() + to_chat(user, "You FULLY clean \the [target.name].") + target.desc += "\nБлестит как никогда раньше..." + return + /obj/item/weapon/reagent_containers/food/snacks/soap/attack(mob/target, mob/user, def_zone) if(user.a_intent == INTENT_HARM)