From 551cde343c370d78dbe2bf9ad451bfe0c20d955b Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 20 Jun 2021 06:06:58 -0300 Subject: [PATCH 1/3] blacklists bots --- hyperstation/code/mobs/mimic.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hyperstation/code/mobs/mimic.dm b/hyperstation/code/mobs/mimic.dm index f3b0fe4e..8ed75fab 100644 --- a/hyperstation/code/mobs/mimic.dm +++ b/hyperstation/code/mobs/mimic.dm @@ -41,7 +41,8 @@ var/playerTfTime var/static/mimic_blacklisted_transform_items = typecacheof(list( /obj/item/projectile, - /obj/item/radio/intercom)) + /obj/item/radio/intercom, + /mob/living/simple_animal/bot)) var/playstyle_string = "You are a mimic, a tricky creature that can take the form of \ almost any item nearby by shift-clicking it. While morphed, you move slowly and do less damage. \ Finally, you can restore yourself to your original form while morphed by shift-clicking yourself. \ From f5713b39a18c8de9a383008bab2d7269df7b8064 Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 20 Jun 2021 06:50:31 -0300 Subject: [PATCH 2/3] whoops. --- hyperstation/code/mobs/mimic.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperstation/code/mobs/mimic.dm b/hyperstation/code/mobs/mimic.dm index 8ed75fab..bcb9982e 100644 --- a/hyperstation/code/mobs/mimic.dm +++ b/hyperstation/code/mobs/mimic.dm @@ -198,8 +198,8 @@ /mob/living/simple_animal/hostile/hs13mimic/proc/restore() //back to normal mimic sprite - medhudupdate() stealthed = FALSE + medhudupdate() name = initial(name) icon = 'hyperstation/icons/mobs/mimic.dmi' icon_state = "mimic" From b52981aab9fd71beede191409179d9e949fd29c2 Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 20 Jun 2021 06:59:25 -0300 Subject: [PATCH 3/3] whoops2 --- hyperstation/code/mobs/mimic.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperstation/code/mobs/mimic.dm b/hyperstation/code/mobs/mimic.dm index bcb9982e..be487906 100644 --- a/hyperstation/code/mobs/mimic.dm +++ b/hyperstation/code/mobs/mimic.dm @@ -90,7 +90,7 @@ if(.) if(stealthed) restore() - if(A.stat != DEAD) + if(A.stat == CONSCIOUS) adjustBruteLoss(-3) //We heal 3 damage /mob/living/simple_animal/hostile/hs13mimic/adjustHealth(amount, updating_health = TRUE, forced = FALSE)