Merge pull request #7490 from lbnesquik/Kot-mech-854th-tweak

Improves mecha strafing
This commit is contained in:
Atermonera
2020-08-16 19:38:41 -07:00
committed by GitHub
2 changed files with 40 additions and 0 deletions

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.
@@ -1917,6 +1918,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"