Merge pull request #8714 from VOREStation/upstream-merge-7490

[MIRROR] Improves mecha strafing
This commit is contained in:
Novacat
2020-08-17 00:03:39 -04:00
committed by GitHub
2 changed files with 40 additions and 0 deletions
+4
View File
@@ -20,6 +20,7 @@
/obj/mecha
name = "Mecha"
desc = "Exosuit"
description_info = "Alt click to strafe."
icon = 'icons/mecha/mecha.dmi'
density = 1 //Dense. To raise the heat.
opacity = 1 ///opaque. Menacing.
@@ -1916,6 +1917,9 @@
else//Everyone else gets the normal noise
who << sound('sound/mecha/nominal.ogg',volume=50)
/obj/mecha/AltClick(mob/living/user)
if(user == occupant)
strafing()
/obj/mecha/verb/view_stats()
set name = "View Stats"