From fa4429768642115d0730f1201467f0f0c5747d45 Mon Sep 17 00:00:00 2001
From: Vulpias <37509487+Vulpias@users.noreply.github.com>
Date: Sun, 17 Jun 2018 17:35:41 +0200
Subject: [PATCH] final update.
Added Kona's wishes to the mob
---
.../mob/living/simple_animal/animals/synx.dm | 23 +++++++++++++++++--
code/modules/mob/living/synx_powers.dm | 7 +++---
2 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/code/modules/mob/living/simple_animal/animals/synx.dm b/code/modules/mob/living/simple_animal/animals/synx.dm
index fc91038424..bfe0017771 100644
--- a/code/modules/mob/living/simple_animal/animals/synx.dm
+++ b/code/modules/mob/living/simple_animal/animals/synx.dm
@@ -13,7 +13,7 @@
maxHealth = 150
health = 120
turns_per_move = 3
- speed = -3
+ speed = -2
see_in_dark = 6
stop_when_pulled = 0
armor = list( // will be determined
@@ -58,7 +58,7 @@
/mob/living/simple_animal/neutral/synx/New()
..()
verbs |= /mob/living/proc/ventcrawl
- verbs |= /mob/living/proc/hide
+ verbs |= /mob/living/simple_animal/proc/contort
verbs |= /mob/living/proc/disguise
mob/living/simple_animal/synx/PunchTarget()
@@ -82,3 +82,22 @@ mob/living/simple_animal/synx/PunchTarget()
..()
+/mob/living/simple_animal/proc/contort()
+ set name = "contort"
+ set desc = "Allows to hide beneath tables or certain items. Toggled on or off."
+ set category = "Abilities"
+
+ if(stat == DEAD || paralysis || weakened || stunned || restrained())
+ return
+
+ if(status_flags & HIDING)
+ status_flags &= ~HIDING
+ reset_plane_and_layer()
+ to_chat(src,"You have stopped hiding.")
+ speed = -3
+ else
+ status_flags |= HIDING
+ layer = HIDING_LAYER //Just above cables with their 2.44
+ plane = OBJ_PLANE
+ to_chat(src,"You are now hiding.")
+ speed = 2
\ No newline at end of file
diff --git a/code/modules/mob/living/synx_powers.dm b/code/modules/mob/living/synx_powers.dm
index 6f4269d270..dc3966e3e7 100644
--- a/code/modules/mob/living/synx_powers.dm
+++ b/code/modules/mob/living/synx_powers.dm
@@ -3,18 +3,19 @@ mob/living/proc/disguise()
set desc = "Switch between amorphous and humanoid forms."
set category = "Abilities"
- //Blob form
+ //Transformed form
if(icon_state !="bear")
icon_state="bear"
+ to_chat(src,"you changed back into your disguise.")
if(icon_state== "bear")
to_chat(temporary_form,"You can only do this while not stunned.")
else
to_chat(src,"you failed.")
- //Human form
+ //Normal form form
else if(stat)
to_chat(src,"You can only do this while not stunned.")
return
else
- to_chat(src,"you failed2.")
+ to_chat(src,"now they see your true form.")
icon_state="synx"
\ No newline at end of file