From 129930fb81e86d6c0f842aeb0e16932c39b6c319 Mon Sep 17 00:00:00 2001 From: Kluys Date: Tue, 24 Apr 2018 18:02:47 +0200 Subject: [PATCH 1/2] Cleanbot overslight/upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit with the increase in blood decals the station is almost always a giant mess. 🆑 Kluys Tweak: Cleanbots clean a decal twice as fast (movement speed remains the same) Fix: Cleanblots not cleaning /obj/effect/decal/cleanable/trail_holder (blood trails) /🆑 --- code/modules/mob/living/simple_animal/bot/cleanbot.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/cleanbot.dm b/code/modules/mob/living/simple_animal/bot/cleanbot.dm index a9f3a24466e..9ae82d022f4 100644 --- a/code/modules/mob/living/simple_animal/bot/cleanbot.dm +++ b/code/modules/mob/living/simple_animal/bot/cleanbot.dm @@ -161,13 +161,14 @@ target_types += /obj/effect/decal/cleanable/blood/gibs/ target_types += /obj/effect/decal/cleanable/blood/tracks target_types += /obj/effect/decal/cleanable/dirt + target_types += /obj/effect/decal/cleanable/trail_holder /mob/living/simple_animal/bot/cleanbot/proc/clean(obj/effect/decal/cleanable/target) anchored = 1 icon_state = "cleanbot-c" visible_message("[src] begins to clean up [target]") mode = BOT_CLEANING - spawn(50) + spawn(25) if(mode == BOT_CLEANING) QDEL_NULL(target) anchored = 0 From 71601942953bc64828bae2d186f4eb27ac3ba1fe Mon Sep 17 00:00:00 2001 From: Kluys Date: Tue, 24 Apr 2018 21:21:10 +0200 Subject: [PATCH 2/2] Cleaning speed back to normal This is better done in a general cleaning/blood and dirt reduction update. --- code/modules/mob/living/simple_animal/bot/cleanbot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/cleanbot.dm b/code/modules/mob/living/simple_animal/bot/cleanbot.dm index 9ae82d022f4..905660f108a 100644 --- a/code/modules/mob/living/simple_animal/bot/cleanbot.dm +++ b/code/modules/mob/living/simple_animal/bot/cleanbot.dm @@ -168,7 +168,7 @@ icon_state = "cleanbot-c" visible_message("[src] begins to clean up [target]") mode = BOT_CLEANING - spawn(25) + spawn(50) if(mode == BOT_CLEANING) QDEL_NULL(target) anchored = 0