From c8ba0c183f15b6460ea5d9f9d859f0647d345183 Mon Sep 17 00:00:00 2001 From: Ktlwjec0 Date: Sun, 21 Jul 2024 09:14:24 +0100 Subject: [PATCH 1/3] clean doors with soap --- code/game/objects/items/clown_items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/clown_items.dm b/code/game/objects/items/clown_items.dm index 698f28c4c716..300fea3ecbba 100644 --- a/code/game/objects/items/clown_items.dm +++ b/code/game/objects/items/clown_items.dm @@ -132,7 +132,7 @@ return if(istype(target, /obj/machinery/door)) var/obj/machinery/door/door = target - if(door.obj_flags && CMAGGED) + if(door.obj_flags & CMAGGED) user.visible_message("[user] starts to clean the ooze off \the [door.name]'s access panel.", "You start to clean the ooze off \the [door.name]'s access panel.") if(do_after(user, src.cleanspeed, door)) to_chat(span_notice(" You clean the ooze off [src]'s access panel.")) From eeaebd037711e96fb34af76bb7183307c846e5c6 Mon Sep 17 00:00:00 2001 From: Ktlwjec0 Date: Sun, 21 Jul 2024 09:26:16 +0100 Subject: [PATCH 2/3] fix text --- code/game/objects/items/clown_items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/clown_items.dm b/code/game/objects/items/clown_items.dm index 300fea3ecbba..40ab3ab7a53f 100644 --- a/code/game/objects/items/clown_items.dm +++ b/code/game/objects/items/clown_items.dm @@ -135,7 +135,7 @@ if(door.obj_flags & CMAGGED) user.visible_message("[user] starts to clean the ooze off \the [door.name]'s access panel.", "You start to clean the ooze off \the [door.name]'s access panel.") if(do_after(user, src.cleanspeed, door)) - to_chat(span_notice(" You clean the ooze off [src]'s access panel.")) + to_chat(user, span_notice("You clean the ooze off [src]'s access panel.")) door.obj_flags &= ~CMAGGED decreaseUses(user) return From 9d553a1f97aa82f48586daa77650df2b228c6e96 Mon Sep 17 00:00:00 2001 From: Ktlwjec0 Date: Sun, 21 Jul 2024 09:36:35 +0100 Subject: [PATCH 3/3] cmag text fix --- code/game/objects/items/clown_items.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/clown_items.dm b/code/game/objects/items/clown_items.dm index 40ab3ab7a53f..049378dfbe8a 100644 --- a/code/game/objects/items/clown_items.dm +++ b/code/game/objects/items/clown_items.dm @@ -135,7 +135,7 @@ if(door.obj_flags & CMAGGED) user.visible_message("[user] starts to clean the ooze off \the [door.name]'s access panel.", "You start to clean the ooze off \the [door.name]'s access panel.") if(do_after(user, src.cleanspeed, door)) - to_chat(user, span_notice("You clean the ooze off [src]'s access panel.")) + to_chat(user, span_notice("You clean the ooze off \the [door.name]'s access panel.")) door.obj_flags &= ~CMAGGED decreaseUses(user) return