From 4cb94fbf5007ce15c751fc872ed12a91e63752bf Mon Sep 17 00:00:00 2001 From: Chinsky Date: Tue, 24 Dec 2013 09:33:00 +0300 Subject: [PATCH 1/2] Small pefomance boost for drying blood. Now using colors instead of icon procs. --- code/game/objects/effects/decals/Cleanable/humans.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/game/objects/effects/decals/Cleanable/humans.dm b/code/game/objects/effects/decals/Cleanable/humans.dm index 4f472f864ff..63b6385fefa 100644 --- a/code/game/objects/effects/decals/Cleanable/humans.dm +++ b/code/game/objects/effects/decals/Cleanable/humans.dm @@ -59,9 +59,7 @@ /obj/effect/decal/cleanable/blood/proc/dry() name = "dried [src]" desc = "It's dark red and crusty. Someone is not doing their job." - var/icon/I = icon(icon,icon_state) - I.SetIntensity(0.7) - icon = I + color = "#999999" amount = 0 /obj/effect/decal/cleanable/blood/splatter From e3e569593dc3231940c0287b94e50566cbb6268d Mon Sep 17 00:00:00 2001 From: Chinsky Date: Tue, 24 Dec 2013 18:47:06 +0300 Subject: [PATCH 2/2] Fixed dried blood showin up as 'dried the blood' --- code/game/objects/effects/decals/Cleanable/humans.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/effects/decals/Cleanable/humans.dm b/code/game/objects/effects/decals/Cleanable/humans.dm index 63b6385fefa..0187d0a9af8 100644 --- a/code/game/objects/effects/decals/Cleanable/humans.dm +++ b/code/game/objects/effects/decals/Cleanable/humans.dm @@ -57,7 +57,7 @@ amount-- /obj/effect/decal/cleanable/blood/proc/dry() - name = "dried [src]" + name = "dried [src.name]" desc = "It's dark red and crusty. Someone is not doing their job." color = "#999999" amount = 0