Small mech tweaks

This commit is contained in:
Aronai Sieyes
2020-03-20 20:00:59 -04:00
parent 55cd990598
commit 7a571f68b0
5 changed files with 75 additions and 35 deletions
+4
View File
@@ -15,6 +15,10 @@
/mob/proc/zMove(direction)
if(eyeobj)
return eyeobj.zMove(direction)
if(istype(loc,/obj/mecha))
var/obj/mecha/mech = loc
return mech.relaymove(src,direction)
if(!can_ztravel())
to_chat(src, "<span class='warning'>You lack means of travel in that direction.</span>")
return