From 9fa3bca200401ab0a53a9f44dc3c6691d4153dd1 Mon Sep 17 00:00:00 2001 From: Archie Date: Mon, 14 Jun 2021 01:13:35 -0300 Subject: [PATCH] Microopt for mimics --- hyperstation/code/mobs/mimic.dm | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/hyperstation/code/mobs/mimic.dm b/hyperstation/code/mobs/mimic.dm index 14d40cc2..4740f2ba 100644 --- a/hyperstation/code/mobs/mimic.dm +++ b/hyperstation/code/mobs/mimic.dm @@ -42,9 +42,8 @@ var/static/mimic_blacklisted_transform_items = typecacheof(list( /obj/item/projectile, /obj/item/radio/intercom)) - var/warned - var/playstyle_string = "You are a mimic, a tricky creature that can take the form of \ - almost any items nearby by shift-clicking it. While morphed, you move slowly and do less damage. \ + 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. \ Attacking carbon lifeforms will heal you at the cost of destructuring their DNA." @@ -54,17 +53,15 @@ unstealth = FALSE trytftorandomobject() +/mob/living/simple_animal/hostile/hs13mimic/Login() + . = ..() + SEND_SOUND(src, sound('sound/ambience/antag/ling_aler.ogg')) + to_chat(src, src.playstyle_string) + /mob/living/simple_animal/hostile/hs13mimic/attack_hand(mob/living/carbon/human/M) . = ..() trigger() -/mob/living/simple_animal/hostile/hs13mimic/Life() - . = ..() - if(src.mind && !warned) - SEND_SOUND(src, sound('sound/ambience/antag/ling_aler.ogg')) - to_chat(src, src.playstyle_string) - warned = TRUE - /mob/living/simple_animal/hostile/hs13mimic/AttackingTarget() . = ..() if(iscarbon(target))