From e4ae2c8021982438f30f20cea475dd09f2be9e24 Mon Sep 17 00:00:00 2001 From: kevinz000 Date: Tue, 29 Aug 2017 09:44:30 -0700 Subject: [PATCH] wew --- code/game/gamemodes/miniantags/morph/morph.dm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/code/game/gamemodes/miniantags/morph/morph.dm b/code/game/gamemodes/miniantags/morph/morph.dm index 0eb0882332..f763f742f7 100644 --- a/code/game/gamemodes/miniantags/morph/morph.dm +++ b/code/game/gamemodes/miniantags/morph/morph.dm @@ -32,7 +32,7 @@ attack_sound = 'sound/effects/blobattack.ogg' butcher_results = list(/obj/item/reagent_containers/food/snacks/meat/slab = 2) - var/morphed = 0 + var/morphed = FALSE var/atom/movable/form = null var/morph_time = 0 var/static/list/blacklist_typecache = typecacheof(list( @@ -93,7 +93,10 @@ ..() /mob/living/simple_animal/hostile/morph/proc/assume(atom/movable/target) - morphed = 1 + if(morphed) + to_chat(src, "You must restore to your original form first!") + return + morphed = TRUE form = target visible_message("[src] suddenly twists and changes shape, becoming a copy of [target]!", \ @@ -117,8 +120,9 @@ /mob/living/simple_animal/hostile/morph/proc/restore() if(!morphed) + to_chat(src, "You're already in your normal form!") return - morphed = 0 + morphed = FALSE form = null alpha = initial(alpha) color = initial(color)