From 99fa0e3c6843c92a0e50f1605cd953d4a5297ebe Mon Sep 17 00:00:00 2001 From: Vulpias <37509487+Vulpias@users.noreply.github.com> Date: Sun, 17 Jun 2018 13:13:40 +0200 Subject: [PATCH] Add files via upload --- code/modules/mob/living/synx_powers.dm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 code/modules/mob/living/synx_powers.dm diff --git a/code/modules/mob/living/synx_powers.dm b/code/modules/mob/living/synx_powers.dm new file mode 100644 index 0000000000..6f4269d270 --- /dev/null +++ b/code/modules/mob/living/synx_powers.dm @@ -0,0 +1,20 @@ +mob/living/proc/disguise() + set name = "Toggle Form" + set desc = "Switch between amorphous and humanoid forms." + set category = "Abilities" + + //Blob form + if(icon_state !="bear") + icon_state="bear" + if(icon_state== "bear") + to_chat(temporary_form,"You can only do this while not stunned.") + else + to_chat(src,"you failed.") + + //Human form + else if(stat) + to_chat(src,"You can only do this while not stunned.") + return + else + to_chat(src,"you failed2.") + icon_state="synx" \ No newline at end of file