From 1bd4f21c58b095b2e66bacf3db70621628d8fcab Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Wed, 15 Apr 2015 08:31:40 +0200 Subject: [PATCH 1/2] Makes objects without moues opacity not appear via alt-click. Prevents clicking objects you should not be able to click. --- code/modules/mob/mob.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 82e7af84524..f5172cfe968 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -823,6 +823,8 @@ note dizziness decrements automatically in the mob's Life() proc. else statpanel(listed_turf.name, null, listed_turf) for(var/atom/A in listed_turf) + if(!A.mouse_opacity) + continue if(A.invisibility > see_invisible) continue if(is_type_in_list(A, shouldnt_see)) From 3eab61e154b6086fe39cc085fd9100a09dbc14bb Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Thu, 16 Apr 2015 08:20:00 +0200 Subject: [PATCH 2/2] Soap can now clean turfs as well. --- code/game/objects/items/weapons/clown_items.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/weapons/clown_items.dm b/code/game/objects/items/weapons/clown_items.dm index 656197fee07..4536123b86d 100644 --- a/code/game/objects/items/weapons/clown_items.dm +++ b/code/game/objects/items/weapons/clown_items.dm @@ -29,6 +29,10 @@ else if(istype(target,/obj/effect/decal/cleanable)) user << "You scrub \the [target.name] out." del(target) + else if(istype(target,/turf)) + user << "You scrub \the [target.name] clean." + var/turf/T = target + T.clean() else user << "You clean \the [target.name]." target.clean_blood()