mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
17 lines
408 B
Plaintext
17 lines
408 B
Plaintext
/obj/mecha/medical/mechturn(direction)
|
|
setDir(direction)
|
|
playsound(src,'sound/mecha/mechmove01.ogg',40,1)
|
|
return 1
|
|
|
|
/obj/mecha/medical/mechstep(direction)
|
|
var/result = step(src,direction)
|
|
if(result)
|
|
playsound(src,'sound/mecha/mechstep.ogg',25,1)
|
|
return result
|
|
|
|
/obj/mecha/medical/mechsteprand()
|
|
var/result = step_rand(src)
|
|
if(result)
|
|
playsound(src,'sound/mecha/mechstep.ogg',25,1)
|
|
return result
|